Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Posts
    11

    Question Unanswered: Resolving warning - method getIterator()

    Warning(891,45): method getIterator() in interface org.apache.jcs.engine.memory.MemoryCache has been deprecated


    I am getting this warning when i compile my project,i want to resolve this warning

    thanx

    gvan

  2. #2
    Join Date
    Apr 2005
    Location
    Baltimore, MD
    Posts
    297
    If a function has been deprecated, it means that it sill works and is functional, but has been replaced by a different method. That other method and more info should be in the Javadoc for that class.

  3. #3
    Join Date
    Feb 2006
    Posts
    11
    thank you sir,

    if u can forward me any sample links it would be useful for me to go through fully to have a better understanding

    gvan

  4. #4
    Join Date
    Apr 2005
    Location
    Baltimore, MD
    Posts
    297
    Well, using a deprecated function isn't going to break your program, but it possibly could in the future. The javadoc says that the getIterator method is dangerous and should be removed, so you should probably try to find a different way to do what you are trying to do.

    I've never used this library...Try googling more or read the Javadocs for further direction.

  5. #5
    Join Date
    Feb 2006
    Posts
    11
    thanks a lot for helping me in understanding getIterator() method

    gvan

Posting Permissions

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