Skip to content

Commit dd76b1c

Browse files
committed
asm renamed to accessors-smart
1 parent 81fc3c9 commit dd76b1c

File tree

4 files changed

+30
-15
lines changed

4 files changed

+30
-15
lines changed

asm/pom.xml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<!-- this POM is released under an Apache 2.0 license -->
44
<modelVersion>4.0.0</modelVersion>
55

6-
<artifactId>asm</artifactId>
6+
<artifactId>accessors-smart</artifactId>
77
<packaging>bundle</packaging>
8-
<version>1.0.2</version>
8+
<version>1.0.3</version>
99

1010
<parent>
1111
<groupId>net.minidev</groupId>
@@ -14,22 +14,30 @@
1414
<relativePath>../parent/pom.xml</relativePath>
1515
</parent>
1616

17-
<name>ASM helper Minidev</name>
17+
<name>ASM based accessors helper used by json-smart</name>
1818

19-
<description>
20-
ASM Optimisation Package
21-
</description>
19+
<description>Java reflect give poor performance on getter setter an constructor calls,
20+
21+
accessors-smart use ASM to speed up those calls.
22+
</description>
2223
<dependencies>
2324
<dependency>
2425
<groupId>junit</groupId>
2526
<artifactId>junit</artifactId>
2627
<scope>test</scope>
2728
</dependency>
29+
<dependency>
30+
<groupId>org.ow2.asm</groupId>
31+
<artifactId>asm</artifactId>
32+
<version>5.0.3</version>
33+
</dependency>
34+
<!--
2835
<dependency>
2936
<groupId>asm</groupId>
3037
<artifactId>asm</artifactId>
3138
<version>3.3.1</version>
3239
</dependency>
40+
-->
3341
<!-- <dependency> -->
3442
<!-- <groupId>asm</groupId> -->
3543
<!-- <artifactId>asm-util</artifactId> -->

asm/src/test/java/net/minidev/asm/TestDateConvert.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void fullTestDate(Date expectedDate, Locale locale) throws Exception {
7878
e.printStackTrace();
7979
}
8080
String resultStr = sdf.format(parse);
81-
System.err.println("TEST: " + testDate + " readed as: " + resultStr);
81+
//System.err.println("TEST: " + testDate + " readed as: " + resultStr);
8282
if (testDate.contains("59"))
8383
assertEquals(expectedDateText, resultStr);
8484
}

json-smart/pom.xml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
<modelVersion>4.0.0</modelVersion>
55
<artifactId>json-smart</artifactId>
66
<packaging>bundle</packaging>
7-
<version>2.1.1</version>
8-
7+
<!-- <version>2.1.1</version> -->
98
<parent>
109
<groupId>net.minidev</groupId>
1110
<artifactId>parent</artifactId>
12-
<version>2.1.0</version>
11+
<version>2.1.1</version>
1312
<relativePath>../parent/pom.xml</relativePath>
1413
</parent>
1514

@@ -30,10 +29,12 @@
3029
<artifactId>junit</artifactId>
3130
<scope>test</scope>
3231
</dependency>
32+
3333
<dependency>
3434
<groupId>net.minidev</groupId>
35-
<artifactId>asm</artifactId>
35+
<artifactId>accessors-smart</artifactId>
3636
</dependency>
37+
3738
</dependencies>
3839
<build>
3940
<plugins>
@@ -47,7 +48,13 @@
4748
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
4849
<Bundle-Name>${project.artifactId}</Bundle-Name>
4950
<Bundle-Version>${project.version}</Bundle-Version>
50-
<Export-Package>net.minidev.json,net.minidev.json.annotate,net.minidev.json.parser,net.minidev.json.serialiser,net.minidev.reader,net.minidev.json.writer</Export-Package>
51+
<Export-Package>
52+
net.minidev.json,
53+
net.minidev.json.annotate,
54+
net.minidev.json.parser,
55+
net.minidev.json.reader,
56+
net.minidev.json.writer
57+
</Export-Package>
5158
<!-- Private-Package></Private-Package -->
5259
</instructions>
5360
</configuration>

parent/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>net.minidev</groupId>
55
<artifactId>parent</artifactId>
6-
<version>2.1.0</version>
6+
<version>2.1.1</version>
77
<name>Minidev super pom</name>
88
<description>minidev common properties.</description>
99
<packaging>pom</packaging>
@@ -272,8 +272,8 @@ https://oss.sonatype.org/content/repositories/snapshots
272272
</dependency>
273273
<dependency>
274274
<groupId>net.minidev</groupId>
275-
<artifactId>asm</artifactId>
276-
<version>1.0.2</version>
275+
<artifactId>accessors-smart</artifactId>
276+
<version>1.0.3</version>
277277
</dependency>
278278
<dependency>
279279
<groupId>net.minidev</groupId>

0 commit comments

Comments
 (0)