Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2012
    Posts
    23
    Rep Power
    0

    Default unchecked conversion found!

    Here is a part of my code where I am getting this warning "unchecked conversion found" while compiling it:

    Java Code:
    InputStreamEnumerator e = new InputStreamEnumerator(files);
    		InputStream input = new SequenceInputStream(e);
    the details of the warning are as follows:

    Java Code:
    SequenceInputStreamDemo.java:31: warning: [unchecked] unchecked conversion
    found   : InputStreamEnumerator
    required: java.util.Enumeration<? extends java.io.InputStream>
    		InputStream input = new SequenceInputStream(e);
    		                                            ^
    1 warning
    Can anyone please tell me what's to be done?

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,439
    Rep Power
    18

    Default Re: unchecked conversion found!

    What is an InputStreamEnumerator?
    Please do not ask for code as refusal often offends.

Similar Threads

  1. unchecked conversion found
    By Jeffrod in forum New To Java
    Replies: 4
    Last Post: 08-14-2011, 03:05 AM
  2. Compile error - unchecked
    By pahiker in forum New To Java
    Replies: 18
    Last Post: 06-24-2010, 09:27 AM
  3. unchecked exceptions
    By veens4444 in forum New To Java
    Replies: 1
    Last Post: 06-08-2010, 06:36 AM
  4. Uses unchecked or unsafe operations message
    By Robbinz in forum New To Java
    Replies: 2
    Last Post: 12-06-2007, 10:56 PM
  5. UnChecked Exception
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-18-2007, 07:06 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
  •