Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-03-03 00:27:58 +0000
committerspingel2011-03-03 00:27:58 +0000
commit6f8fd9d3c75567061716b7ffb6a38c7964d46d7e (patch)
tree40d22cf6e4adbec8251516e2b70a43b8e8185829 /org.eclipse.mylyn.trac.ui/src/org/eclipse
parentd4ec53f9f4b7977fd909cf2423ad2a5bbc4a3209 (diff)
downloadorg.eclipse.mylyn.tasks-6f8fd9d3c75567061716b7ffb6a38c7964d46d7e.tar.gz
org.eclipse.mylyn.tasks-6f8fd9d3c75567061716b7ffb6a38c7964d46d7e.tar.xz
org.eclipse.mylyn.tasks-6f8fd9d3c75567061716b7ffb6a38c7964d46d7e.zip
NEW - bug 316233: reformat source code
https://bugs.eclipse.org/bugs/show_bug.cgi?id=316233
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java1
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java4
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java5
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/Messages.java1
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracPeoplePart.java12
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracRenderingEngine.java1
6 files changed, 14 insertions, 10 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
index 9900b3bfe..fbe949b18 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
@@ -95,7 +95,6 @@ public class TracHyperlinkUtil {
/**
* Detects Trac hyperlinks.
- *
* <ul>
* <li>Ticket comments: comment:ticket:1:2
* <li>Reports: {1} or report:1
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java
index e0351ad58..d7a82b3c8 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java
@@ -63,8 +63,8 @@ public class TracTaskListMigrator extends AbstractTaskListMigrator {
task.setModificationDate(TracUtil.parseDate(lastModDate));
task.setAttribute(TracRepositoryConnector.TASK_KEY_UPDATE_DATE, lastModDate);
if (element.hasAttribute(KEY_SUPPORTS_SUBTASKS)) {
- task.setAttribute(TracRepositoryConnector.TASK_KEY_SUPPORTS_SUBTASKS, Boolean.valueOf(
- element.getAttribute(KEY_SUPPORTS_SUBTASKS)).toString());
+ task.setAttribute(TracRepositoryConnector.TASK_KEY_SUPPORTS_SUBTASKS,
+ Boolean.valueOf(element.getAttribute(KEY_SUPPORTS_SUBTASKS)).toString());
}
}
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java
index cb821c5b5..0bd184f54 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java
@@ -35,8 +35,9 @@ public class TracUiPlugin extends AbstractUIPlugin {
public void start(BundleContext context) throws Exception {
super.start(context);
- TracCorePlugin.getDefault().getConnector().setTaskRepositoryLocationFactory(
- new TaskRepositoryLocationUiFactory());
+ TracCorePlugin.getDefault()
+ .getConnector()
+ .setTaskRepositoryLocationFactory(new TaskRepositoryLocationUiFactory());
TasksUi.getRepositoryManager().addListener(TracCorePlugin.getDefault().getConnector().getClientManager());
}
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/Messages.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/Messages.java
index 5ecce42cf..4e1b43d69 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/Messages.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/Messages.java
@@ -26,6 +26,7 @@ public class Messages extends NLS {
}
public static String TracPeoplePart_People;
+
public static String TracPeoplePart__Select_to_remove_;
public static String TracTaskEditorPageFactory_Browser;
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracPeoplePart.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracPeoplePart.java
index f73fab164..27761470a 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracPeoplePart.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracPeoplePart.java
@@ -40,13 +40,17 @@ public class TracPeoplePart extends AbstractTaskEditorPart {
AbstractAttributeEditor editor = createAttributeEditor(attribute);
if (editor != null) {
editor.createLabelControl(composite, toolkit);
- GridDataFactory.defaultsFor(editor.getLabelControl()).indent(COLUMN_MARGIN, 0).applyTo(
- editor.getLabelControl());
+ GridDataFactory.defaultsFor(editor.getLabelControl())
+ .indent(COLUMN_MARGIN, 0)
+ .applyTo(editor.getLabelControl());
editor.createControl(composite, toolkit);
getTaskEditorPage().getAttributeEditorToolkit().adapt(editor);
if (editor instanceof TracCcAttributeEditor) {
- GridDataFactory.fillDefaults().grab(true, true).align(SWT.FILL, SWT.FILL).hint(130, 95).applyTo(
- editor.getControl());
+ GridDataFactory.fillDefaults()
+ .grab(true, true)
+ .align(SWT.FILL, SWT.FILL)
+ .hint(130, 95)
+ .applyTo(editor.getControl());
} else {
GridDataFactory.fillDefaults().grab(true, false).align(SWT.FILL, SWT.TOP).applyTo(editor.getControl());
}
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracRenderingEngine.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracRenderingEngine.java
index 493e5b23e..f6929dacf 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracRenderingEngine.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracRenderingEngine.java
@@ -22,7 +22,6 @@ import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.ui.editors.AbstractRenderingEngine;
/**
- *
* @author Xiaoyang Guan
* @since 2.1
*/

Back to the top