How do I check "them"????
This is the code:
import java.util.*;
public class FillingLists {
public static void main(String[] args) {
List list = new ArrayList();
for(int i = 0; i < 10; i++)
list.add("");
Collections.fill(list, "Hello");
System.out.println(list);
} ///:~$ javac FillingLists.java -Xlint:unchecked
FillingLists.java:7: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.List
list.add("");
^
FillingLists.java:8: warning: [unchecked] unchecked conversion
found : java.util.List
required: java.util.List<? super java.lang.String>
Collections.fill(list, "Hello");
^
FillingLists.java:8: warning: [unchecked] unchecked method invocation: <T>fill(java.util.List<? super T>,T) in java.util.Collections is applied to (java.util.List,java.lang.String)
Collections.fill(list, "Hello");
^
3 warnings
How do I check "them" so I don't get these warnings anymore???
Thank you.....
This is a new warning in jdk 1.5. This means you are not using generics.
Try
List<String> list = new ArrayList<String>(10);
Similar Messages
-
i tried purchasing an in app thing but i need to kno security questions but i dont remember ever setting any how to i check them?
Have you find out? I have same problem.....
-
when on itunes, a window popped upand said my songs were unchecked and were unable to download. Jow do I check them?
Hi Dave_warr,
I would suggest restarting the iPad and see if the download resumes.
iTunes: How to resume interrupted iTunes Store downloads
Resuming downloads from an iOS device
From the Home screen, tap the iTunes icon.
For iPhone/iPod touch, tap More > Downloads. For iPad, tap Downloads.
Enter your account name and password.
Click the "OK" button.
Click the Resume or Resume All button to start the download.
If you don't see the application to download it, then follow these troubleshooting steps:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
If the app does not appear in your list of purchases, then contact the iTunes Store for help:
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
I hope this information helps ....
Have a great day!
- Judy -
'm trying to transfer the music from my iPhone 3G to my iPod shuffle using iTunes but I don't know how. I checked on websites but i dont really trust them cause I don't want all my music to be erased (cause i spent a lot of money on them) can someone PLEASE help me. Why is iTunes so complicated.
iTunes match - http://www.apple.com/itunes/itunes-match/ - see FAQ at end too
http://arstechnica.com/apple/2011/11/itunes-match-your-questions-answered/
http://ipod.about.com/od/UsingiOS5/a/Itunes-Match-Frequently-Asked-Questions.htm
http://forums.macrumors.com/showthread.php?t=1277415 - deleting items from your computer but saving them in iCloud. Yes, but risky. -
How do I back up the calendar and contacts from my iPhone5 to my new macbook pro(10.8.3)? I have backed up the phone, but it does not transfer the calendar or the contacts. If I check them in the sync area and then back up the phone again will they transfer or be erased? I am a bit gun shy since my previous macbook pro committed suicide and I lost a ton of info there.
Copy everything from your backup copy of your old computer.
-
I synced my ipad the other day... later when i went to check my photos (on my ipad2) they weren't there but they are on icloud. How do i acces them to get them back onto my ipad? i have projects and other materail that is extremely important!!!!!!!!
PLEASE HELP!!!!!!!!!!!!!!!!!!!!!11Hey Ben,
If you backed up your photos on your computer, just sync back to your computer, and in iTunes, select Photos (with your device selected on the left side of iTunes window). Click to sync photos and select the photo album you want back on your device.
Good luck -
Hello. I just got the iPhone 5s today and I did a restore from icloud to it but none of my apps transferred. I checked on my computer and only Facebook and candy crush show up. How can I get them back?
Try restoring the backup again. Your apps and other purchased media should have been restored from your backup if they were on your old phone when you backed it up.
-
I synced my iphone 3 to my pc and i had about 90 songs on it and when i looked at my phone to check if it worked, it deleted about 80 of the songs, what happened to them and how do i get them back
You might have better luck in the iPhone community. I'll ask the hosts to relocate your post.
iPhone community
Have you tried syncing the iPhone to your computer and restoring from the backup to see if you can get your other songs back? If you purchased the new album with your Apple ID, you should be able to download it to your computer to sync. -
I just bought macbook pro with 10.8.3 os. When i start the system, all applications automatically start up as well! How can I turn them off. I checked the user settings and no application is set tom open automatically!
You have 14 days to return the computer w/no questions asked. Plus you have 90 days of FREE phone tech support on top of your standard 1 year warranty unless you also purchased AppleCare which gives you an additional 2 years of coverage plus FREE phone support.
Strongly suggest that you take FULL advantage of the above before it runs out. Let Apple deal w/the problems. -
I closed apps following the "swipe up" method and it appeared all were closed. However, when I checked in "Apps" it indicated 13 more apps were still open. How do I close them?
Hi,
Can you please share the logs?
You can use the Adobe Log Collector tool (Log Collector Tool) and share the corresponding zip file @ [email protected]
Thanks,
Shikha -
There is one problem I've had that I've never seen anyone else have! I live in an area of the Philippines with very poor performing Internet service. Things are slow but, it's enough if you have patience. My freelance work requires that I have multiple email accounts. Thunderbird handles this well except when initially checking emails. Because it checks email accounts all at once, I usually get timeouts and then have to resort to checking them manually, one at a time. So, I'm wondering if the way Thunderbird checks accounts can be changed to one at a time, especially at startup? Thanks!
Don't know any 'automatic' way - but, i have "Fetch Headers only" set on each of my 'secondary accounts'.
With varying internet service, manual "Get Messages" is probably the "Best Practice" because you will know how good your service is before you even try.
maybe set "Check for new messages every 'n' minutes" to different times
(3 minutes, 6 minutes, etc.) on each 'secondary' account. -
on a iphone4, under settings, messages, send and receive, there are multiple phone numbers listed. How do I remove them? they are constantly checked even when i uncheck them. this is causing copies of my text messages to go to those phones.
Are you using the same AppleID for all those phones? If so, get them all their own AppleID.
KOT -
How do I check my security answers for my ID? I'm sure I have put them in correctly but Apple says they are wrong. There seems to be no facility to check what answers Apple has and I do not have a rescue e-mail address.
Read the article you linked
-
How can apple put out things without checking them!
I can't believe all the issues that have happened with iTunes 7... I'm in the same boat as many - my iPod wont respond at all when connected to the comp, after working fine.
But I dont understand how they can release programs without checking them....
Even with the iPod itself.... so many times my ipod wont switch on after a day (this is before iTunes 7), making me have to press MENU. Also, it suddenly freezes.
The software doesnt seem solid at all. I dont know how a company like this with such a successful product can have second-rate software on it and being released!
Thats my vent for the day!I can't believe all the issues that have happened with iTunes 7... I'm in the same boat as many - my iPod wont respond at all when connected to the comp, after working fine.
But I dont understand how they can release programs without checking them....
Even with the iPod itself.... so many times my ipod wont switch on after a day (this is before iTunes 7), making me have to press MENU. Also, it suddenly freezes.
The software doesnt seem solid at all. I dont know how a company like this with such a successful product can have second-rate software on it and being released!
Thats my vent for the day! -
I accidentally un-checked all my songs in I-Tunes and re-checking them manually will take forever! Anyone know how to put the check mark next to all the songs at the same time?
CTRL+click on any empty check box will check all visible tracks.
tt2
Maybe you are looking for
-
Internal hard drive/repair: SMART status; Disk Utility, Tech Tool & More
machine: 12" PowerBook 1.5 GHz PowerPC G4 (Aluminium) with 80GB internal HD internal hard drive (original): Hitachi Travelstar 5K100 series HTS541080G9AT00 hard drive firmware: MB4AA5AJ ATA version: 6 ATA standard: ATA/ATAPI-6 T13 1410D revision 3a I
-
I'm unable to use the Instant message or SMS features within my yahoo email account. I've tried re-installing a new version of fire fox- ( had to use internet explorer to get online , I am able to use all of yahoos features including email messenger
-
Is there a way to undo after Photoshop has frozen and you are working with a recovered file?
so this is exactly what happened... I had been working on an edit for way too long and of course i didnt save it the entire time because im terrible i guess, I wanted to see what the deal with Lens Flare was so i went Filter>Render>Lens Flare to chec
-
Hello, We are having a problem with the security provider JSafe JCE running on WebSphere 7. The administrator of Coldfusion 10 does not run after setting the password. We had remove the security provider at runtime using these lines of code: <cfset o
-
Design Studio 1.2 with OLAP issue
HI All, I have created a report with conditional formatting in Analysis for OLAP. I saved as a web application and open in Design Studio. Everything works fine. Chart is fine. Currently I am using the chart type as Column Combination - Dual Axis on