aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes ant pkg won't work for installing I2P Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant pkg won Watch "ant pkg won New topic
Author

ant pkg won't work for installing I2P

Duane Horton Ii
Greenhorn

Joined: Oct 05, 2011
Posts: 8
Hey everyone new guy here. While I am admittedly more interested in learning the Python Programming language at the moment, I have no problems learning things involving Java, especially since Java seems to be more common. Anyway back to my main problem. I'm trying to install I2P and I was told from I2P's website that after downloading a tarball and extracting it I go to the directory where all the I2P stuff is at and then type "ant pkg" into the command line....and when I did I got this error:


Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.apache.tools.ant.launch.Launcher.




So.....suggestions?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

I am guessing you are running Linux. Which distro?

Also, how did you install Ant? It almost looks as if the ant shell script is in your PATH, but Ant itself is not installed (or the ant shell script is not in the $ANT_HOME/bin directory. Run:

which ant

and post the result. Or actually, if the "which ant" result is a soft link to another location (which it will be if it is at /usr/bin/ant), track down the soft links until you get the actual location, and then post that.


JBoss In Action
Duane Horton Ii
Greenhorn

Joined: Oct 05, 2011
Posts: 8
1. I'm running OpenSUSE 11.4

I installed Ant through the GUI package manager.

For "which ant" I got /usr/bin/ant
Duane Horton Ii
Greenhorn

Joined: Oct 05, 2011
Posts: 8
Okay I tried to execute /usr/bin/ant and got this:


Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/lib/tools.jar
Buildfile: build.xml does not exist!
Build failed
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

You ignored this part of my reply:
Or actually, if the "which ant" result is a soft link to another location (which it will be if it is at /usr/bin/ant), track down the soft links until you get the actual location, and then post that.

Go back and track down the soft links! I need to know exactly where Ant go installed.

Personally, I never let the package manager install anything Java related. Instead, I would download the Ant binary from the Apache web site, unpack it (I always place it in /opt), set ANT_HOME to where I unpacked it (example: export ANT_HOME=/opt/apache-ant-1.8.3), and add $ANT_HOME to the front of my PATH. That way I am sure that I get my copy of Ant.
Duane Horton Ii
Greenhorn

Joined: Oct 05, 2011
Posts: 8
....I didn't ignore that part of your reply the thing is I don't know HOW to "go back and track down the soft links"!!!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

Sorry, didn't know your level or Linux expertise. Enter this:

ls -al /usr/bin/ant

The results will tell you where "ant" is redirected. Use that information to repeat the ls command. Repeat until there are no more redirects.

As an example, (I'll use /usr/bin/java since I know that I don't have /usr/bin/ant, but the process is the same):



No more redirects, so now I know that the OpenJDK is installed at /usr/lib/jvm/jre-1.6.0-openjdk

When you do this for ant, when you get to the end, you should have a path like /<some-path>/bin/ant. Look for /<some-path>/lib, it should be filled with a number of JAR files.

But having said all of that, it might be easiest if you followed my steps for manually installing Ant from the Apache web site.
Duane Horton Ii
Greenhorn

Joined: Oct 05, 2011
Posts: 8
Okay I tried that but all I got when I put "ls -al /usr/bin/ant" was

-rwxr-xr-x 1 root root 9737 Jun 27 2008 /usr/bin/ant
Duane Horton Ii
Greenhorn

Joined: Oct 05, 2011
Posts: 8
Okay I went through my package manager and found that I had to update my version of Ant...so I did that and went through the process of trying to install i2p again, which is I had to go into the I2P directory, and type "ant pkg" Now I have a different error.

Here's the error I got:


BUILD FAILED
/home/anarchoguy1994/Downloads/i2p-0.8.8/build.xml:157: The following error occurred while executing this line:
/home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/build.xml:26: Compile failed; see the compiler error output for details.




The only problem is I don't know how to "see the compiler error output for details"
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

Okay I tried that but all I got when I put "ls -al /usr/bin/ant" was

-rwxr-xr-x 1 root root 9737 Jun 27 2008 /usr/bin/ant

That explains a lot. Ant was incorrectly installed and thus the relative paths in the ant script (yes, /usr/bin/ant is just a script) pointed to nowhere.

Regarding the new error, what you posted is the report that prints when Ant exists to say that the build failed. There should be a number of error messages earlier in the output, specifically compiler errors. If there are a lot of them, they might have scrolled out of the terminals buffer (you did scroll back in the terminal to see if they were there, right?). When you find them, either post only the first 2 or 3, or consider attaching the entire console output to your reply. You might have to either redirect the output to a file or increase the terminal buffer size to capture all of it.

P.S. You don't have to quote my entire posts when replying, especially when replying to my latest post. I fixed you last post to remove the quote.
Duane Horton Ii
Greenhorn

Joined: Oct 05, 2011
Posts: 8
Okay I'll post the entire console output. And thanks for fixing my last post.


[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.FileInputStream is never used
[javac] ----------
[javac] 540. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 14)
[javac] import java.io.FileOutputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.FileOutputStream is never used
[javac] ----------
[javac] 541. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 21)
[javac] import java.util.LinkedList;
[javac] ^^^^^^^^^^^^^^^^^^^^
[javac] The import java.util.LinkedList is never used
[javac] ----------
[javac] 542. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 124)
[javac] _records = new LinkedBlockingQueue(MAX_BUFFER);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type LinkedBlockingQueue needs unchecked conversion to conform to LinkedBlockingQueue<LogRecord>
[javac] ----------
[javac] 543. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java
[javac] (at line 124)
[javac] _records = new LinkedBlockingQueue(MAX_BUFFER);
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] LinkedBlockingQueue is a raw type. References to generic type LinkedBlockingQueue<E> should be parameterized
[javac] ----------
[javac] 544. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 125)
[javac] _limits = new ConcurrentHashSet();
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type ConcurrentHashSet needs unchecked conversion to conform to Set<LogLimit>
[javac] ----------
[javac] 545. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java
[javac] (at line 125)
[javac] _limits = new ConcurrentHashSet();
[javac] ^^^^^^^^^^^^^^^^^
[javac] ConcurrentHashSet is a raw type. References to generic type ConcurrentHashSet<E> should be parameterized
[javac] ----------
[javac] 546. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 126)
[javac] _logs = new ConcurrentHashMap(128);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type ConcurrentHashMap needs unchecked conversion to conform to ConcurrentHashMap<Object,Log>
[javac] ----------
[javac] 547. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java
[javac] (at line 126)
[javac] _logs = new ConcurrentHashMap(128);
[javac] ^^^^^^^^^^^^^^^^^
[javac] ConcurrentHashMap is a raw type. References to generic type ConcurrentHashMap<K,V> should be parameterized
[javac] ----------
[javac] 548. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 159)
[javac] public Log getLog(Class cls) { return getLog(cls, null); }
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should be parameterized
[javac] ----------
[javac] 549. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java
[javac] (at line 161)
[javac] public Log getLog(Class cls, String name) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should be parameterized
[javac] ----------
[javac] 550. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 179)
[javac] return new ArrayList(_logs.values());
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
[javac] ----------
[javac] 551. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 179)
[javac] return new ArrayList(_logs.values());
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type ArrayList needs unchecked conversion to conform to List<Log>
[javac] ----------
[javac] 552. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java
[javac] (at line 179)
[javac] return new ArrayList(_logs.values());
[javac] ^^^^^^^^^
[javac] ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[javac] ----------
[javac] 553. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 325)
[javac] String str = config.getProperty(PROP_ROTATIONLIMIT);
[javac] ^^^
[javac] The local variable str is never read
[javac] ----------
[javac] 554. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 361)
[javac] for (Iterator iter = config.keySet().iterator(); iter.hasNext();) {
[javac] ^^^^^^^^
[javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[javac] ----------
[javac] 555. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java
[javac] (at line 500)
[javac] LogLimit notMax = null;
[javac] ^^^^^^
[javac] The local variable notMax is never read
[javac] ----------
[javac] 556. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java
[javac] (at line 528)
[javac] limits = new ArrayList(4);
[javac] ^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type ArrayList needs unchecked conversion to conform to ArrayList<LogLimit>
[javac] ----------
[javac] 557. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogManager.java (at line 528)
[javac] limits = new ArrayList(4);
[javac] ^^^^^^^^^
[javac] ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[javac] ----------
[javac] ----------
[javac] 558. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogRecord.java
[javac] (at line 18)
[javac] private Class _source;
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should be parameterized
[javac] ----------
[javac] 559. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogRecord.java
[javac] (at line 25)
[javac] public LogRecord(Class src, String name, String threadName, int priority, String msg, Throwable t) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should be parameterized
[javac] ----------
[javac] 560. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogRecord.java (at line 39)
[javac] public Class getSource() {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 561. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogWriter.java (at line 15)
[javac] import java.io.OutputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.OutputStream is never used
[javac] ----------
[javac] 562. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LogWriter.java (at line 35)
[javac] private String _logFilenamePattern;
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] The field LogWriter._logFilenamePattern is never read locally
[javac] ----------
[javac] ----------
[javac] 563. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/LookaheadInputStream.java (at line 38)
[javac] boolean f = true;
[javac] ^
[javac] The local variable f is never read
[javac] ----------
[javac] ----------
[javac] 564. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/NativeBigInteger.java (at line 92)
[javac] public class NativeBigInteger extends BigInteger {
[javac] ^^^^^^^^^^^^^^^^
[javac] The serializable class NativeBigInteger does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] 565. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/NativeBigInteger
[javac] .java (at line 158)
[javac] private static final boolean _isLinux = System.getProperty("os.name").toLowerCase().contains("linux");
[javac] ^^^^^^^^
[javac] The field NativeBigInteger._isLinux is never read locally
[javac] ----------
[javac] 566. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/NativeBigInteger.java (at line 527)
[javac] private static final boolean loadGeneric(boolean optimized) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method loadGeneric(boolean) from the type NativeBigInteger is never used locally
[javac] ----------
[javac] 567. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/NativeBigInteger
[javac] .java (at line 568)
[javac] private static final boolean loadFromResource(boolean optimized) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method loadFromResource(boolean) from the type NativeBigInteger is never used locally
[javac] ----------
[javac] 568. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/NativeBigInteger.java (at line 628)
[javac] return Collections.EMPTY_LIST;
[javac] ^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type List needs unchecked conversion to conform to List<String>
[javac] ----------
[javac] 569. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/NativeBigInteger
[javac] .java (at line 629)
[javac] List<String> rv = new ArrayList(8);
[javac] ^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type ArrayList needs unchecked conversion to conform to List<String>
[javac] ----------
[javac] 570. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/NativeBigInteger.java (at line 629)
[javac] List<String> rv = new ArrayList(8);
[javac] ^^^^^^^^^
[javac] ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[javac] ----------
[javac] ----------
[javac] 571. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedPropertie
[javac] s.java (at line 31)
[javac] public class OrderedProperties extends Properties {
[javac] ^^^^^^^^^^^^^^^^^
[javac] The serializable class OrderedProperties does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] 572. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 38)
[javac] public Set keySet() {
[javac] ^^^
[javac] Set is a raw type. References to generic type Set<E> should be parameterized
[javac] ----------
[javac] 573. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 38)
[javac] public Set keySet() {
[javac] ^^^
[javac] Type safety: The return type Set for keySet() from the type OrderedProperties needs unchecked conversion to conform to Set<K> from the type Hashtable<K,V>
[javac] ----------
[javac] 574. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 39)
[javac] return Collections.unmodifiableSortedSet(new TreeSet(super.keySet()));
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: Unchecked invocation unmodifiableSortedSet(TreeSet) of the generic method unmodifiableSortedSet(SortedSet<T>) of type Collections
[javac] ----------
[javac] 575. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 39)
[javac] return Collections.unmodifiableSortedSet(new TreeSet(super.keySet()));
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The constructor TreeSet(Collection) belongs to the raw type TreeSet. References to generic type TreeSet<T> should be parameterized
[javac] ----------
[javac] 576. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 39)
[javac] return Collections.unmodifiableSortedSet(new TreeSet(super.keySet()));
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type TreeSet needs unchecked conversion to conform to SortedSet<Object>
[javac] ----------
[javac] 577. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 39)
[javac] return Collections.unmodifiableSortedSet(new TreeSet(super.keySet()));
[javac] ^^^^^^^
[javac] TreeSet is a raw type. References to generic type TreeSet<T> should be parameterized
[javac] ----------
[javac] 578. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedPropertie
[javac] s.java (at line 44)
[javac] TreeSet<Map.Entry<Object, Object>> rv = new TreeSet(new EntryComparator());
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The constructor TreeSet(Comparator) belongs to the raw type TreeSet. References to generic type TreeSet<T> should be parameterized
[javac] ----------
[javac] 579. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 44)
[javac] TreeSet<Map.Entry<Object, Object>> rv = new TreeSet(new EntryComparator());
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type TreeSet needs unchecked conversion to conform to TreeSet<Map.Entry<Object,Object>>
[javac] ----------
[javac] 580. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 44)
[javac] TreeSet<Map.Entry<Object, Object>> rv = new TreeSet(new EntryComparator());
[javac] ^^^^^^^
[javac]
[javac] TreeSet is a raw type. References to generic type TreeSet<T> should be parameterized
[javac] ----------
[javac] 581. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedPropertie
[javac] s.java (at line 49)
[javac] private static class EntryComparator implements Comparator<Map.Entry> {
[javac] ^^^^^^^^^
[javac] Map.Entry is a raw type. References to generic type Map<K,V>.Entry<K,V> should be parameterized
[javac] ----------
[javac] 582. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedPropertie
[javac] s.java (at line 50)
[javac] public int compare(Map.Entry l, Map.Entry r) {
[javac] ^^^^^^^^^
[javac] Map.Entry is a raw type. References to generic type Map<K,V>.Entry<K,V> should be parameterized
[javac] ----------
[javac] 583. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/OrderedProperties.java (at line 50)
[javac] public int compare(Map.Entry l, Map.Entry r) {
[javac] ^^^^^^^^^
[javac] Map.Entry is a raw type. References to generic type Map<K,V>.Entry<K,V> should be parameterized
[javac] ----------
[javac] ----------
[javac] 584. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/PooledRandomSour
[javac] ce.java (at line 22)
[javac] public class PooledRandomSource extends RandomSource {
[javac] ^^^^^^^^^^^^^^^^^^
[javac] The serializable class PooledRandomSource does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] 585. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/PooledRandomSource.java (at line 23)
[javac] private Log _log;
[javac] ^^^^
[javac] The field PooledRandomSource._log is never read locally
[javac] ----------
[javac] ----------
[javac] 586. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/RandomSource.java (at line 27)
[javac] public class RandomSource extends SecureRandom implements EntropyHarvester {
[javac] ^^^^^^^^^^^^
[javac] The serializable class RandomSource does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] 587. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/RandomSource.jav
[javac] a (at line 197)
[javac] Class c = rs.getClass();
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 588. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ResettableGZIPInputStream.java (at line 3)
[javac] import java.io.ByteArrayInputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.ByteArrayInputStream is never used
[javac] ----------
[javac] 589. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ResettableGZIPIn
[javac] putStream.java (at line 21)
[javac] private static final boolean DEBUG = false;
[javac] ^^^^^
[javac] The field ResettableGZIPInputStream.DEBUG is never read locally
[javac] ----------
[javac] ----------
[javac] 590. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ResettableGZIPOutputStream.java (at line 3)
[javac] import java.io.ByteArrayInputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.ByteArrayInputStream is never used
[javac] ----------
[javac] 591. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ResettableGZIPOu
[javac] tputStream.java (at line 4)
[javac] import java.io.ByteArrayOutputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.ByteArrayOutputStream is never used
[javac] ----------
[javac] 592. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ResettableGZIPOutputStream.java (at line 10)
[javac] import java.util.zip.GZIPInputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.util.zip.GZIPInputStream is never used
[javac] ----------
[javac] 593. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ResettableGZIPOu
[javac] tputStream.java (at line 11)
[javac] import java.util.zip.GZIPOutputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.util.zip.GZIPOutputStream is never used
[javac] ----------
[javac] 594. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ResettableGZIPOutputStream.java (at line 13)
[javac] import net.i2p.data.DataHelper;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.i2p.data.DataHelper is never used
[javac] ----------
[javac] ----------
[javac] 595. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPInputStream.java (at line 3)
[javac] import java.io.ByteArrayInputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.ByteArrayInputStream is never used
[javac] ----------
[javac] 596. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPInpu
[javac] tStream.java (at line 4)
[javac] import java.io.ByteArrayOutputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.ByteArrayOutputStream is never used
[javac] ----------
[javac] 597. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPInputStream.java (at line 5)
[javac] import java.io.IOException;
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.IOException is never used
[javac] ----------
[javac] 598. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPInputStream.java (at line 6)
[javac] import java.util.zip.GZIPOutputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.util.zip.GZIPOutputStream is never used
[javac] ----------
[javac] 599. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPInpu
[javac] tStream.java (at line 9)
[javac] import net.i2p.data.DataHelper;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.i2p.data.DataHelper is never used
[javac] ----------
[javac] 600. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPInputStream.java (at line 24)
[javac] _available = new LinkedBlockingQueue(8);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type LinkedBlockingQueue needs unchecked conversion to conform to LinkedBlockingQueue<ReusableGZIPInputStream>
[javac] ----------
[javac] 601. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPInputStream.java (at line 24)
[javac] _available = new LinkedBlockingQueue(8);
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] LinkedBlockingQueue is a raw type. References to generic type LinkedBlockingQueue<E> should be parameterized
[javac] ----------
[javac] ----------
[javac] 602. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPOutp
[javac] utStream.java (at line 3)
[javac] import java.io.ByteArrayInputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.ByteArrayInputStream is never used
[javac] ----------
[javac] 603. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPOutputStream.java (at line 6)
[javac] import java.util.zip.GZIPInputStream;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.util.zip.GZIPInputStream is never used
[javac] ----------
[javac] 604. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPOutp
[javac] utStream.java (at line 9)
[javac] import net.i2p.data.DataHelper;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.i2p.data.DataHelper is never used
[javac] ----------
[javac] 605. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPOutputStream.java (at line 24)
[javac] _available = new LinkedBlockingQueue(16);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type LinkedBlockingQueue needs unchecked conversion to conform to LinkedBlockingQueue<ReusableGZIPOutputStream>
[javac] ----------
[javac] 606. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ReusableGZIPOutputStream.java (at line 24)
[javac] _available = new LinkedBlockingQueue(16);
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] LinkedBlockingQueue is a raw type. References to generic type LinkedBlockingQueue<E> should be parameterized
[javac] ----------
[javac] ----------
[javac] 607. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SSLEepGet.java
[javac] (at line 47)
[javac] import java.net.MalformedURLException;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.net.MalformedURLException is never used
[javac] ----------
[javac] ----------
[javac] 608. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SecureDirectory.java (at line 13)
[javac] public class SecureDirectory extends File {
[javac] ^^^^^^^^^^^^^^^
[javac] The serializable class SecureDirectory does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] ----------
[javac] 609. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SecureFile.java
[javac] (at line 14)
[javac] public class SecureFile extends SecureDirectory {
[javac] ^^^^^^^^^^
[javac] The serializable class SecureFile does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] ----------
[javac] 610. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/ShellCommand.java (at line 106)
[javac] String streamData;
[javac] ^^^^^^^^^^
[javac] The local variable streamData is never read
[javac] ----------
[javac] ----------
[javac] 611. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleByteCache.java (at line 8)
[javac] import net.i2p.I2PAppContext;
[javac] ^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.i2p.I2PAppContext is never used
[javac] ----------
[javac] 612. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleByteCache.java (at line 20)
[javac] private static final Map<Integer, SimpleByteCache> _caches = new ConcurrentHashMa
[javac] p(8);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type ConcurrentHashMap needs unchecked conversion to conform to Map<Integer,SimpleByteCache>
[javac] ----------
[javac] 613. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleByteCache.java (at line 20)
[javac] private static final Map<Integer, SimpleByteCache> _caches = new ConcurrentHashMa
[javac] p(8);
[javac] ^^^^^^^^^^^^^^^^^
[javac] ConcurrentHashMap is a raw type. References to generic type ConcurrentHashMap<K,V> should be parameterized
[javac] ----------
[javac] 614. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleByteCache.java (at line 66)
[javac] _available = new LinkedBlockingQueue(maxCachedEntries);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type LinkedBlockingQueue needs unchecked conversion to conform to Queue<byte[]>
[javac] ----------
[javac] 615. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleByteCache.
[javac] java (at line 66)
[javac] _available = new LinkedBlockingQueue(maxCachedEntries);
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] LinkedBlockingQueue is a raw type. References to generic type LinkedBlockingQueue<E> should be parameterized
[javac] ----------
[javac] 616. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleByteCache.java (at line 75)
[javac] Queue<byte[]> newLBQ = new LinkedBlockingQueue(maxCachedEntries);
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type LinkedBlockingQueue needs unchecked conversion to conform to Queue<byte[]>
[javac] ----------
[javac] 617. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleByteCache.java (at line 75)
[javac] Queue<byte[]> newLBQ = new LinkedBlockingQueue(maxCachedEntries);
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] LinkedBlockingQueue is a raw type. References to generic type LinkedBlockingQueue<E> should be parameterized
[javac] ----------
[javac] ----------
[javac] 618. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java
[javac] (at line 26)
[javac] private final TreeMap _events;
[javac] ^^^^^^^
[javac] TreeMap is a raw type. References to generic type TreeMap<K,V> should be parameterized
[javac] ----------
[javac] 619. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java (at line 28)
[javac] private Map _eventTimes;
[javac] ^^^
[javac] Map is a raw type. References to generic type Map<K,V> should be parameterized
[javac] ----------
[javac] 620. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java (at line 29)
[javac] private final List _readyEvents;
[javac] ^^^^
[javac] List is a raw type. References to generic type List<E> should be parameterized
[javac] ----------
[javac] 621. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java (at line 39)
[javac] _events = new TreeMap();
[javac] ^^^^^^^
[javac] TreeMap is a raw type. References to generic type TreeMap<K,V> should be parameterized
[javac] ----------
[javac] 622. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java
[javac] (at line 40)
[javac] _eventTimes = new HashMap(256);
[javac] ^^^^^^^
[javac] HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[javac] ----------
[javac] 623. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java (at line 41)
[javac] _readyEvents = new ArrayList(4);
[javac] ^^^^^^^^^
[javac] ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[javac] ----------
[javac] 624. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java
[javac] (at line 136)
[javac] _events.put(time, event);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method put(Object, Object) belongs to the raw type TreeMap. References to generic type TreeMap<K,V> should be parameterized
[javac] ----------
[javac] 625. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java (at line 137)
[javac] _eventTimes.put(event, time);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
[javac] ----------
[javac] 626. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java
[javac] (at line 141)
[javac] for (Iterator iter = _eventTimes.keySet().iterator(); iter.hasNext(); ) {
[javac] ^^^^^^^^
[javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[javac] ----------
[javac] 627. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java (at line 195)
[javac] List eventsToFire = new ArrayList(1);
[javac] ^^^^
[javac] List is a raw type. References to generic type List<E> should be parameterized
[javac] ----------
[javac]
[javac] 628. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java (at line 195)
[javac] List eventsToFire = new ArrayList(1);
[javac] ^^^^^^^^^
[javac] ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
[javac] ----------
[javac] 629. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java
[javac] (at line 215)
[javac] eventsToFire.add(evt);
[javac] ^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[javac] ----------
[javac] 630. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer.java (at line 251)
[javac] _readyEvents.add(eventsToFire.get(i));
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
[javac] ----------
[javac] ----------
[javac] 631. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer2.jav
[javac] a (at line 101)
[javac] private ScheduledFuture schedule(TimedEvent t, long timeoutMs) {
[javac] ^^^^^^^^^^^^^^^
[javac] ScheduledFuture is a raw type. References to generic type ScheduledFuture<V> should be parameterized
[javac] ----------
[javac] 632. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/SimpleTimer2.java (at line 132)
[javac] private ScheduledFuture _future; // _executor.remove() doesn't work so we have to use this
[javac] ^^^^^^^^^^^^^^^
[javac] ScheduledFuture is a raw type. References to generic type ScheduledFuture<V> should be parameterized
[javac] ----------
[javac] ----------
[javac] 633. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/Translate.java
[javac] (at line 28)
[javac] private static final Map<String, ResourceBundle> _bundles = new ConcurrentHashMap(2);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type ConcurrentHashMap needs unchecked conversion to conform to Map<String,ResourceBundle>
[javac] ----------
[javac] 634. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/Translate.java
[javac] (at line 28)
[javac] private static final Map<String, ResourceBundle> _bundles = new ConcurrentHashMap(2);
[javac] ^^^^^^^^^^^^^^^^^
[javac] ConcurrentHashMap is a raw type. References to generic type ConcurrentHashMap<K,V> should be parameterized
[javac] ----------
[javac] 635. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/Translate.java
[javac] (at line 29)
[javac] private static final Set<String> _missing = new ConcurrentHashSet(2);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type ConcurrentHashSet needs unchecked conversion to conform to Set<String>
[javac] ----------
[javac] 636. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/i2p/util/Translate.java
[javac] (at line 29)
[javac] private static final Set<String> _missing = new ConcurrentHashSet(2);
[javac] ^^^^^^^^^^^^^^^^^
[javac] ConcurrentHashSet is a raw type. References to generic type ConcurrentHashSet<E> should be parameterized
[javac] ----------
[javac] ----------
[javac] 637. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/Block
[javac] File.java (at line 43)
[javac] import net.metanotion.io.data.LongBytes;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.metanotion.io.data.LongBytes is never used
[javac] ----------
[javac] 638. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/BlockFile.java (at line 44)
[javac] import net.metanotion.io.data.NullBytes;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.metanotion.io.data.NullBytes is never used
[javac] ----------
[javac] 639. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/Block
[javac] File.java (at line 50)
[javac] import net.metanotion.util.skiplist.SkipList;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.metanotion.util.skiplist.SkipList is never used
[javac] ----------
[javac] 640. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/BlockFile.java (at line 85)
[javac] private static final long MAX_LEN = (2l << (32 + 10)) - 1;
[javac] ^^^^^^^
[javac] The field BlockFile.MAX_LEN is never read locally
[javac] ----------
[javac] 641. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/Block
[javac] File.java (at line 99)
[javac] private final HashMap openIndices = new HashMap();
[javac] ^^^^^^^
[javac] HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[javac] ----------
[javac] 642. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/BlockFile.java (at line 99)
[javac] private final HashMap openIndices = new HashMap();
[javac] ^^^^^^^
[javac] HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[javac] ----------
[javac] 643. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/Block
[javac] File.java (at line 439)
[javac] openIndices.put(name, bsl);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
[javac] ----------
[javac] 644. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/BlockFile.java (at line 449)
[javac] openIndices.put(name, bsl);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
[javac] ----------
[javac] 645. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/BlockFile.java (at line 482)
[javac] Set oi = openIndices.keySet();
[javac] ^^^
[javac] Set is a raw type. References to generic type Set<E> should be parameterized
[javac] ----------
[javac] 646. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/BlockFile.java (at line 483)
[javac] Iterator i = oi.iterator();
[javac] ^^^^^^^^
[javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized
[javac]
[javac] ----------
[javac] ----------
[javac] 647. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipLevels.java (at line 36)
[javac] import net.metanotion.io.RandomAccessInterface;
[javac] ^^^^^^^^^^^^
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.metanotion.io.RandomAccessInterface is never used
[javac] ----------
[javac] 648. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /BSkipLevels.java (at line 118)
[javac] Comparable ourKey = key();
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 649. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipLevels.java (at line 119)
[javac] Comparable nextKey = levels[i].key();
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 650. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /BSkipLevels.java (at line 121)
[javac] ourKey.compareTo(nextKey) >= 0) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 651. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipLevels.java (at line 230)
[javac] TreeSet<SkipLevels> lvls = new TreeSet(new LevelComparator());
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The constructor TreeSet(Comparator) belongs to the raw type TreeSet. References to generic type TreeSet<T> should be parameterized
[javac] ----------
[javac] 652. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipLevels.java (at line 230)
[javac] TreeSet<SkipLevels> lvls = new TreeSet(new LevelComparator());
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type TreeSet needs unchecked conversion to conform to TreeSet<SkipLevels>
[javac] ----------
[javac] 653. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipLevels.java (at line 230)
[javac] TreeSet<SkipLevels> lvls = new TreeSet(new LevelComparator());
[javac] ^^^^^^^
[javac] TreeSet is a raw type. References to generic type TreeSet<T> should be parameterized
[javac] ----------
[javac] 654. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /BSkipLevels.java (at line 288)
[javac] private void getAllLevels(SkipLevels l, Set lvlSet) {
[javac] ^^^
[javac] Set is a raw type. References to generic type Set<E> should be parameterized
[javac] ----------
[javac] 655. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipLevels.java (at line 294)
[javac] while (cur != null && lvlSet.add(cur)) {
[javac] ^^^^^^^^^^^^^^^
[javac] Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set<E> should be parameterized
[javac] ----------
[javac] 656. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /BSkipLevels.java (at line 317)
[javac] Comparable lk = l.key();
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 657. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipLevels.java (at line 318)
[javac] Comparable rk = r.key();
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 658. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /BSkipLevels.java (at line 326)
[javac] return rk.compareTo(lk);
[javac] ^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 659. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipLevels.java (at line 346)
[javac] if (higher.key().compareTo(key()) < 0)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 660. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipList.java (at line 33)
[javac] import java.util.Random;
[javac] ^^^^^^^^^^^^^^^^
[javac] The import java.util.Random is never used
[javac] ----------
[javac] 661. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipList.java (at line 35)
[javac] import net.metanotion.io.RandomAccessInterface;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.metanotion.io.RandomAccessInterface is never used
[javac] ----------
[javac] 662. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /BSkipList.java (at line 63)
[javac] final HashMap<Integer, BSkipSpan> spanHash = new HashMap();
[javac] ^^^^^^^^^^^^^
[javac] Type safety: The expression of type HashMap needs unchecked conversion to conform to HashMap<Integer,BSkipSpan>
[javac] ----------
[javac] 663. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /BSkipList.java (at line 63)
[javac] final HashMap<Integer, BSkipSpan> spanHash = new HashMap();
[javac] ^^^^^^^
[javac] HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[javac] ----------
[javac] 664. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipList.java (at line 64)
[javac] final HashMap<Integer, SkipLevels> levelHash = new HashMap();
[javac]
[javac] ^^^^^^^^^^^^^
[javac] Type safety: The expression of type HashMap needs unchecked conversion to conform to HashMap<Integer,SkipLevels>
[javac] ----------
[javac] 665. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipList.java (at line 64)
[javac] final HashMap<Integer, SkipLevels> levelHash = new HashMap();
[javac]
[javac] ^^^^^^^
[javac] HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
[javac] ----------
[javac] 666. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipList.java (at line 218)
[javac] public SkipIterator find(Comparable key) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 667. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /BSkipSpan.java (at line 33)
[javac] import net.metanotion.io.RandomAccessInterface;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import net.metanotion.io.RandomAccessInterface is never used
[javac] ----------
[javac] 668. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipSpan.java (at line 168)
[javac] int ksz, vsz;
[javac] ^^^
[javac] The local variable ksz is never read
[javac] ----------
[javac] 669. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipSpan.java (at line 168)
[javac] int ksz, vsz;
[javac] ^^^
[javac] The local variable vsz is never read
[javac] ----------
[javac] 670. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/BSkipSpan.java (at line 332)
[javac] this.keys[i] = (Comparable) this.keySer.construct(k);
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 671. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipIterator.java (at line 93)
[javac] public Comparable nextKey() {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 672. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipIterator.java (at line 94)
[javac] Comparable c;
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 673. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipIterator.java (at line 94)
[javac] Comparable c;
[javac] ^
[javac] The local variable c is never read
[javac] ----------
[javac] ----------
[javac] 674. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipSpan.java (at line 59)
[javac] private Comparable firstKey;
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 675. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 128)
[javac] this.firstKey = (Comparable) this.keySer.construct(k);
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 676. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipSpan.java (at line 163)
[javac] private Object getData(Comparable key) throws IOException {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 677. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 197)
[javac] Comparable ckey = (Comparable) this.keySer.construct(k);
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 678. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipSpan.java (at line 197)
[javac] Comparable ckey = (Comparable) this.keySer.construct(k);
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 679. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 205)
[javac] int diff = ckey.compareTo(key);
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 680. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 280)
[javac] Comparable previousFirstKey = bss.firstKey;
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 681. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipSpan.java (at line 285)
[javac] Comparable nextFirstKey = bss.firstKey;
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 682. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 286)
[javac] if (previousFirstKey.compareTo(nextFirstKey) >= 0) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 683. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 309)
[javac] Comparable nextFirstKey = bss.firstKey;
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 684. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipSpan.java (at line 314)
[javac] Comparable previousFirstKey = bss.firstKey;
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 685. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 315)
[javac] if (previousFirstKey.compareTo(nextFirstKey) >= 0) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 686. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 331)
[javac] public Comparable firstKey() {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 687. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipSpan.java (at line 340)
[javac] public SkipSpan getSpan(Comparable key, int[] search) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 688. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 356)
[javac] public Object get(Comparable key) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 689. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipSpan.java (at line 359)
[javac] if (this.next != null && this.next.firstKey().compareTo(key) <= 0)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 690. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index/IBSkipSpan.java (at line 371)
[javac] public SkipSpan put(Comparable key, Object val, SkipList sl) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 691. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/io/block/index
[javac] /IBSkipSpan.java (at line 386)
[javac] public Object[] remove(Comparable key, SkipList sl) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 692. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipIterator.java (at line 42)
[javac] public class SkipIterator implements ListIterator {
[javac] ^^^^^^^^^^^^
[javac] ListIterator is a raw type. References to generic type ListIterator<E> should be parameterized
[javac] ----------
[javac] 693. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipIterator.java (at line 86)
[javac] public Comparable nextKey() {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 694. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipIterator.java (at line 87)
[javac] Comparable c;
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 695. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipIterator.java (at line 87)
[javac] Comparable c;
[javac] ^
[javac] The local variable c is never read
[javac] ----------
[javac] ----------
[javac] 696. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipLevels.java (at line 98)
[javac] public SkipSpan getSpan(int start, Comparable key, int[] search) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 697. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipLevels.java (at line 100)
[javac] if((levels[i] != null) && (levels[i].key().compareTo(key) <= 0)) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 698. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipLevels.java (at line 107)
[javac] public Comparable key() { return bottom.firstKey(); }
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 699. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipLevels.java (at line 109)
[javac] public Object get(int start, Comparable key) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 700. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipLevels.java (at line 111)
[javac] if((levels[i] != null) && (levels[i].key().compareTo(key) <= 0)) {
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 701. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipLevels.java (at line 125)
[javac] public Object[] remove(int start, Comparable key, SkipList sl) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 702. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipLevels.java (at line 130)
[javac] int cmp = levels[i].key().compareTo(key);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic
[javac] type Comparable<T> should be parameterized
[javac] ----------
[javac] 703. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipLevels.java (at line 212)
[javac] public SkipLevels put(int start, Comparable key, Object val, SkipList sl) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 704. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipLevels.java (at line 216)
[javac] if((levels[i] != null) && (levels[i].key().compareTo(key) <= 0)) {
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 705. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipList.java (at line 97)
[javac] public void put(Comparable key, Object val) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 706. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipList.java (at line 118)
[javac] public Object remove(Comparable key) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 707. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipList.java (at line 155)
[javac] public Object get(Comparable key) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 708. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipList.java (at line 170)
[javac] public SkipIterator find(Comparable key) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 709. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipSpan.java (at line 38)
[javac] public Comparable[] keys;
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 710. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipSpan.java (at line 71)
[javac] private int binarySearch(Comparable key) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 711. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipSpan.java (at line 78)
[javac] cmp = keys[cur].compareTo(key);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 712. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipSpan.java (at line 95)
[javac] public SkipSpan getSpan(Comparable key, int[] search) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 713. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipSpan.java (at line 101)
[javac] if(keys[nKeys - 1].compareTo(key) < 0) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 714. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipSpan.java (at line 112)
[javac] public Object get(Comparable key) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 715. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipSpan.java (at line 114)
[javac] if(keys[nKeys - 1].compareTo(key) < 0) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 716. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipSpan.java (at line 139)
[javac] private void split(int loc, Comparable key, Object val, SkipList sl) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 717. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipSpan.java (at line 176)
[javac] private SkipSpan insert(int loc, Comparable key, Object val, SkipList sl) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 718. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipSpan.java (at line 194)
[javac] public SkipSpan put(Comparable key, Object val, SkipList sl) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 719. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipSpan.java (at line 207)
[javac] int cmp = next.firstKey().compareTo(key);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic
[javac] type Comparable<T> should be parameterized
[javac] ----------
[javac] 720. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/
[javac] SkipSpan.java (at line 247)
[javac] public Object[] remove(Comparable key, SkipList sl) {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 721. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipSpan.java (at line 249)
[javac] if(keys[nKeys - 1].compareTo(key) < 0) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] 722. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/net/metanotion/util/skiplist/SkipSpan.java (at line 312)
[javac] public Comparable firstKey() {
[javac] ^^^^^^^^^^
[javac] Comparable is a raw type. References to generic type Comparable<T> should be parameterized
[javac] ----------
[javac] ----------
[javac] 723. WARNING in /home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/src/org/xlattice/crypto/filters/K
[javac] eySelector.java (at line 22)
[javac] private int length; // length into b to select
[javac] ^^^^^^
[javac] The field KeySelector.length is never read locally
[javac] ----------
[javac] 723 problems (2 errors, 721 warnings)

BUILD FAILED
/home/anarchoguy1994/Downloads/i2p-0.8.8/build.xml:157: The following error occurred while executing this line:
/home/anarchoguy1994/Downloads/i2p-0.8.8/core/java/build.xml:26: Compile failed; see the compiler error output for details.
Duane Horton Ii
Greenhorn

Joined: Oct 05, 2011
Posts: 8
I went as far back as I could.....the terminal wouldn't let me go earlier back then:


[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.io.FileInputStream is never used
 
 
subject: ant pkg won't work for installing I2P
 
Similar Threads
Weblogic platform8.1 SP4 installation error
Sealing Violation
EAR precompilation - java.lang.NoClassDefFoundError: weblogic/utils/compiler/Tool
HibernateException
apache-ant installation problem.