javadoc fixes part 6 (ticket #1894)

This commit is contained in:
zzz
2017-01-26 21:45:47 +00:00
parent eefb36cb99
commit d196047382
9 changed files with 13 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ import net.i2p.util.SystemVersion;
* Following is sample usage:
* <pre>
private static final SDSCache<Foo> _cache = new SDSCache(Foo.class, LENGTH, 1024);
private static final SDSCache&lt;Foo&gt; _cache = new SDSCache(Foo.class, LENGTH, 1024);
public static Foo create(byte[] data) {
return _cache.get(data);
@@ -113,7 +113,7 @@ public class SDSCache<V extends SimpleDataStructure> {
* @return the cached value if available, otherwise
* makes a new object and returns it
* @throws IllegalArgumentException if data is not the correct number of bytes
* @throws NPE
* @throws NullPointerException
*/
public V get(byte[] data) {
if (data == null)

View File

@@ -28,7 +28,7 @@ public abstract class I2CPMessageImpl extends DataStructureImpl implements I2CPM
}
/**
* Validate the type and size of the message, and then read the message into the data structures. <p />
* Validate the type and size of the message, and then read the message into the data structures. <p>
*
* @throws IOException
*/