mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-21 21:25:38 +00:00
bug5920: removed M2S access token from executable parts of code; needs to come from manage2sail.accesstoken system property now
This commit is contained in:
+1
-2
@@ -1,8 +1,7 @@
|
||||
package com.sapsailing.xrr.structureimport.eventimport;
|
||||
|
||||
public class EventImport {
|
||||
|
||||
public Iterable<RegattaJSON> getRegattas(String url){
|
||||
public Iterable<RegattaJSON> getRegattas(String url) {
|
||||
EventResults results = new EventParser().parseEvent(url);
|
||||
return results.getRegattas();
|
||||
}
|
||||
|
||||
-1
@@ -24,7 +24,6 @@ public class EventParser {
|
||||
JSONObject jsonRoot;
|
||||
try {
|
||||
InputStreamReader streamReader = getStreamReader(url);
|
||||
|
||||
jsonRoot = (JSONObject) new JSONParser().parse(streamReader);
|
||||
String id = (String) jsonRoot.get("Id");
|
||||
String name = (String) jsonRoot.get("Name");
|
||||
|
||||
Reference in New Issue
Block a user