Skip to content

Commit 509ac17

Browse files
committed
Updated formatter plugin. Added hashCode/equals to WS classes
1 parent e23bd42 commit 509ac17

File tree

528 files changed

+3233
-3189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

528 files changed

+3233
-3189
lines changed

client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.red5</groupId>
55
<artifactId>red5-parent</artifactId>
6-
<version>1.2.24</version>
6+
<version>1.2.25</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99
<artifactId>red5-client</artifactId>

client/src/main/java/org/red5/client/PublishModes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* recording it. If a file with a name that matches the value passed to the name parameter exists, it is deleted.
1919
*
2020
* @author Stoian Ivanov (s.ivanov_at_teracomm.bg)
21-
*
21+
*
2222
*/
2323
public final class PublishModes {
2424

client/src/main/java/org/red5/client/Red5Client.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/**
1111
* Utility class for accessing Red5 "client" objects.
12-
*
12+
*
1313
* @author The Red5 Project
1414
* @author Paul Gregoire ([email protected])
1515
*/
@@ -18,7 +18,7 @@ public final class Red5Client {
1818
/**
1919
* Current server version with revision
2020
*/
21-
public static final String VERSION = "Red5 Client 1.2.24";
21+
public static final String VERSION = "Red5 Client 1.2.25";
2222

2323
/**
2424
* Create a new Red5Client object using the connection local to the current thread A bit of magic that lets you access the red5 scope
@@ -29,7 +29,7 @@ public Red5Client() {
2929

3030
/**
3131
* Returns the current version with revision number
32-
*
32+
*
3333
* @return String version
3434
*/
3535
public static String getVersion() {

client/src/main/java/org/red5/client/StreamRelay.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
/**
3030
* Relay a stream from one location to another via RTMP.
31-
*
31+
*
3232
* @author Paul Gregoire ([email protected])
3333
*/
3434
public class StreamRelay {
@@ -47,7 +47,7 @@ public class StreamRelay {
4747

4848
/**
4949
* Creates a stream client to consume a stream from an end point and a proxy to relay the stream to another end point.
50-
*
50+
*
5151
* @param args
5252
* application arguments
5353
*/

client/src/main/java/org/red5/client/net/remoting/DSRemotingClient.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
/**
3838
* Client interface for remoting calls directed at an LCDS or BlazeDS style service.
39-
*
39+
*
4040
* @author The Red5 Project
4141
* @author Paul Gregoire ([email protected])
4242
*/
@@ -59,7 +59,7 @@ public DSRemotingClient() {
5959

6060
/**
6161
* Create new remoting client for the given url.
62-
*
62+
*
6363
* @param url
6464
* URL to connect to
6565
*/
@@ -78,7 +78,7 @@ public void setDataSourceId(String dataSourceId) {
7878

7979
/**
8080
* Encode the method call.
81-
*
81+
*
8282
* @param method
8383
* Remote method being called
8484
* @param params
@@ -116,7 +116,7 @@ private IoBuffer encodeInvoke(String method, Object[] params) {
116116
Output.putString(result, method);
117117
// Client callback for response
118118
//Output.putString(result, "");
119-
//responseURI
119+
//responseURI
120120
Output.putString(result, "/" + sequenceCounter++);
121121
// Serialize parameters
122122
IoBuffer tmp = IoBuffer.allocate(1024);
@@ -142,7 +142,7 @@ private IoBuffer encodeInvoke(String method, Object[] params) {
142142

143143
/**
144144
* Process any headers sent in the response.
145-
*
145+
*
146146
* @param in
147147
* Byte buffer with response data
148148
*/
@@ -199,7 +199,7 @@ protected void processHeaders(IoBuffer in) {
199199

200200
/**
201201
* Decode response received from remoting server.
202-
*
202+
*
203203
* @param data
204204
* Result data to decode
205205
* @return Object deserialized from byte buffer data
@@ -217,7 +217,7 @@ private Object decodeResult(IoBuffer data) {
217217
log.debug("NUL: {}", b); //0
218218
log.debug("SOH: {}", data.get()); //1
219219
} else if (b == 1) {
220-
log.debug("SOH: {}", b); //1
220+
log.debug("SOH: {}", b); //1
221221
}
222222

223223
int targetUriLength = data.getShort();
@@ -261,7 +261,7 @@ private Object decodeResult(IoBuffer data) {
261261

262262
/**
263263
* Invoke a method synchronously on the remoting server.
264-
*
264+
*
265265
* @param method
266266
* Method name
267267
* @param params
@@ -322,7 +322,7 @@ public Object invokeMethod(String method, Object[] params) {
322322

323323
/**
324324
* Used for debugging byte stream.
325-
*
325+
*
326326
* @param data
327327
* IoBuffer
328328
*/
@@ -392,7 +392,7 @@ public static void main(String[] args) {
392392
do {
393393
Thread.sleep(5000);
394394
log.info("Done with sleeping");
395-
//send poll
395+
//send poll
396396
//0 messages - returns DSK
397397
//n messages - CommandMessage with internal DSA
398398
msg = new CommandMessage();

0 commit comments

Comments
 (0)