Skip to content

Commit 1654e94

Browse files
egonwrajarshi
authored andcommitted
Cleaned up the code a bit
Signed-off-by: Rajarshi Guha <rajarshi.guha@gmail.com>
1 parent ae347ce commit 1654e94

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/main/org/openscience/cdk/isomorphism/matchers/InverseSymbolSetQueryAtom.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
/*
2-
* $RCSfile$
3-
* $Author$
4-
* $Date$
5-
* $Revision$
6-
*
7-
* Copyright (C) 2004-2007 The Chemistry Development Kit (CDK) project
1+
/* Copyright (C) 2004-2007 The Chemistry Development Kit (CDK) project
2+
* 2010 Egon Willighagen <egonw@users.sf.net>
83
*
94
* Contact: cdk-devel@lists.sourceforge.net
105
*
@@ -25,6 +20,7 @@
2520
package org.openscience.cdk.isomorphism.matchers;
2621

2722
import java.util.HashSet;
23+
import java.util.Set;
2824

2925
import org.openscience.cdk.interfaces.IAtom;
3026

@@ -44,8 +40,7 @@ public class InverseSymbolSetQueryAtom extends org.openscience.cdk.PseudoAtom im
4440

4541
private static final long serialVersionUID = -6570190504347822438L;
4642

47-
private HashSet symbols = new HashSet();
48-
43+
private Set<String> symbols = new HashSet<String>();
4944

5045
/**
5146
* Constructor for the InverseSymbolSetQueryAtom object
@@ -100,7 +95,7 @@ public boolean hasSymbol(String symbol) {
10095
*
10196
*@return The symbol Set
10297
*/
103-
public HashSet getSymbolSet() {
98+
public Set<String> getSymbolSet() {
10499
return symbols;
105100
}
106101

0 commit comments

Comments
 (0)