Where are the unchecked errors?

I get the warning
GenericTree.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.Busy coding a generic tree class and was wondering where I did something incorrect. Here's the code so far...
class TreeNode<T extends Comparable>
     TreeNode<T> leftNode;
     T data;
     TreeNode<T> rightNode;
     // contructor initialises data and makes this a leaf node
     public TreeNode(T nodeData)
          data = nodeData;
          leftNode = rightNode = null;
     // locate insertion point & insert node; ignore duplicate values
     public void insert(T insertValue)
          if(data.compareTo(insertValue) < 0)
               if(leftNode == null)
                    leftNode = new TreeNode<T>(insertValue);
               else // continue traversing left subtree
                    leftNode.insert(insertValue);
          else if(data.compareTo(insertValue) > 0)
               if(rightNode == null)
                    rightNode = new TreeNode<T>(insertValue);
               else // continue traversing right subtree
                    rightNode.insert(insertValue);
public class GenericTree<T extends Comparable>
     private TreeNode<T> root;
     // contructor initializes root of a Tree object to null
     public GenericTree()
          root = null;
     public void insertNode(T insertValue)
          if(root == null)
               root = new TreeNode<T>(insertValue); // create new node
          else
               root.insert(insertValue); // calls insert method
}Thanks!

class TreeNode<T extends Comparable>You used a raw type here. Try this instead:class TreeNode<T extends Comparable<T>>

Similar Messages

  • Where are the WKG error codes

    I have searched all documents provided and I can't find documentation about the WKG error codes. Can anybody help?

    Java rarely produces an error log. It only does so when it has an internal error. You application freeze might be due to many different reasons. Do you know if the application works well for others?

  • Where are the bluetooth errors described?

    Hi,
    I can't find a listing that describes the meaning of the various
    Bluetooth errors I get when trying to connect my PDA-base app to a test
    server on my PC
    Some of the error codes are 12615 and 12579
    There are no errors in this range in the error code list in LabVIEW
    Anyone have any idea where to look?
    Senior Software Development Engineer
    Certified LabVIEW Architect and LabVIEW Champion

    Hello,
    You are correct that the error codes in this range are not documented/specified in LabVIEW.
    Can you give us more information on when and where (in which Bluetooth VIs) you get these errors?
    Thanks and best regards,
    Shakhina P.
    Applications Engineer
    National Instruments

  • When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI

    When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI( I am not getting any error message in E$_TARGET_ANI_TEST).
    When i am running the interface i am getting the below error against the errored step
    "ORA-01045: user ABC lacks CREATE SESSION privilege; logon denied."
    Only E$_TARGET_ANI_TEST  is created with no data. No such tables like C$_0TARGET_ANI_TEST, I$_TARGET_ANI_TEST are created and also data is not inserted in the target table TARGET_ANI_TEST.

    Hi,
    I have checked that only E$ table is created. C$ and I$ table are not created ( I have selected my target schema as the part for the staging table).
    All the parameters for dropping the tables are selected as "<default>:false".
    I am importing the following KMs with the following parameters:
    1) CKM Oracle
    DROP_ERROR_TABLE
    :false
    DROP_CHECK_TABLE
    :false
    CREATE_ERROR_INDEX
    :true
    COMPATIBLE
    :9
    VALIDATE
    :false
    ENABLE_EDITION_SUPPORT
    :false
    UPGRADE_ERROR_TABLE
    :false
    2) LKM SQL to SQL
    DELETE_TEMPORARY_OBJECTS
    :true
    3) IKM SQL Incremental Update
    INSERT
    :true
    UPDATE
    :true
    COMMIT
    :true
    SYNC_JRN_DELETE
    :true
    FLOW_CONTROL
    :true
    RECYCLE_ERRORS
    :false
    STATIC_CONTROL
    :false
    TRUNCATE
    :false
    DELETE_ALL
    :false
    CREATE_TARG_TABLE
    :false
    DELETE_TEMPORARY_OBJECTS
    :true 

  • Where are the local radio playlists/charts in the new iTunes 7.0.1.8?

    Q: Where are the local radio playlists/charts in the new iTunes 7.0.1.8? I like to see what the local radio stations and surrounding markets are playing. I used this feature all the time in iTunes 6.
    A. I just found the answer, but I'll post this anyway. The "Radio" link was moved from the iTunes store home page. From the iTunes Store homepage you have to click on "Music" in the "iTunes Store" box. Then, go to the "More In Music" box and click on "Radio."
    Dell Demension 4700   Windows XP  

    Error Error -- you must post a comment or follow-up.

  • Where are the plugins installed in photoshop adobe official website

    where are the plugins installed in photoshop adobe official website

    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Where are the myRIO Project Guide VIs?

    Where are the myRIO Project Guide Vis?
    The April 2014 “NI myRIO Project Essentials Guide” says “Download http://www.ni.com/academic/myrio/project-guide-vis.zip ...”, but that address gives an ‘Unable to download …’ error.

    Hi jaustin_UF,
    The link that you provided works for me.  Can you please attached a screenshot of the error you are getting?
    Regards,
    Devon R.
    Applications Engineer
    National Instruments
    www.ni.com/support

  • What are the common errors we get in supporting project

    can any body reply what are the common errors we get in supporting project
    for abapers tickets will get or not.
    what type of tickets generally get regarding reports.

    <b>SAP Tickets</b> are nothing but problems or issues raised by the end
    customer in a company where end users are running SAP project.
    Once the SAP project is implemented, support phase begins. Support
    team is responsible for solving the tickets/issues in day-to-day
    business.
    For any support project, customer will set up Help Desk. If any
    problem occurs customer will call Help Desk and register the
    issue/Ticket.
    Different companies use different software products to manage SAP
    Tickets. Remember this software is not provided by SAP. It is third
    party software. There are many software products in the market like
    Manage Now et c. You can call these software products as tools.
    All tools will provide the common attributes which are listed below-
    1) Every user will be provided with user name and password to enter
    into the tool
    2) We can see the tickets assigned for a particular user name.
    3) You can list all open tickets by giving the Date Range
    4) You can list all closed tickets by giving the Date Range
    5) You can list out all the open tickets assigned for an User
    6) You can list out all the closed tickets assigned for an User
    7) You can see the description of the Ticket, by entering the Ticket
    Number. You can see who had raised the Ticket, what is the problem.
    What is the severity of the Ticket?
    There are lot many other attributes like you can transfer the Ticket
    to another user etc.
    <b>What is the severity of the problem Ticket?</b>
    When a Ticket is raised, it will be given severity. There are
    following severities. It may vary from company to company.
    Severity 1
    Severity 2
    Severity 3
    Severity 4
    The severity will be decided based on the business critical impacts.
    If there is large impact on the business it
    will be given 1 severity, if it is having least impact then it will be given 4.
    Severity 1 problem tickets should be solved in 8 hours.
    Severity 2 problem ticket should be solved in 16 hours.
    Severity 3 problem ticket should be solved in 15 working days.
    Severity 4 problem ticket should be solved in 30 working days.
    Again the no of days may vary from one company to another.
    All these things will be decided when giving the contract to the IT
    company. The agreement is called as "SLA".
    SLA stands for Service Level Agreement.
    What happens if a particular ticket is not solved by the IT company
    according to the SLA/Contract?
    The Customer imposes fine on IT company as per the contract/SLA.
    <b>Errors in Extraction</b>
    1) RFC connection lost.
    2) Invalid characters while loading.
    3) ALEREMOTE user is locked.
    4) Lower case letters not allowed.
    5) While loading the data i am getting messeage that 'Record
    the field mentioned in the errror message is not mapped to any
    infoboject in the transfer rule.
    6) object locked.
    7) "Non-updated Idocs found in Source System".
    8) While loading master data, one of the datapackage has a red light
    error message:
    Master data/text of characteristic ZCUSTSAL already deleted
    1)extraction job aborted in r3
    2) request couldnt be activated because theres another request in the
    psa with a smaller sid
    3) repeat of last delta not possible
    4) datasource not replicated
    5) datasource/transfer structure not active
    <b>Issues faced during the implementation :</b>
    1. Slippage of milestones
    2. Incorrect or wrong design
    3. Reporting format problems
    4. Data not matching or reconciling problems
    5. Issues discovered during testing leading to redesign
    6. Performance issues
    7. Requirements misinterpretation
    9)check the data same in source system and target system ( i mean
    suppose u are extarcting from r/3 after loading check ur data r/3 and
    bw same or not.
    10)that is abap code, i didnt understand ur question properly.
    11)
    12) generic extarction, if ur businees contect satisfy ur requirement
    u go for generic, suppose u need data from different tables go generic
    with view with 1:1 relation 1:M relation for function module.
    13)v3 update back groud job is in lo
    14)its superior info object, u can find this in master data tab .
    15)
    16)tuning we will go for improve query performance (compression,
    aggregates, partation, index, rollup, precalculated web tneplates.)
    17) rsa7(check with some one)
    18)bw statics for find data base time and olap time and frontend
    time(based on u can improve query performance create like aggra comp ,
    indices etc..)
    19) direct chain only one chain , meta chain if u have more than one chains
    load errors u can solve manually, other than load errors u can wait
    right click and repeat.
    20)
    21) u cn cteate other cube and traansfer, but data space waste.(bec
    structures will be deffi)
    22) u mean data source enhancement.or not(let me know)
    23)rsap0001( for customer exit variables) 001 for transaction data 001
    attributes, 003 text 004 hierchies.
    24)web application design , its like same bex, but report will execute
    in browser.
    25)
    26) arrangement of process are called process type and we can use
    varient and start process for back ground jobs.
    <b>Don't forget to asign points</b>
    regards
    ravish

  • Where are the Pick/Unpick/Reject Flags stored?

    Hello all,
    On LR4.0 I went through the process of creating a new catalog and importing the 3.6 cat with the proverbial error at the end of the update and have been working with that cat in LR4.  I've added around 300 new images to that 4.0 cat and have done some Pick/Reject flagging as well as Star Ratings. 
    I've just moved to the LR4.1 RC1 and successfully upgraded my original LR3.6 catalog without any errors. Now I have added/synchronized my LR4.1 RC1 cat to add in place the folders of images I've added that have the Pick/Reject flags.  I see the Star Ratings but not any of the Pick/Reject flags on those folders.  I do see the flags on the images that were updated with the catalog though.
    Where are the Pick/Unpick/Reject Flags stored?  In the catalog only?  In the sidecar XMP file?  Both? Doing a Ctrl-S doesn't seem to make a difference.
    Thanks in advance for any feedback.
    Tony...

    Catalog only.

  • Where are the reports generated by Setup Manager ????

    The funny thing about Setup manager is that it seems there is nothing to view the reports generated ....
    after defining a project including an extraction then a report on this extract then execute it .... evrything end without errors but where are the reports ????
    i've checked my project : no buttons or link to see the reports ...
    i've checked the log of the execution : no report. the only things is the really nice and useful message 'file transfer done ...'
    i've even checked EBS but no report
    I've checked also the jobs in OEM: nothing
    how can i get the reports generated and view their content ????

    Click on View Executions link of project you executed (Here you can see all the executions related to that project. (Setup Manager -> Project -> View Executions)) -> Now Click on the execution name(Here you can see all the tasks of that project) -> Here Download link will be available if the task gets completed successfully
    Regards,
    Bindu.

  • Where are the drivers for HP LaserJet 5P for Windows 8.1 (64bit)?

    Had been using HP LaserJet 5p printer with HP LaserJet 5p printer driver, but had printer disconnect for a few months due to not have black toner.  Now I want to use the printer and my control panel does not show HP Laser 5p printer for my tablet but shows it for my laptop.   I can not find the driver on the HP support list and the support list does not recognize  HP LaserJet 5p.   
    Where are the drivers for HP LaserJet 5p for windows 8.1 (64bit)??????

    Hi,
    Basic print drivers are available for the HP Laerjet 5P via Windows Update.
    Follow these steps to install the printer drivers on Windows 8.1:
    http://h20564.www2.hp.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c03470332#N100AA
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Hi there, I pay for extra iCloud space online. However I cannot seem to find any of my photos or account? As my iPod/iPhone only hold 1000 pictures, where are the previous pictures? And how can I access them?

    Hi there, I pay for extra iCloud space online. However I cannot seem to find any of my photos or account? As my iPod/iPhone only hold 1000 pictures, where are the previous pictures? And how can I access them?

    You cannot use iCloud Storage to suppliment your iPad. They are mainly used to backup iPad.
    Free up space on iPad
    Settings>General>Usage>Storage>Delete what is not needed to free up space on iPad.

  • What are the common error while EBS installation in Unix /windows

    what are the common error while EBS R12 installation with os unix and windows.
    oracle have any any check after installation all installation are correct according to no of directory, files and file size ?
    regards

    Hi user;
    what are the common error while EBS R12 installation with os unix and windows.AFAIK there is no document which show common error.There are some common error for installation like:
    RW-5004- RW-50010 etc.
    For error we have to check instalaltion log files for can get more details about it
    oracle have any any check after installation all installation are correct according to no of directory, files and file size ?Oracle has 2 checking mechanisim during installation.
    1. Before start installation, rapidwiz makes Validate system Configuration check which is checking port avaliability,file system check etc.
    2. End of the installation,rapidwiz makes Validate system Configuration again to check jsp,dbc file, db avaliablity etc..
    For more details Please check:
    For r12.1.1:
    http://download.oracle.com/docs/cd/B53825_01/current/html/docset.html
    For r12:
    http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html
    Hope it helps
    Regard
    Helios

  • Where are the drivers?

    Alright it's probably a stupid question but I just bought a new mac that came with leopard.I used boot camp to partition and install windows vista on my new mac. Everything worked fine until I had to install the drivers.I don't know where the drivers are. They supposed to be in the leopard dvd that i don't have. Where are the drivers?

    Hi Obe7,
    the Mac OSX install disc that you used to install Leopard on your Mac is a 'hybrid'-disc, which contains an OSX part (only visible while in OSX) and a Windows part (only visible while in Windows).
    The BootCamp 2.0 drivers are on the Windows part of that disc.
    While in Windows insert that disc and usually the driver installation starts automatically.
    If not, use the Windows Explorer to navigate to the disc and start the 'setup.exe' file manually.
    Stefan

  • Where are the older BIOS versions gone?

    Hi
    A few weeks back, I've upgraded the BIOS on my Pavilion G6 1001sq to the latest version (F66). I noticed that the laptop is running considearbly hotter since then and I want to revert to an older BIOS version. When I go to the updates page on the HP website and click on "older versions available" I can only see the F66 version on the page I'm directed to ( http://h10025.www1.hp.com/ewfrf/wc/previousVersions?softwareitem=ob-115746-1&cc=us&dlc=en&lc=en&os=4... ), although a long list with many versions was available till recently. Where are the older versions gone?

    Unfortunately, I do not know where they have gone. HP is working on issues with the suport and driver servers at the moment.
    Since your notebook does have the UEFI Diagnostics installed, you should be able to rollback to the previous version that was installed. Use the firmware management option to do that.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for

  • How do I add a link to an external site from my navigation toolbar?

    I want to add a link to an external page on the navigation bar, but when I right click or use inspector nothing looks useful. Any help is appreciated. Thanks.

  • Subject in mail reciver

    Hey, I have an rfc-xi-mail scenario, i pass the rfc as a xml file in the mail, i need to pass in the subject of the mail message a filed from the rfc. Is that possible? could not find valid info about it in sdn. Edited by: Zevik Heinoch on Feb 8, 200

  • DiskWarrior Error Message - What does this Mean??

    Maybe this has been touched on, but I can't find it. I get this message when I try to repair permissions with DiskWarrior 4.1 on Mac Pro with 10.5.5. It's always worked before, but now?? I can rebuild directory OK, I can check all files and folders,

  • Strange colour change on other Mac

    I have one problem (well, thats why everyone posts here). I created an Artwork Illustration in Freehand MX that I need to work on further - on another Mac 200 miles from my home. This Mac (having more or less the same standard and the same age as my

  • Restarting problom!

    i just installed leopard on original mac mini i have a 1.42 power pc with 512 it said it installed succefully but so it restarts so when i get to the grey apple start up it ses you need to restart your computer. hold down the power button for several