We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5474d71 commit f82db8fCopy full SHA for f82db8f
1 file changed
src/main/java/org/scijava/ops/matcher/OpRef.java
@@ -102,20 +102,20 @@ public String getName() {
102
103
/** Gets the types which the op must match. */
104
public Type[] getTypes() {
105
- return types;
+ return types.clone();
106
}
107
108
/**
109
* Gets the op's output types (one constraint per output), or null for no
110
* constraints.
111
*/
112
public Type[] getOutTypes() {
113
- return outTypes;
+ return outTypes.clone();
114
115
116
/** Gets the op's arguments. */
117
public Type[] getArgs() {
118
- return args;
+ return args.clone();
119
120
121
0 commit comments