Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 39 | plugins/org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/JUnitMessages.java |
2 | 2 | 77 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingMessages.java |
| ||||
/** * Gets a string from the resource bundle and formats it with arguments */ public static String getFormattedString(String key, Object[] args) { return MessageFormat.format(getString(key), args); } |
| ||||
/** * Returns the formatted resource string associated with the given key in the resource bundle. * <code>MessageFormat</code> is used to format the message. If there isn't any value * under the given key, the key is returned. * * @param key the resource key * @param args the message arguments * @return the string */ public static String getFormattedString(String key, Object[] args) { return MessageFormat.format(getString(key), args); } |
| |||
/** * Returns the formatted resource string associated with the given key in the resource bundle. * <code>MessageFormat</code> is used to format the message. If there isn't any value * under the given key, the key is returned. * * @param key the resource key * @param args the message arguments * @return the string */ /** * Gets a string from the resource bundle and formats it with arguments */ public static String getFormattedString(String key, Object[] args) { return MessageFormat.format(getString(key), args); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |