lttng: Fix more Sonar warnings in LTTng Tracer Control
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / service / ILttngControlService.java
index cecee4fd6d1457012e1c369f617a179388ba2555..96c41965601ad39a6d1327a4a2a970a292bd8c0b 100644 (file)
@@ -36,7 +36,7 @@ public interface ILttngControlService {
     /**
      * @return the version string.
      */
-    public String getVersion();
+    String getVersion();
 
     /**
      * Checks if given version is supported by this ILTTngControlService implementation.
@@ -44,7 +44,7 @@ public interface ILttngControlService {
      * @param version The version to check
      * @return <code>true</code> if version is supported else <code>false</code>
      */
-    public boolean isVersionSupported(String version);
+    boolean isVersionSupported(String version);
 
     /**
      * Retrieves the existing sessions names from the node.
@@ -55,7 +55,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public String[] getSessionNames(IProgressMonitor monitor)
+    String[] getSessionNames(IProgressMonitor monitor)
             throws ExecutionException;
 
     /**
@@ -69,7 +69,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public ISessionInfo getSession(String sessionName, IProgressMonitor monitor)
+    ISessionInfo getSession(String sessionName, IProgressMonitor monitor)
             throws ExecutionException;
 
     /**
@@ -81,7 +81,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public List<IBaseEventInfo> getKernelProvider(IProgressMonitor monitor)
+    List<IBaseEventInfo> getKernelProvider(IProgressMonitor monitor)
             throws ExecutionException;
 
     /**
@@ -102,7 +102,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public List<IUstProviderInfo> getUstProvider(IProgressMonitor monitor)
+    List<IUstProviderInfo> getUstProvider(IProgressMonitor monitor)
             throws ExecutionException;
 
     /**
@@ -118,7 +118,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public ISessionInfo createSession(String sessionName, String sessionPath, IProgressMonitor monitor) throws ExecutionException;
+    ISessionInfo createSession(String sessionName, String sessionPath, IProgressMonitor monitor) throws ExecutionException;
 
     /**
      * Creates a session with given session name and location.
@@ -138,7 +138,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public ISessionInfo createSession(String sessionName, String networkUrl, String controlUrl, String dataUrl, IProgressMonitor monitor) throws ExecutionException;
+    ISessionInfo createSession(String sessionName, String networkUrl, String controlUrl, String dataUrl, IProgressMonitor monitor) throws ExecutionException;
 
     /**
      * Destroys a session with given session name.
@@ -150,7 +150,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void destroySession(String sessionName, IProgressMonitor monitor)
+    void destroySession(String sessionName, IProgressMonitor monitor)
             throws ExecutionException;
 
     /**
@@ -163,7 +163,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void startSession(String sessionName, IProgressMonitor monitor)
+    void startSession(String sessionName, IProgressMonitor monitor)
             throws ExecutionException;
 
     /**
@@ -176,7 +176,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void stopSession(String sessionName, IProgressMonitor monitor)
+    void stopSession(String sessionName, IProgressMonitor monitor)
             throws ExecutionException;
 
     /**
@@ -198,7 +198,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void enableChannels(String sessionName, List<String> channelNames,
+    void enableChannels(String sessionName, List<String> channelNames,
             boolean isKernel, IChannelInfo info, IProgressMonitor monitor)
             throws ExecutionException;
 
@@ -218,7 +218,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void disableChannels(String sessionName, List<String> channelNames,
+    void disableChannels(String sessionName, List<String> channelNames,
             boolean isKernel, IProgressMonitor monitor)
             throws ExecutionException;
 
@@ -241,7 +241,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void enableEvents(String sessionName, String channelName,
+    void enableEvents(String sessionName, String channelName,
             List<String> eventNames, boolean isKernel, String filterExpression,
             IProgressMonitor monitor)
             throws ExecutionException;
@@ -259,7 +259,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void enableSyscalls(String sessionName, String channelName,
+    void enableSyscalls(String sessionName, String channelName,
             IProgressMonitor monitor) throws ExecutionException;
 
     /**
@@ -280,7 +280,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void enableProbe(String sessionName, String channelName,
+    void enableProbe(String sessionName, String channelName,
             String eventName, boolean isFunction, String probe,
             IProgressMonitor monitor) throws ExecutionException;
 
@@ -304,7 +304,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void enableLogLevel(String sessionName, String channelName,
+    void enableLogLevel(String sessionName, String channelName,
             String eventName, LogLevelType logLevelType, TraceLogLevel level,
             String filterExpression,
             IProgressMonitor monitor) throws ExecutionException;
@@ -325,7 +325,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void disableEvent(String sessionName, String channelName,
+    void disableEvent(String sessionName, String channelName,
             List<String> eventNames, boolean isKernel, IProgressMonitor monitor)
             throws ExecutionException;
 
@@ -338,7 +338,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public List<String> getContextList(IProgressMonitor monitor)
+    List<String> getContextList(IProgressMonitor monitor)
             throws ExecutionException;
 
     /**
@@ -359,7 +359,7 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void addContexts(String sessionName, String channelName,
+    void addContexts(String sessionName, String channelName,
             String eventName, boolean isKernel, List<String> contexts,
             IProgressMonitor monitor) throws ExecutionException;
 
@@ -373,6 +373,6 @@ public interface ILttngControlService {
      * @throws ExecutionException
      *             If the command fails
      */
-    public void calibrate(boolean isKernel, IProgressMonitor monitor)
+    void calibrate(boolean isKernel, IProgressMonitor monitor)
             throws ExecutionException;
 }
This page took 0.046273 seconds and 5 git commands to generate.