Kaydet (Commit) 5d042ce1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

jvmaccess: simplify deprecated XTypeProvider.getImplementationId

Change-Id: I2198f013ce94dc65a7c540a599ee7160ba8d9295
üst 7078dbb9
...@@ -46,13 +46,7 @@ public final class TestComponent implements XTypeProvider, XServiceInfo, XMain { ...@@ -46,13 +46,7 @@ public final class TestComponent implements XTypeProvider, XServiceInfo, XMain {
} }
public byte[] getImplementationId() { public byte[] getImplementationId() {
byte[] id = new byte[16]; return new byte[0];
int n = hashCode();
id[0] = (byte) (n & 0xFF);
id[1] = (byte) ((n >> 8) & 0xFF);
id[2] = (byte) ((n >> 16) & 0xFF);
id[3] = (byte) ((n >> 24) & 0xFF);
return id;
} }
public String getImplementationName() { public String getImplementationName() {
......
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