Commit 73ea501b authored by Eric Bruneton's avatar Eric Bruneton

Improve the code quality of ByteVector.

parent 3f8159e0
......@@ -136,10 +136,7 @@ public class Attribute {
final int len,
final int maxStack,
final int maxLocals) {
ByteVector v = new ByteVector();
v.data = value;
v.length = value.length;
return v;
return new ByteVector(value);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment