Update from aspirin

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6689 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Charlie Groves
2011-08-01 23:42:08 +00:00
parent 791dc95ea3
commit 69e6cc4ae3
@@ -383,8 +383,7 @@ public class ImportSet
*/ */
protected static Pattern makePattern (String input) protected static Pattern makePattern (String input)
{ {
StringBuilder pattern = new StringBuilder(); StringBuilder pattern = new StringBuilder('^');
pattern.append("^");
while (true) { while (true) {
String[] parts = _splitter.split(input, 2); String[] parts = _splitter.split(input, 2);
@@ -425,28 +424,63 @@ public class ImportSet
protected static Pattern _splitter = Pattern.compile("\\*"); protected static Pattern _splitter = Pattern.compile("\\*");
protected static String OOO = "com.threerings.";
protected static List<String> IMPORT_GROUPS = Lists.newArrayList( protected static List<String> IMPORT_GROUPS = Lists.newArrayList(
"flash.", "flash",
"fl.", "fl",
"java", "java",
"javax",
"android",
"", "",
OOO, "com.samskivert",
OOO + "io.", "com.samskivert.swing",
OOO + "util.", "com.samskivert.servlet",
OOO + "presents.", "com.samskivert.velocity",
OOO + "tudey.", "com.samskivert.jdbc",
OOO + "orth.",
OOO + "riposte.", "com.samskivert.depot",
OOO + "riposte.",
OOO + "samsara.", "com.threerings.io",// Narya
OOO + "flashbang.", "com.threerings.no",
OOO + "downtown.", "com.threerings.util",
OOO + "biteme.", "com.threerings.presents",
OOO + "who.", "com.threerings.crowd",
OOO + "blueharvest.", "com.threerings.admin",
OOO + "piracy.", "com.threerings.bureau",
OOO + "ppa.",
OOO + "yohoho.", "com.threering.tudey",
OOO + "projectx.");
"com.threerings.display",// Aspirin
"com.threerings.geom",
"com.threerings.media",
"com.threerings.text",
"com.threerings.ui",
"com.threerings.flashbang",
"com.threerings.samsara",
"com.threerings.cast", // Nenya
"com.threerings.resource",
"com.threerings.miso",
"com.threerings.jme",
"com.threerings.openal",
"com.threerings.tools",
"com.threerings.lembas",
"com.threerings.parlor", // Vilya
"com.threerings.puzzle",
"com.threerings.whirled",
"com.threerings.micasa",
"com.threerings.stage",
"com.threerings.stats",
"com.threerings.orth",
"com.threerings",
"com.threerings.piracy",
"com.threerings.ppa",
"com.threerings.yohoho",
"com.threerings.who",
"com.threerings.projectx");
} }