Skip to content

Commit 87259f8

Browse files
author
Steve Powell
committed
Whitespace and Java 1.5 compilation.
1 parent 41c67bf commit 87259f8

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/com/rabbitmq/client/impl/FrameHandler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public interface FrameHandler {
7373

7474
/**
7575
* Flush the underlying data connection.
76-
*
7776
* @throws IOException if there is a problem accessing the connection
7877
*/
7978
void flush() throws IOException;

test/src/com/rabbitmq/client/test/BrokenFramesTest.java

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,23 +84,23 @@ public void testNoMethod() throws Exception {
8484
assertEquals(AMQP.FRAME_METHOD, unexpectedFrameError.getExpectedFrameType());
8585
return;
8686
}
87-
87+
8888
fail("No UnexpectedFrameError thrown");
8989
}
90-
90+
9191
public void testMethodThenBody() throws Exception {
9292
List<Frame> frames = new ArrayList<Frame>();
93-
93+
9494
byte[] contentBody = new byte[10];
9595
int channelNumber = 0;
96-
96+
9797
Publish method = new Publish(1, "test", "test", false, false);
9898

9999
frames.add(method.toFrame(0));
100100
frames.add(Frame.fromBodyFragment(channelNumber, contentBody, 0, contentBody.length));
101-
101+
102102
myFrameHandler.setFrames(frames.iterator());
103-
103+
104104
try {
105105
new AMQConnection(factory.getUsername(),
106106
factory.getPassword(),
@@ -120,7 +120,7 @@ public void testMethodThenBody() throws Exception {
120120
assertEquals(AMQP.FRAME_HEADER, unexpectedFrameError.getExpectedFrameType());
121121
return;
122122
}
123-
123+
124124
fail("No UnexpectedFrameError thrown");
125125
}
126126

@@ -132,7 +132,7 @@ private UnexpectedFrameError findUnexpectedFrameError(Exception e) {
132132
return (UnexpectedFrameError) t;
133133
}
134134
}
135-
135+
136136
return null;
137137
}
138138

@@ -174,7 +174,6 @@ public int getPort() {
174174
return -1;
175175
}
176176

177-
@Override
178177
public void flush() throws IOException {
179178
// no need to implement this: don't bother writing the frame
180179
}

0 commit comments

Comments
 (0)