Skip to content

Commit 8d990d5

Browse files
committed
clean function from print
1 parent 0291117 commit 8d990d5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/save-and-restore/app/src/main/java/org/phoebus/applications/saveandrestore/ui/snapshot/SnapshotController.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,31 +270,25 @@ public void newSnapshot(Node configurationNode) {
270270

271271
public String getValueVType(String pvEntry, List<SnapshotItem> entries){
272272
String valueOutput ="";
273-
274-
System.out.println("length "+entries.size());
275273
for (SnapshotItem e : entries) {
276274
System.out.println("name "+e.getConfigPv().getPvName());
277275
if (e.getConfigPv().getPvName().equals(pvEntry)){
278276
VType newValue=e.getValue();
279277
if (newValue instanceof VNumber) {
280278
Number newVType = ((VNumber) newValue).getValue();
281279
valueOutput=newVType.toString();
282-
System.out.println("VNumber "+valueOutput);
283280
return valueOutput;
284281
} else if (newValue instanceof VString) {
285282
String newVType = ((VString) newValue).getValue();
286283
valueOutput=newVType.toString();
287-
System.out.println("VString "+valueOutput);
288284
return valueOutput;
289285
} else if (newValue instanceof VStringArray) {
290286
List<String> newVType =((VStringArray) newValue).getData();
291287
valueOutput=newVType.toString();
292-
System.out.println("VStringArray "+valueOutput);
293288
return valueOutput;
294289
} else if (newValue instanceof VEnum) {
295290
VEnum newVType = (VEnum) newValue;
296291
valueOutput=newVType.getValue().toString();
297-
System.out.println("VEnum "+valueOutput);
298292
return valueOutput;
299293
}
300294
}

0 commit comments

Comments
 (0)