ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r992643 - in /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui: AcceptedSuffixesTypesComposite.java PathEditor.java editors/xml/XMLTagScanner.java preferences/ClasspathPreferencePage.java
Date Sat, 04 Sep 2010 17:08:15 GMT
Author: hibou
Date: Sat Sep  4 17:08:15 2010
New Revision: 992643

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

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/AcceptedSuffixesTypesComposite.java
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/XMLTagScanner.java
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/ClasspathPreferencePage.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/AcceptedSuffixesTypesComposite.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/AcceptedSuffixesTypesComposite.java?rev=992643&r1=992642&r2=992643&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/AcceptedSuffixesTypesComposite.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/AcceptedSuffixesTypesComposite.java
Sat Sep  4 17:08:15 2010
@@ -48,7 +48,7 @@ public class AcceptedSuffixesTypesCompos
             + " to all jar artifact in modules with multiple jar artifacts and only one"
             + " source artifact";    
 
-    public static final String TOOLTIP_MAP_IF_ONLY_ONE_JAVADOC= "Will map the javadoc artifact"
+    public static final String TOOLTIP_MAP_IF_ONLY_ONE_JAVADOC = "Will map the javadoc artifact"
         + " to all jar artifact in modules with multiple jar artifacts and only one"
         + " javadoc artifact";    
 
@@ -109,7 +109,7 @@ public class AcceptedSuffixesTypesCompos
         javadocSuffixesText.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true,
false));
         javadocSuffixesText.setToolTipText(TOOLTIP_JAVADOC_SUFFIXES);
         
-        mapIfOnlyOneSourceCheck= new Button(this, SWT.CHECK);
+        mapIfOnlyOneSourceCheck = new Button(this, SWT.CHECK);
         mapIfOnlyOneSourceCheck.setLayoutData(new GridData(GridData.FILL, GridData.FILL,
true,
                 false, 2, 1));
         mapIfOnlyOneSourceCheck.setText("Auto map jar artifacts with unique source artifact");

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java?rev=992643&r1=992642&r2=992643&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
Sat Sep  4 17:08:15 2010
@@ -118,8 +118,9 @@ public abstract class PathEditor extends
         // Filter closed projects
         dialog.addFilter(new ViewerFilter() {
             public boolean select(Viewer viewer, Object parentElement, Object element) {
-                if (element instanceof IProject)
+                if (element instanceof IProject) {
                     return ((IProject) element).isAccessible();
+                }
 
                 return true;
             }

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/XMLTagScanner.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/XMLTagScanner.java?rev=992643&r1=992642&r2=992643&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/XMLTagScanner.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/editors/xml/XMLTagScanner.java
Sat Sep  4 17:08:15 2010
@@ -25,11 +25,13 @@ import org.eclipse.jface.text.rules.Rule
 import org.eclipse.jface.text.rules.SingleLineRule;
 import org.eclipse.jface.text.rules.Token;
 import org.eclipse.jface.text.rules.WhitespaceRule;
+import org.eclipse.swt.graphics.Color;
 
 public class XMLTagScanner extends RuleBasedScanner {
 
     public XMLTagScanner(ColorManager manager) {
-        IToken string = new Token(new TextAttribute(manager.getColor(PreferenceConstants.EDITOR_COLOR_STRING)));
+        Color color = manager.getColor(PreferenceConstants.EDITOR_COLOR_STRING);
+        IToken string = new Token(new TextAttribute(color));
 
         // CheckStyle:MagicNumber| OFF
         IRule[] rules = new IRule[3];

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/ClasspathPreferencePage.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/ClasspathPreferencePage.java?rev=992643&r1=992642&r2=992643&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/ClasspathPreferencePage.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/preferences/ClasspathPreferencePage.java
Sat Sep  4 17:08:15 2010
@@ -35,7 +35,8 @@ import org.eclipse.ui.IWorkbenchPreferen
 public class ClasspathPreferencePage extends PreferencePage implements IWorkbenchPreferencePage
{
 
     /** the ID of the preference page */
-    public static final String PEREFERENCE_PAGE_ID = "org.apache.ivyde.eclipse.ui.preferences.ClasspathPreferencePage";
+    public static final String PEREFERENCE_PAGE_ID
+        = "org.apache.ivyde.eclipse.ui.preferences.ClasspathPreferencePage";
 
     private Button resolveInWorkspaceCheck;
 



Mime
View raw message