Skip to content

Commit 383df5c

Browse files
committed
fix syntax
1 parent 1affc8c commit 383df5c

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

integration-tests/src/test/resources/sitconfig/java/SitConfigTests.java

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ private void createConnections() throws Exception {
188188
(EditServiceMBean)
189189
MBeanServerInvocationHandler.newProxyInstance(editMbs, serviceObjectName);
190190
cfgMgr = editServiceMBean.getConfigurationManager();
191-
192191
cfgMgr.startEdit(-1, -1);
193192
}
194193

@@ -238,7 +237,6 @@ private MBeanServerConnection lookupMBeanServerConnection(
238237
if (mBeanServerConnection == null) {
239238
throw new Exception("MBean server connection is null");
240239
}
241-
242240
return mBeanServerConnection;
243241
}
244242

@@ -271,8 +269,7 @@ protected void verifyDebugFlagJMXCore(String serverName, boolean expectedValue)
271269
* ServerMBean in ServerConfig MBean tree * @param serverName - name of the weblogic server
272270
* instance for which the debug flag to be checked as a String
273271
*/
274-
protected void verifyDebugFlagServerLifeCycle(String serverName, boolean expectedValue)
275-
{
272+
protected void verifyDebugFlagServerLifeCycle(String serverName, boolean expectedValue) {
276273
ServerMBean serverMBean = getServerMBean(serverName);
277274
ServerDebugMBean serverDebugMBean = serverMBean.getServerDebug();
278275
boolean debugFlag = serverDebugMBean.getDebugServerLifeCycle();
@@ -290,7 +287,7 @@ protected void verifyDebugFlagServerLifeCycle(String serverName, boolean expecte
290287
* @param serverName - name of the weblogic server instance for which the connect timeout to be
291288
* checked as a String
292289
*/
293-
protected void verifyConnectTimeout(String serverName, int expectedValue) {
290+
protected void verifyConnectTimeout(String serverName, int expectedValue) {
294291
ServerMBean serverMBean = getServerMBean(serverName);
295292
int got = serverMBean.getConnectTimeout();
296293
assert expectedValue == got
@@ -336,13 +333,12 @@ protected void verifyMaxMessageSize(String serverName, int expectedValue) {
336333
* matches with the expected value, a string value set in the configuration override file
337334
* config.xml. Uses Java assertions to verify if both the values match.
338335
*
339-
* @param serverName name of the weblogic server instance for which the t3 public address to be checked
340-
* as a String
336+
* @param serverName name of the weblogic server instance for which the t3 public address to be
337+
* checked as a String
341338
* @param expectedValue - string value to be checked in the public-address attribute in
342339
* ServerMBean in ServerConfig tree.
343340
*/
344-
protected void verifyT3ChannelPublicAddress(String serverName, String expectedValue)
345-
{
341+
protected void verifyT3ChannelPublicAddress(String serverName, String expectedValue) {
346342
boolean got = false;
347343
ServerMBean serverMBean = getServerMBean(serverName);
348344
NetworkAccessPointMBean[] networkAccessPoints = serverMBean.getNetworkAccessPoints();

0 commit comments

Comments
 (0)