@@ -188,7 +188,6 @@ private void createConnections() throws Exception {
188
188
(EditServiceMBean )
189
189
MBeanServerInvocationHandler .newProxyInstance (editMbs , serviceObjectName );
190
190
cfgMgr = editServiceMBean .getConfigurationManager ();
191
-
192
191
cfgMgr .startEdit (-1 , -1 );
193
192
}
194
193
@@ -238,7 +237,6 @@ private MBeanServerConnection lookupMBeanServerConnection(
238
237
if (mBeanServerConnection == null ) {
239
238
throw new Exception ("MBean server connection is null" );
240
239
}
241
-
242
240
return mBeanServerConnection ;
243
241
}
244
242
@@ -271,8 +269,7 @@ protected void verifyDebugFlagJMXCore(String serverName, boolean expectedValue)
271
269
* ServerMBean in ServerConfig MBean tree * @param serverName - name of the weblogic server
272
270
* instance for which the debug flag to be checked as a String
273
271
*/
274
- protected void verifyDebugFlagServerLifeCycle (String serverName , boolean expectedValue )
275
- {
272
+ protected void verifyDebugFlagServerLifeCycle (String serverName , boolean expectedValue ) {
276
273
ServerMBean serverMBean = getServerMBean (serverName );
277
274
ServerDebugMBean serverDebugMBean = serverMBean .getServerDebug ();
278
275
boolean debugFlag = serverDebugMBean .getDebugServerLifeCycle ();
@@ -290,7 +287,7 @@ protected void verifyDebugFlagServerLifeCycle(String serverName, boolean expecte
290
287
* @param serverName - name of the weblogic server instance for which the connect timeout to be
291
288
* checked as a String
292
289
*/
293
- protected void verifyConnectTimeout (String serverName , int expectedValue ) {
290
+ protected void verifyConnectTimeout (String serverName , int expectedValue ) {
294
291
ServerMBean serverMBean = getServerMBean (serverName );
295
292
int got = serverMBean .getConnectTimeout ();
296
293
assert expectedValue == got
@@ -336,13 +333,12 @@ protected void verifyMaxMessageSize(String serverName, int expectedValue) {
336
333
* matches with the expected value, a string value set in the configuration override file
337
334
* config.xml. Uses Java assertions to verify if both the values match.
338
335
*
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
341
338
* @param expectedValue - string value to be checked in the public-address attribute in
342
339
* ServerMBean in ServerConfig tree.
343
340
*/
344
- protected void verifyT3ChannelPublicAddress (String serverName , String expectedValue )
345
- {
341
+ protected void verifyT3ChannelPublicAddress (String serverName , String expectedValue ) {
346
342
boolean got = false ;
347
343
ServerMBean serverMBean = getServerMBean (serverName );
348
344
NetworkAccessPointMBean [] networkAccessPoints = serverMBean .getNetworkAccessPoints ();
0 commit comments