mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-08 19:44:29 +08:00
Moves src folder to simplify build.gradle configuration. If JSON-Java source is merged, it's src fold would now be src/main/java/org.json/ instead of src/main/org.json as well.
This commit is contained in:
18
src/test/java/org/json/junit/StringsResourceBundle.java
Normal file
18
src/test/java/org/json/junit/StringsResourceBundle.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package org.json.junit;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* A resource bundle class
|
||||
*/
|
||||
public class StringsResourceBundle extends ListResourceBundle {
|
||||
public Object[][] getContents() {
|
||||
return contents;
|
||||
}
|
||||
static final Object[][] contents = {
|
||||
{"greetings.hello", "Hello, "},
|
||||
{"greetings.world", "World!"},
|
||||
{"farewells.later", "Later, "},
|
||||
{"farewells.gator", "Alligator!"}
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user