Home Comments

Possibly remove deprecation from generated _*Tie.java class

joshmoorejoshmoore GermanyMember Josh MooreOrganization: Glencoe Software, Inc.Project: OME, http://openmicroscopy.org
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:
to the Tie class the build will show nothing.



  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Josh,

    We'll look into improving the generated Java code.

    Take care,
Sign In or Register to comment.