Skip to content

Commit 607b217

Browse files
committed
many minor changes to copy facility
1 parent edf4b7a commit 607b217

17 files changed

Lines changed: 1199 additions & 1547 deletions

pvDataJava/src/org/epics/pvdata/copy/CreateRequest.java

Lines changed: 289 additions & 289 deletions
Large diffs are not rendered by default.

pvDataJava/src/org/epics/pvdata/copy/PVCopy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public interface PVCopy {
8888
* @param bitSet The offsets within PVStructure that have new data.
8989
*/
9090
void updateMaster(PVStructure copyPVStructure,BitSet bitSet);
91-
/**
91+
/**
9292
* Get options for a field in a PVStructure created by pvCopy
9393
* @param fieldOffset The field offset.
9494
* @return The pvStructure containing the options or null if the field did not have options.

pvDataJava/src/org/epics/pvdata/copy/PVCopyFactory.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*/
1313
public class PVCopyFactory {
14-
private static boolean firstTime = true;
14+
private static boolean firstTime = true;
1515
/**
1616
* Map a subset of the fields within a PVRecord.
1717
* @param pvMaster The master PVStructure.
@@ -22,12 +22,12 @@ public class PVCopyFactory {
2222
* @return The PVCopy interface.
2323
*/
2424
public static PVCopy create(PVStructure pvMaster,PVStructure pvRequest,String structureName) {
25-
if(firstTime) {
26-
firstTime = false;
27-
new org.epics.pvdata.copy.arrayPlugin.ArrayPlugin();
28-
new org.epics.pvdata.copy.timestampPlugin.TimestampPlugin();
29-
new org.epics.pvdata.copy.deadbandPlugin.DeadbandPlugin();
30-
}
31-
return PVCopyImpl.create(pvMaster, pvRequest,structureName);
25+
if(firstTime) {
26+
firstTime = false;
27+
new org.epics.pvdata.copy.arrayPlugin.ArrayPlugin();
28+
new org.epics.pvdata.copy.timestampPlugin.TimestampPlugin();
29+
new org.epics.pvdata.copy.deadbandPlugin.DeadbandPlugin();
30+
}
31+
return PVCopyImpl.create(pvMaster, pvRequest,structureName);
3232
}
3333
}

0 commit comments

Comments
 (0)