ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r992640 - in /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse: CachedIvy.java ui/editors/xml/ColorManager.java
Date Sat, 04 Sep 2010 16:48:52 GMT
Author: hibou
Date: Sat Sep  4 16:48:52 2010
New Revision: 992640

URL: http://svn.apache.org/viewvc?rev=992640&view=rev
Log:
Continue to fix some checkstyle errors

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/ColorManager.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java?rev=992640&r1=992639&r2=992640&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java
Sat Sep  4 16:48:52 2010
@@ -145,7 +145,8 @@ public abstract class CachedIvy {
                 } catch (IOException e) {
                     ivy = null;
                     throw new IvyDEException("Read error of the default Ivy settings",
-                            "The default Ivy settings file could not be read: " + e.getMessage(),
e);
+                            "The default Ivy settings file could not be read: " 
+                            + e.getMessage(), e);
                 }
             }
             return ivy;
@@ -363,7 +364,8 @@ public abstract class CachedIvy {
             return md;
         } catch (MalformedURLException e) {
             throw new IvyDEException("Incorrect URL of the Ivy file",
-                    "The URL to the ivy.xml file is incorrect: '" + file.getAbsolutePath()
+ "'", e);
+                    "The URL to the ivy.xml file is incorrect: '"
+                    + file.getAbsolutePath() + "'", e);
         } catch (ParseException e) {
             throw new IvyDEException("Parsing error of the Ivy file", "The ivy file '"
                     + file.getAbsolutePath() + "' could not be parsed: " + e.getMessage(),
e);

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/ColorManager.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/ColorManager.java?rev=992640&r1=992639&r2=992640&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/ColorManager.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/ColorManager.java
Sat Sep  4 16:48:52 2010
@@ -30,9 +30,9 @@ import org.eclipse.swt.widgets.Display;
 
 public class ColorManager {
 
-    protected Map fKeyTable = new HashMap();
+    private Map fKeyTable = new HashMap();
 
-    protected Map fDisplayTable = new HashMap();
+    private Map fDisplayTable = new HashMap();
 
     public void dispose(Display display) {
         Map colorTable = (Map) fDisplayTable.get(display);
@@ -55,7 +55,7 @@ public class ColorManager {
         final Display display = Display.getCurrent();
         Map colorTable = (Map) fDisplayTable.get(display);
         if (colorTable == null) {
-            colorTable = new HashMap(10);
+            colorTable = new HashMap();
             fDisplayTable.put(display, colorTable);
             display.disposeExec(new Runnable() {
                 public void run() {



Mime
View raw message