Possibly remove deprecation from generated _*Tie.java class

joshmoorejoshmoore GermanyJosh MooreOrganization: Glencoe Software, Inc.Project: OME, http://openmicroscopy.orgMember
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

  • mesmes CaliforniaMark SpruiellOrganization: ZeroC, Inc.Project: Ice DeveloperAdministrators, ZeroC Staff ZeroC Staff
    Hi Josh,

    We'll look into improving the generated Java code.

    Take care,
    Mark
Sign In or Register to comment.