Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.utplsql.sqldev.ui.runner;

import java.text.DecimalFormat;
import java.util.Locale;

public class SmartTime {
private Double seconds;
Expand Down Expand Up @@ -46,7 +45,6 @@ public Double getSeconds() {

@Override
public String toString() {
Locale.setDefault(new Locale("en", "US"));
String ret;
if (seconds == null) {
ret = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@
*/
package org.utplsql.sqldev.test.runner;

import java.util.Locale;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.utplsql.sqldev.ui.runner.SmartTime;

public class SmartTimeTest {

@Before
public void setup() {
Locale.setDefault(new Locale("en", "US"));
}

@Test
public void null_default() {
Expand Down