- Timestamp:
- 2011-09-17T12:29:55+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ImageryPreference.java
r4433 r4434 21 21 import java.util.ArrayList; 22 22 import java.util.HashMap; 23 import java.util.HashSet; 23 24 import java.util.List; 24 25 import java.util.Locale; 25 26 import java.util.Map; 27 import java.util.Set; 28 26 29 import javax.swing.AbstractAction; 27 30 import javax.swing.BorderFactory; … … 663 666 return; 664 667 } 668 669 Set<String> acceptedEulas = new HashSet<String>(); 665 670 666 671 outer: for (int i = 0; i < lines.length; i++) { … … 679 684 } 680 685 681 if (info.getEulaAcceptanceRequired() != null) { 682 if (!confirmEulaAcceptance(gui, info.getEulaAcceptanceRequired())) { 686 String eulaURL = info.getEulaAcceptanceRequired(); 687 // If set and not already accepted, ask for EULA acceptance 688 if (eulaURL != null && !acceptedEulas.contains(eulaURL)) { 689 if (confirmEulaAcceptance(gui, eulaURL)) { 690 acceptedEulas.add(eulaURL); 691 } else { 683 692 continue outer; 684 693 }
Note:
See TracChangeset
for help on using the changeset viewer.