GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — remove unnecessary parens · Dreadchild/processing@f0ae01d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • java/libraries
    • net/src/processing/net
      • Server.java
    • serial/src/processing/serial
      • Serial.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎java/libraries/net/src/processing/net/Server.java‎

Copy file name to clipboardExpand all lines: java/libraries/net/src/processing/net/Server.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,16 @@ protected int clientIndex(Client client) {
177177
return -1;
178178
}
179179

180+
180181
/**
181182
* Return true if this server is still active and hasn't run
182183
* into any trouble.
183184
*/
184185
public boolean active() {
185-
return (thread != null);
186+
return thread != null;
186187
}
187188

189+
188190
static public String ip() {
189191
try {
190192
return InetAddress.getLocalHost().getHostAddress();
Collapse file

‎java/libraries/serial/src/processing/serial/Serial.java‎

Copy file name to clipboardExpand all lines: java/libraries/serial/src/processing/serial/Serial.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void dispose() {
140140
* into any trouble.
141141
*/
142142
public boolean active() {
143-
return (port.isOpened());
143+
return port.isOpened();
144144
}
145145

146146

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.