lttng: Fix Javadoc and formatting in lttng2.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui.tests / stubs / org / eclipse / linuxtools / internal / lttng2 / stubs / dialogs / AddContextDialogStub.java
index 65bb0fa557e25ae03c8d76bd0e6897ac5b11fb3c..bc11566447c3ae96e28d633d33efa4cb45b54650 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
  * Copyright (c) 2012 Ericsson
- * 
+ *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
  * accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
- * 
- * Contributors: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.stubs.dialogs;
@@ -20,8 +20,9 @@ import java.util.Set;
 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IAddContextDialog;
 
 /**
- * Add Context dialog stub. 
+ * Add Context dialog stub.
  */
+@SuppressWarnings("javadoc")
 public class AddContextDialogStub implements IAddContextDialog {
 
     private Set<String> fAvailableContexts = null;
@@ -48,10 +49,10 @@ public class AddContextDialogStub implements IAddContextDialog {
     public void setContexts(List<String> contexts) throws IllegalArgumentException{
         fContexts = new ArrayList<String>();
         fContexts.addAll(contexts);
-        // If availableContexts are null we cannot verify 
+        // If availableContexts are null we cannot verify
         if (fAvailableContexts != null) {
             for (Iterator<String> iterator = fContexts.iterator(); iterator.hasNext();) {
-                String string = (String) iterator.next();
+                String string = iterator.next();
                 if (!fAvailableContexts.contains(string)) {
                     throw new IllegalArgumentException();
                 }
This page took 0.024818 seconds and 5 git commands to generate.