Skip to content

Commit 4bcd4f0

Browse files
committed
8209382: [error-prone] HashtableContains in sun/rmi/server/ActivationGroupImpl.java
Reviewed-by: rriggs
1 parent a007690 commit 4bcd4f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.rmi/share/classes/sun/rmi/server/ActivationGroupImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -444,7 +444,7 @@ public void activeObject(ActivationID id, Remote impl)
444444
if (groupInactive == true)
445445
throw new ActivationException("group is inactive");
446446
}
447-
if (!active.contains(id)) {
447+
if (!active.containsKey(id)) {
448448
ActiveEntry entry = new ActiveEntry(impl);
449449
active.put(id, entry);
450450
// created new entry, so inform monitor of active object

0 commit comments

Comments
 (0)