[SNMP4J] compilation warnings with v1.0rc2
Frank Fock
fock at agentpp.com
Mon May 10 22:52:29 CEST 2004
Richard,
Some of these warnings are incorrect, because either the (inner)class is
used
or the import is needed for the JavaDoc. Other warnings are correct and
I have
removed the corresponding imports. Thanks for reporting them. You will find
the fixes in the next release.
Best regards,
Frank
Beton, Richard wrote:
> Using Eclipse (www.eclipse.org), the following compiler warnings arise
> from v1.0rc2. Ideally, these should all be fixed.
> Rick :-)
>
>
> The import org.snmp4j.mp.StateReference is never used
> CommandResponder.java src/org/snmp4j line 26
> The import java.util is never used PDU.java src/org/snmp4j
> line 25
> The import java.io is never used PDU.java src/org/snmp4j line 26
> The import org.snmp4j.Snmp.PendingRequest is never used
> Snmp.java src/org/snmp4j line 35
> The import org.snmp4j.Snmp.AsyncRequestKey is never used
> Snmp.java src/org/snmp4j line 42
> The static field BER.checkValueLength should be accessed in a static
> way BER.java src/org/snmp4j/asn1 line 888
> The import org.snmp4j.PDU is never used RequestListener.java
> src/org/snmp4j/event line 26
> The import org.snmp4j.mp is never used
> MessageProcessingModel.java src/org/snmp4j/mp line 34
> The import org.snmp4j.mp.MPv3.CacheEntry is never used MPv3.java
> src/org/snmp4j/mp line 36
> The static field MPv3.ID should be accessed in a static way
> MPv3.java src/org/snmp4j/mp line 730
> The import org.snmp4j.smi.OID is never used AuthGeneric.java
> src/org/snmp4j/security line 25
> The import org.snmp4j.security is never used
> PrivacyProtocol.java src/org/snmp4j/security line 26
> The import org.snmp4j.smi.OID is never used PrivAES.java
> src/org/snmp4j/security line 27
> The import org.snmp4j.security is never used PrivDES.java
> src/org/snmp4j/security line 27
> The import org.apache.log4j.Logger is never used
> SecurityModels.java src/org/snmp4j/security line 27
> The import java.io.InputStream is never used SecurityModels.java
> src/org/snmp4j/security line 28
> The import java.io.IOException is never used SecurityModels.java
> src/org/snmp4j/security line 29
> The import org.snmp4j.security is never used UsmUser.java
> src/org/snmp4j/security line 26
> The import org.snmp4j is never used UsmUserTable.java
> src/org/snmp4j/security line 27
> The static method format(String, Object[]) from the type MessageFormat
> should be accessed in a static way TimeTicks.java
> src/org/snmp4j/smi line 116
> The import java.io.ByteArrayInputStream is never used
> DefaultTcpTransportMapping.java src/org/snmp4j/transport line 39
> The import org.snmp4j.transport.DefaultTcpTransportMapping.SocketEntry
> is never used DefaultTcpTransportMapping.java
> src/org/snmp4j/transport line 44
> The import java.io.ByteArrayInputStream is never used
> DefaultUdpTransportMapping.java src/org/snmp4j/transport line 35
>
More information about the SNMP4J
mailing list