click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From take...@apache.org
Subject svn commit: r795889 - in /incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder: ClickProjectBuilder.java ClickXMLValidator.java
Date Mon, 20 Jul 2009 16:09:55 GMT
Author: takezoe
Date: Mon Jul 20 16:09:55 2009
New Revision: 795889

URL: http://svn.apache.org/viewvc?rev=795889&view=rev
Log:
Fixed warnings.

Modified:
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickProjectBuilder.java
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickXMLValidator.java

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickProjectBuilder.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickProjectBuilder.java?rev=795889&r1=795888&r2=795889&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickProjectBuilder.java
(original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickProjectBuilder.java
Mon Jul 20 16:09:55 2009
@@ -44,6 +44,7 @@
 	
 	private ClickXMLValidator validator = new ClickXMLValidator();
 
+	@SuppressWarnings("unchecked")
 	protected IProject[] build(int kind, Map args, IProgressMonitor monitor) throws CoreException
{
 		if (kind == FULL_BUILD) {
 			fullBuild(monitor);

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickXMLValidator.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickXMLValidator.java?rev=795889&r1=795888&r2=795889&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickXMLValidator.java
(original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/src/org/apache/click/eclipse/core/builder/ClickXMLValidator.java
Mon Jul 20 16:09:55 2009
@@ -225,14 +225,14 @@
 	/**
 	 * Create the warning marker.
 	 */
-	private void createWarningMarker(IFile file, String key, String[] values, 
+	private void createWarningMarker(IFile file, String key, Object[] values, 
 			int start, int length){
 		try {
 			String message = resource.getString(key);
 			message = MessageFormat.format(message, values);
 			
 			IMarker marker = file.createMarker(IMarker.PROBLEM);
-			Map map = new HashMap();
+			Map<String, Object> map = new HashMap<String, Object>();
 			map.put(IMarker.SEVERITY, new Integer(IMarker.SEVERITY_WARNING));
 			map.put(IMarker.MESSAGE, message);
 //			map.put(IMarker.LINE_NUMBER,new Integer(line));



Mime
View raw message