Archived

This forum has been archived. Please start a new discussion on GitHub.

Possibly remove deprecation from generated _*Tie.java class

The ServiceFactory.close() method was deprecated in our slice file and is unused internally. But the build shows:
    [javac] /Users/josh/code/git/components/blitz/generated/omero/api/_ServiceFactoryTie.java:80: warning: [deprecation] close(Ice.Current) in omero.api._ServiceFactoryOperations has been deprecated
    [javac]     close(Ice.Current __current)
    [javac]     ^
since the Tie implements this method. By adding:
@SuppressWarnings("deprecation")
to the Tie class the build will show nothing.

Cheers,
~J.

Comments

  • mes
    mes California
    Hi Josh,

    We'll look into improving the generated Java code.

    Take care,
    Mark