Skip to content

Commit

Permalink
sonar cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddlet2666 committed Feb 27, 2024
1 parent d425a17 commit 75b1b58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public Set<ObjectName> getAllProxyServerMembers()
public Set<ObjectName> getViewMembers(String sServiceName, String sViewName)
throws Exception
{
return f_connection.queryNames(new ObjectName("Coherence:type=View,service=" + sServiceName + ",name=" + sViewName + ",*"), null);
return f_connection.queryNames(new ObjectName("Coherence:type=View,service=" + sServiceName + NAME + sViewName + ",*"), null);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1348,8 +1348,7 @@ private Color getColour()
/**
* The storage view data retrieved from the {@link VisualVMModel}.
*/
private List<Entry<Object, Data>> m_viewData = null;

private transient List<Entry<Object, Data>> m_viewData = null;

/**
* The row selection listener.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
import static com.oracle.coherence.plugin.visualvm.helper.JMXUtils.getAttributeValueAsString;

import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.oracle.coherence.plugin.visualvm.VisualVMModel;
import com.oracle.coherence.plugin.visualvm.helper.HttpRequestSender;
import com.oracle.coherence.plugin.visualvm.helper.RequestSender;

import javax.management.AttributeList;
import javax.management.ObjectName;

Expand Down Expand Up @@ -79,7 +79,7 @@ public List<Map.Entry<Object, Data>> getJMXData(RequestSender requestSender, Vis

for (Iterator<ObjectName> nodIter = viewNamesSet.iterator(); nodIter.hasNext(); )
{
ObjectName viewNameObjName = (ObjectName) nodIter.next();
ObjectName viewNameObjName = nodIter.next();

data = new ViewData();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
</filters>

<query>
<!-- <pattern>Coherence:type=View,*</pattern>-->
<pattern>Coherence:type=View,service=%SERVICE_NAME%,name=%VIEW_NAME%,*</pattern>
</query>

Expand Down

0 comments on commit 75b1b58

Please sign in to comment.