Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
pull/1/head
Taylor Smock 2020-01-10 08:12:43 -07:00
rodzic fc98ca9747
commit d615475850
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -306,7 +306,7 @@ public class MapWithAIPreferences implements SubPreferenceSetting {
* @return A scroll pane with sources
*/
public JScrollPane legalInformation(JPanel pane) {
GBC line = GBC.eol().fill(GBC.HORIZONTAL);
GBC line = GBC.eol().fill(GridBagConstraints.HORIZONTAL);
JPanel termsOfUse = new JPanel(new GridBagLayout());
termsOfUse.add(new JLabel(tr("Server Terms Of Use")), line);
DataAvailability.getTermsOfUse().stream().map(MapWithAIPreferences::convertUrlToTextWithAction)

Wyświetl plik

@ -74,7 +74,7 @@ public class MapWithAIRemoteControlTest {
/**
* Unit test for bad request - invalid URL.
*
*
* @throws Exception if any error occurs
*/
@Test

Wyświetl plik

@ -18,7 +18,7 @@ import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.openstreetmap.josm.TestUtils;
import org.openstreetmap.josm.actions.SaveAction;
import org.openstreetmap.josm.actions.SaveActionBase;
import org.openstreetmap.josm.command.MoveCommand;
import org.openstreetmap.josm.data.UndoRedoHandler;
import org.openstreetmap.josm.data.coor.LatLon;
@ -252,7 +252,7 @@ public class MapWithAIAddComandTest {
test.endTest();
assertTrue(test.getErrors().isEmpty());
SaveAction.doSave(layer, new File("post_command1.osm"), false);
SaveActionBase.doSave(layer, new File("post_command1.osm"), false);
connectionsCommand.undoCommand();
connectionsCommand = new MapWithAIAddCommand(ds, osmData, ds.allPrimitives());
@ -261,7 +261,7 @@ public class MapWithAIAddComandTest {
test.visit(osmData.allPrimitives());
test.endTest();
assertTrue(test.getErrors().isEmpty());
SaveAction.doSave(layer, new File("post_command2.osm"), false);
SaveActionBase.doSave(layer, new File("post_command2.osm"), false);
}
}