Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
NomadCommandSystem
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Instrument Control
NomadCommandSystem
Commits
9d397bdc
Commit
9d397bdc
authored
Mar 14, 2019
by
Cristina Cocho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Overwritten equals method in Property class.
parent
086338f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/main/java/fr/ill/ics/core/property/Property.java
src/main/java/fr/ill/ics/core/property/Property.java
+12
-0
No files found.
src/main/java/fr/ill/ics/core/property/Property.java
View file @
9d397bdc
...
...
@@ -902,6 +902,18 @@ public abstract class Property implements ServerPropertyChangeListener, ICommand
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
obj
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
obj
.
getClass
())
{
return
false
;
}
final
Property
other
=
(
Property
)
obj
;
return
id
==
other
.
getPropertyID
();
}
public
abstract
String
getType
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment