michaelquigley / zabbixj

A simple Zabbix framework for Java.
Apache License 2.0
43 stars 28 forks source link

Jar files contain different code than source files #17

Closed AllardKrings closed 3 years ago

AllardKrings commented 3 years ago

The ZabbixAgent.java source code it says:

    public void setServerAddress(String serverAddress) {
    this.serverAddress = serverAddress;
}

In the ZabbixAgent.class contains the code:

public void setServerAddress(InetAddress serverAddress) {
    this.serverAddress = serverAddress;

This makes the ExampleActiveAgent causing an error.

michaelquigley commented 3 years ago

What's in the repository is a newer version than what's in Maven Central. Either build from source and use that version, or use the version in Maven Central?