Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Sho SHIMIZU
2015-06-30 09:43:11 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d5c66afc6051cd811a2ca6dd2d39ba0e999fd112
d5c66afc
1 parent
574d238d
Avoid unnecessary object creation
Change-Id: Iae5cb3c23540f9ac7105aa0b4c0b672ff8f75715
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
core/api/src/main/java/org/onosproject/net/PortNumber.java
core/api/src/main/java/org/onosproject/net/PortNumber.java
View file @
d5c66af
...
...
@@ -17,8 +17,6 @@ package org.onosproject.net;
import
com.google.common.primitives.UnsignedLongs
;
import
java.util.Objects
;
/**
* Representation of a port number.
*/
...
...
@@ -167,7 +165,7 @@ public final class PortNumber {
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
number
);
return
Long
.
hashCode
(
number
);
}
@Override
...
...
Please
register
or
login
to post a comment