comment the changes out, to fix jenkins
authorKatja Luther <k.luther@bgbm.org>
Tue, 19 Jul 2016 11:50:50 +0000 (13:50 +0200)
committerKatja Luther <k.luther@bgbm.org>
Tue, 19 Jul 2016 11:51:13 +0000 (13:51 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/DataImportEditorContextMenu.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/SaveImportedSpecimenAction.java

index 08e6d80a8840b2d50c3ff1bbda8cda6ed5903a6b..66623732ac7efcc911495a33b8bafe0f606c9378 100755 (executable)
@@ -94,7 +94,7 @@ public class DataImportEditorContextMenu extends CompoundContributionItem {
                                             Set<String[]> unitIds = new HashSet<String[]>();
                                             String[] tripleId = {response.getUnitId()};
                                             unitIds.add(tripleId);
-                                            final BioCaseEditorInput input = new BioCaseEditorInput(new OccurenceQuery(unitIds), response.getEndpoint());
+                                           /* final BioCaseEditorInput input = new BioCaseEditorInput(new OccurenceQuery(unitIds), response.getEndpoint());
                                            // EditorUtil.open(input);
                                             Job queryJob = new Job("Querying for original record...") {
 
@@ -104,7 +104,7 @@ public class DataImportEditorContextMenu extends CompoundContributionItem {
                                                     return Status.OK_STATUS;
                                                 }
                                             };
-                                            queryJob.schedule();
+                                            queryJob.schedule();*/
                                         } catch (ClientProtocolException e) {
                                             logger.error("Query for single record failed.", e);
                                         } catch (IOException e) {
index 3ccef1a20abe60965c0561980aac0207dac19207..b97e5f8edfd79ccea7009263744bc8ea1fad2fe2 100644 (file)
@@ -54,21 +54,19 @@ public class SaveImportedSpecimenAction extends Action {
             }
                 for (GbifResponse response:checkedResults){
                        if (response != null){
-                               System.err.println("response: " + response.getDataSetUri() + " " + response.getDataSetProtocol());
-                               
-                                       String[] tripleId = response.getTripleID();
-                                       unitIds.add(tripleId);
-                                       
+                               /*String[] tripleId = response.getTripleID();
+                               unitIds.add(tripleId);
+                                       */
                        }
                 }
                 
                 DwcaImportConfigurator configurator = DwcaImportConfigurator.NewInstance(null, null);
-                OccurenceQuery query = new OccurenceQuery(unitIds);
+               /* OccurenceQuery query = new OccurenceQuery(unitIds);
                 configurator.setQuery(query);
-               
-                Job job = CdmStore.getImportManager().createIOServiceJob(configurator);
+               */
+                /*Job job = CdmStore.getImportManager().createIOServiceJob(configurator);
                 CdmStore.getImportManager().run(job);
-                
+                */
                 
             }
         }