Skip to content

Commit a31e58d

Browse files
committed
TRANSPORT_NAME should be a String.
1 parent 170c346 commit a31e58d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.project

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
<arguments>
1111
</arguments>
1212
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
15+
<triggers>full,incremental,</triggers>
16+
<arguments>
17+
<dictionary>
18+
<key>LaunchConfigHandle</key>
19+
<value>&lt;project&gt;/.externalToolBuilders/io.socket.launch</value>
20+
</dictionary>
21+
</arguments>
22+
</buildCommand>
1323
</buildSpec>
1424
<natures>
1525
<nature>org.eclipse.jdt.core.javanature</nature>

src/io/socket/transports/WebsocketTransport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
public class WebsocketTransport extends WebSocketClient implements IOTransport {
2222
private final static Pattern PATTERN_HTTP = Pattern.compile("^http");
23-
public static final Object TRANSPORT_NAME = "websocket";
23+
public static final String TRANSPORT_NAME = "websocket";
2424

2525
public static IOTransport create(URL url, IOConnection connection) {
2626
URI uri = URI.create(

0 commit comments

Comments
 (0)