mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8209382: [error-prone] HashtableContains in sun/rmi/server/ActivationGroupImpl.java
Reviewed-by: rriggs
This commit is contained in:
parent
a007690fa0
commit
4bcd4f04a2
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -444,7 +444,7 @@ public class ActivationGroupImpl extends ActivationGroup {
|
|||
if (groupInactive == true)
|
||||
throw new ActivationException("group is inactive");
|
||||
}
|
||||
if (!active.contains(id)) {
|
||||
if (!active.containsKey(id)) {
|
||||
ActiveEntry entry = new ActiveEntry(impl);
|
||||
active.put(id, entry);
|
||||
// created new entry, so inform monitor of active object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue