[jboss-cvs] JBoss Messaging SVN: r5462 - trunk/src/main/org/jboss/messaging/core/management/jmx/impl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 4 10:39:04 EST 2008
Author: jmesnil
Date: 2008-12-04 10:39:04 -0500 (Thu, 04 Dec 2008)
New Revision: 5462
Modified:
trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareAddressControlWrapper.java
trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareMessagingServerControlWrapper.java
trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareQueueControlWrapper.java
Log:
flagged method parameters as final
Modified: trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareAddressControlWrapper.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareAddressControlWrapper.java 2008-12-04 15:28:55 UTC (rev 5461)
+++ trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareAddressControlWrapper.java 2008-12-04 15:39:04 UTC (rev 5462)
@@ -79,12 +79,12 @@
return localAddressControl.getRoles();
}
- public void removeRole(String name) throws Exception
+ public void removeRole(final String name) throws Exception
{
replicationAwareInvoke("removeRole", name);
}
- public void addRole(String name, boolean create, boolean read, boolean write) throws Exception
+ public void addRole(final String name, final boolean create, final boolean read, final boolean write) throws Exception
{
replicationAwareInvoke("addRole", name, create, read, write);
}
Modified: trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareMessagingServerControlWrapper.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareMessagingServerControlWrapper.java 2008-12-04 15:28:55 UTC (rev 5461)
+++ trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareMessagingServerControlWrapper.java 2008-12-04 15:39:04 UTC (rev 5462)
@@ -243,27 +243,27 @@
return (Boolean)replicationAwareInvoke("addAddress", address);
}
- public boolean closeConnectionsForAddress(String ipAddress) throws Exception
+ public boolean closeConnectionsForAddress(final String ipAddress) throws Exception
{
return (Boolean)replicationAwareInvoke("closeConnectionsForAddress", ipAddress);
}
- public boolean commitPreparedTransaction(String transactionAsBase64) throws Exception
+ public boolean commitPreparedTransaction(final String transactionAsBase64) throws Exception
{
return (Boolean)replicationAwareInvoke("commitPreparedTransaction", transactionAsBase64);
}
- public void createQueue(String address, String name) throws Exception
+ public void createQueue(final String address, final String name) throws Exception
{
replicationAwareInvoke("createQueue", address, name);
}
- public void createQueue(String address, String name, String filter, boolean durable, boolean fanout) throws Exception
+ public void createQueue(final String address, final String name, final String filter, final boolean durable, final boolean fanout) throws Exception
{
replicationAwareInvoke("createQueue", address, name, filter, durable, fanout);
}
- public void destroyQueue(String name) throws Exception
+ public void destroyQueue(final String name) throws Exception
{
replicationAwareInvoke("destroyQueue", name);
}
@@ -278,7 +278,7 @@
replicationAwareInvoke("enableMessageCounters");
}
- public boolean removeAddress(String address) throws Exception
+ public boolean removeAddress(final String address) throws Exception
{
return (Boolean)replicationAwareInvoke("removeAddress", address);
}
@@ -293,17 +293,17 @@
replicationAwareInvoke("resetAllMessageCounters");
}
- public boolean rollbackPreparedTransaction(String transactionAsBase64) throws Exception
+ public boolean rollbackPreparedTransaction(final String transactionAsBase64) throws Exception
{
return (Boolean)replicationAwareInvoke("rollbackPreparedTransaction", transactionAsBase64);
}
- public void setMessageCounterMaxDayCount(int count) throws Exception
+ public void setMessageCounterMaxDayCount(final int count) throws Exception
{
replicationAwareInvoke("setMessageCounterMaxDayCount", count);
}
- public void setMessageCounterSamplePeriod(long newPeriod) throws Exception
+ public void setMessageCounterSamplePeriod(final long newPeriod) throws Exception
{
replicationAwareInvoke("setMessageCounterSamplePeriod", newPeriod);
}
Modified: trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareQueueControlWrapper.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareQueueControlWrapper.java 2008-12-04 15:28:55 UTC (rev 5461)
+++ trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareQueueControlWrapper.java 2008-12-04 15:39:04 UTC (rev 5462)
@@ -159,7 +159,7 @@
return localQueueControl.listMessageCounterHistoryAsHTML();
}
- public TabularData listMessages(String filter) throws Exception
+ public TabularData listMessages(final String filter) throws Exception
{
return localQueueControl.listMessages(filter);
}
@@ -169,32 +169,32 @@
return localQueueControl.listScheduledMessages();
}
- public boolean changeMessagePriority(long messageID, int newPriority) throws Exception
+ public boolean changeMessagePriority(final long messageID, final int newPriority) throws Exception
{
return (Boolean)replicationAwareInvoke("changeMessagePriority", messageID, newPriority);
}
- public boolean expireMessage(long messageID) throws Exception
+ public boolean expireMessage(final long messageID) throws Exception
{
return (Boolean)replicationAwareInvoke("expireMessage", messageID);
}
- public int expireMessages(String filter) throws Exception
+ public int expireMessages(final String filter) throws Exception
{
return (Integer)replicationAwareInvoke("expireMessages", filter);
}
- public int moveAllMessages(String otherQueueName) throws Exception
+ public int moveAllMessages(final String otherQueueName) throws Exception
{
return (Integer)replicationAwareInvoke("moveAllMessages", otherQueueName);
}
- public int moveMatchingMessages(String filter, String otherQueueName) throws Exception
+ public int moveMatchingMessages(final String filter, final String otherQueueName) throws Exception
{
return (Integer)replicationAwareInvoke("moveMatchingMessages", filter, otherQueueName);
}
- public boolean moveMessage(long messageID, String otherQueueName) throws Exception
+ public boolean moveMessage(final long messageID, final String otherQueueName) throws Exception
{
return (Boolean)replicationAwareInvoke("moveMessage", messageID, otherQueueName);
}
@@ -204,17 +204,17 @@
return (Integer)replicationAwareInvoke("removeAllMessages");
}
- public int removeMatchingMessages(String filter) throws Exception
+ public int removeMatchingMessages(final String filter) throws Exception
{
return (Integer)replicationAwareInvoke("removeMatchingMessages", filter);
}
- public boolean removeMessage(long messageID) throws Exception
+ public boolean removeMessage(final long messageID) throws Exception
{
return (Boolean)replicationAwareInvoke("removeMessage", messageID);
}
- public boolean sendMessageToDeadLetterAddress(long messageID) throws Exception
+ public boolean sendMessageToDeadLetterAddress(final long messageID) throws Exception
{
return (Boolean)replicationAwareInvoke("sendMessageToDeadLetterAddress", messageID);
}
More information about the jboss-cvs-commits
mailing list