diff options
author | Philipe Mulet | 2001-08-08 19:25:17 +0000 |
---|---|---|
committer | Philipe Mulet | 2001-08-08 19:25:17 +0000 |
commit | 6859f3f4d7f8e1180fc6621cbe10bc477497e652 (patch) | |
tree | c4754e00a8468865693bb4b59b868d2ac6acebf6 | |
parent | a3aa7d6a20313fec5f40ade15850401f2659cfd4 (diff) | |
download | eclipse.jdt.core-6859f3f4d7f8e1180fc6621cbe10bc477497e652.tar.gz eclipse.jdt.core-6859f3f4d7f8e1180fc6621cbe10bc477497e652.tar.xz eclipse.jdt.core-6859f3f4d7f8e1180fc6621cbe10bc477497e652.zip |
129_04_synchronize_with_streamv_0_129_05_(2_0_stream)
-rw-r--r-- | org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ConfigurableOption.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ConfigurableOption.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ConfigurableOption.java index 201235d941..d1f9713ec6 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ConfigurableOption.java +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ConfigurableOption.java @@ -481,8 +481,9 @@ public class ConfigurableOption { order = Integer.parseInt(bundle.getString(bundleKey));
String id = bundleKey.substring(0,bundleKey.lastIndexOf('.'));
- if(partialResult.length <= order)
- System.arraycopy(partialResult,0,partialResult = new String[order+1],0,partialResult.length);
+ int length = partialResult.length;
+ if(length <= order)
+ System.arraycopy(partialResult,0,partialResult = new String[order+1],0,length);
partialResult[order]= id;
resultCount++;
} catch (NumberFormatException e) {
|