Results 1 to 2 of 2

Thread: Possibly remove deprecation from generated _*Tie.java class

  1. #1
    joshmoore is offline Registered User
    Name: Josh Moore
    Organization: Glencoe Software, Inc.
    Project: OME, http://openmicroscopy.org
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    118

    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:
    Code:
        [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:
    Code:
    @SuppressWarnings("deprecation")
    to the Tie class the build will show nothing.

    Cheers,
    ~J.

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,589
    Hi Josh,

    We'll look into improving the generated Java code.

    Take care,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. packageless class generated by Slice2java
    By sylvain in forum Help Center
    Replies: 5
    Last Post: 11-05-2010, 10:57 AM
  2. Replies: 4
    Last Post: 10-16-2009, 06:51 PM
  3. Freeze evictor synchronization with Java tie classes
    By jdekozak in forum Help Center
    Replies: 2
    Last Post: 01-30-2007, 01:12 PM
  4. Generated Java Helper class has errors
    By ygarbourg in forum Help Center
    Replies: 2
    Last Post: 05-06-2005, 02:13 PM
  5. Intializing members of a slice generated class
    By Venkat Seeth in forum Help Center
    Replies: 3
    Last Post: 02-22-2005, 12:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •