Skip to content

Commit 38f47a4

Browse files
author
Isaac Raño Jares
committed
Follow a common criteria for returned values
1 parent 7e6dbaa commit 38f47a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/org/freedesktop/gstreamer/GInetSocketAddress.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public GInetSocketAddress(Initializer init) {
2727
super(init);
2828
}
2929

30-
public Integer getPort() {
30+
public int getPort() {
3131
return (Integer) get("port");
3232
}
3333

src/org/freedesktop/gstreamer/GSocket.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public boolean isBlocking() {
7777
return (Boolean) get("blocking");
7878
}
7979

80-
public Integer getFD() {
80+
public int getFD() {
8181
return (Integer) get("fd");
8282
}
8383

0 commit comments

Comments
 (0)