tlaukkan / zigbee4java

Zigbee API for Java provides simple Java interface to ZigBee network.
Apache License 2.0
143 stars 68 forks source link

Fixes #62

Closed cdealti closed 8 years ago

cdealti commented 9 years ago

Minor fixes for the Maven build:

The method endpointRemoved(ZigBeeEndpoint) of type ZigBeeApi must override a superclass method

Quick fix: Remove @Override annotation

The @Override annotation was introduced in Java 6 but for some reason Eclipse is configured with compiler source and target levels set to 1.5.

cdealti commented 9 years ago

@Brhett the compiled (by this Maven build) classes have major version: 50 which means Java 6. Also, running the console with a Java 6 JVM works. So I cannot see any runtime dependencies from Java 7.

As said above, Eclipse is now set with source compatibility level set to 1.6 and I cannot see any compilation errors.

So I think zigbee4java can target Java 6.

Brhett commented 9 years ago

@cdealti So I think the README.md should be updated about the prerequisite of Java version.

cdealti commented 8 years ago

See also #70