A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / spelling / ChangeCaseProposal.java
index d83692d..57fde9b 100644 (file)
@@ -15,7 +15,6 @@ import java.util.Locale;
 
 import net.sourceforge.phpdt.internal.ui.PHPUIMessages;
 import net.sourceforge.phpdt.internal.ui.text.java.IInvocationContext;
 
 /**
  * Proposal to change the letter case of a word.
@@ -28,18 +27,23 @@ public class ChangeCaseProposal extends WordCorrectionProposal {
         * Creates a new change case proposal.
         * 
         * @param arguments
-        *                   The problem arguments associated with the spelling problem
+        *            The problem arguments associated with the spelling problem
         * @param offset
-        *                   The offset in the document where to apply the proposal
+        *            The offset in the document where to apply the proposal
         * @param length
-        *                   The lenght in the document to apply the proposal
+        *            The lenght in the document to apply the proposal
         * @param context
-        *                   The invocation context for this proposal
+        *            The invocation context for this proposal
         * @param locale
-        *                   The locale to use for the case change
+        *            The locale to use for the case change
         */
-       public ChangeCaseProposal(final String[] arguments, final int offset, final int length, final IInvocationContext context, final Locale locale) {
-               super(Character.isLowerCase(arguments[0].charAt(0)) ? Character.toUpperCase(arguments[0].charAt(0)) + arguments[0].substring(1) : arguments[0], arguments, offset, length, context, Integer.MAX_VALUE);
+       public ChangeCaseProposal(final String[] arguments, final int offset,
+                       final int length, final IInvocationContext context,
+                       final Locale locale) {
+               super(Character.isLowerCase(arguments[0].charAt(0)) ? Character
+                               .toUpperCase(arguments[0].charAt(0))
+                               + arguments[0].substring(1) : arguments[0], arguments, offset,
+                               length, context, Integer.MAX_VALUE);
        }
 
        /*