Skip to content

Commit 1a43dfd

Browse files
committed
PhET added to net.sf.j2s.core.test
1 parent 90c47b5 commit 1a43dfd

1,029 files changed

Lines changed: 90379 additions & 351 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sources/net.sf.j2s.core/src/net/sf/j2s/core/adapters/TypeAdapter.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -228,22 +228,22 @@ public static String assureQualifiedName(String thisPackageName, String name) {
228228
if (name.equals(thisPackageName))
229229
return "P$";
230230
}
231-
String[] keywords = FieldAdapter.keywords;
232231
String[] packages = null;
233232
boolean existedKeyword = false;
234-
for (int i = 0; i < keywords.length; i++) {
235-
if (name.indexOf(keywords[i]) >= 0) {
236-
if (packages == null) {
237-
packages = name.split("\\.");
238-
}
239-
for (int j = 0; j < packages.length; j++) {
240-
if (keywords[i].equals(packages[j])) {
241-
packages[j] = "[\"" + packages[j] + "\"]";
242-
existedKeyword = true;
243-
}
244-
}
245-
}
246-
}
233+
// String[] keywords = FieldAdapter.keywords;
234+
// for (int i = 0; i < keywords.length; i++) {
235+
// if (name.indexOf(keywords[i]) >= 0) {
236+
// if (packages == null) {
237+
// packages = name.split("\\.");
238+
// }
239+
// for (int j = 0; j < packages.length; j++) {
240+
// if (keywords[i].equals(packages[j])) {
241+
// packages[j] = "[\"" + packages[j] + "\"]";
242+
// existedKeyword = true;
243+
// }
244+
// }
245+
// }
246+
// }
247247
if (existedKeyword) {
248248
StringBuffer sb = new StringBuffer();
249249
for (int i = 0; i < packages.length; i++) {
8.8 MB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package edu.colorado.phet.assets;
2+
class Assets {
3+
// placeholder for ensuring non-java resources get copied
4+
public static void main(String[] args) {
5+
// dummy class
6+
}
7+
}
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
###################################
2+
# License info for electric-hockey
3+
# Automatically generated on Fri Aug 08 00:08:01 MDT 2008
4+
###################################
5+
6+
cork.wav
7+
tada.WAV
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
phet-credits lead-design=Michael Dubson software-development=Michael Dubson, Sam Reid interviews=Wendy Adams, Danielle Harlow
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#created by edu.colorado.phet.buildtools.util.ProjectPropertiesFile
2+
#Tue Aug 07 20:03:20 MDT 2012
3+
version.revision=66673
4+
version.minor=10
5+
version.timestamp=1344391400
6+
version.dev=00
7+
version.major=1
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
###################################
2+
# License info for electric-hockey
3+
# Automatically generated on Fri Aug 08 00:08:01 MDT 2008
4+
###################################
5+
6+
minusBag.gif author=PhET
7+
minusDisk.gif author=PhET
8+
plusBag.gif author=PhET
9+
plusDisk.gif author=PhET
10+
puckNegative.gif author=PhET
11+
puckPositive.gif author=PhET
1.56 KB
Loading

0 commit comments

Comments
 (0)