Skip to content

Commit 9181bf2

Browse files
committed
cut 0.9.1
1 parent e22e68b commit 9181bf2

3 files changed

Lines changed: 60 additions & 3 deletions

File tree

pom.xml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,64 @@
8282
<encoding>UTF-8</encoding>
8383
</configuration>
8484
</plugin>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-source-plugin</artifactId>
88+
<version>2.2.1</version>
89+
<executions>
90+
<execution>
91+
<id>attach-sources</id>
92+
<goals>
93+
<goal>jar-no-fork</goal>
94+
</goals>
95+
</execution>
96+
</executions>
97+
</plugin>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-javadoc-plugin</artifactId>
101+
<version>2.9.1</version>
102+
<executions>
103+
<execution>
104+
<id>attach-javadocs</id>
105+
<goals>
106+
<goal>jar</goal>
107+
</goals>
108+
</execution>
109+
</executions>
110+
</plugin>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-gpg-plugin</artifactId>
114+
<version>1.5</version>
115+
<executions>
116+
<execution>
117+
<id>sign-artifacts</id>
118+
<phase>verify</phase>
119+
<goals>
120+
<goal>sign</goal>
121+
</goals>
122+
</execution>
123+
</executions>
124+
</plugin>
125+
<plugin>
126+
<groupId>org.sonatype.plugins</groupId>
127+
<artifactId>nexus-staging-maven-plugin</artifactId>
128+
<version>1.6.7</version>
129+
<extensions>true</extensions>
130+
<configuration>
131+
<serverId>ossrh</serverId>
132+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
133+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
134+
</configuration>
135+
</plugin>
85136
</plugins>
86137
</build>
138+
139+
<distributionManagement>
140+
<snapshotRepository>
141+
<id>ossrh</id>
142+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
143+
</snapshotRepository>
144+
</distributionManagement>
87145
</project>

src/main/java/com/jsoniter/Decoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public interface Decoder {
88
*
99
* @param iter the iterator instance
1010
* @return the value to set
11-
* @throws IOException
11+
* @throws IOException when reading from iterator triggered error
1212
*/
1313
Object decode(Jsoniter iter) throws IOException;
1414

src/main/java/com/jsoniter/TypeLiteral.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ public class TypeLiteral<T> {
1111

1212
/**
1313
* Constructs a new type literal. Derives represented class from type parameter.
14-
* <p>
15-
* <p>Clients create an empty anonymous subclass. Doing so embeds the type parameter in the
14+
* Clients create an empty anonymous subclass. Doing so embeds the type parameter in the
1615
* anonymous class's type hierarchy so we can reconstitute it at runtime despite erasure.
1716
*/
1817
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)