Skip to content

Commit f2e671c

Browse files
committed
When org.csstudio.trends.databrowser3/archives is empty databrowser3
still create a ArchiveDataSource with an empty URL and throws an error
1 parent 6ad3f81 commit f2e671c

File tree

1 file changed

+2
-2
lines changed
  • app/databrowser/src/main/java/org/csstudio/trends/databrowser3/preferences

1 file changed

+2
-2
lines changed

app/databrowser/src/main/java/org/csstudio/trends/databrowser3/preferences/Preferences.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class Preferences
3434
*/
3535
final private static String
3636
PROMPT_FOR_RAW_DATA = "prompt_for_raw_data_request",
37-
PROMPT_FOR_VISIBILITY = "prompt_for_visibility";
37+
PROMPT_FOR_VISIBILITY = "prompt_for_visibility";
3838

3939
/** Predefined time range */
4040
public static class TimePreset
@@ -115,7 +115,7 @@ public static class TimePreset
115115

116116
// Allow at least one at a time
117117
if (concurrent_requests < 1)
118-
concurrent_requests = 1;
118+
concurrent_requests = 1;
119119

120120
archive_urls = parseArchives(prefs.get("urls"));
121121
archives = parseArchives(prefs.get("archives"));

0 commit comments

Comments
 (0)