Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-03-09 18:43:42 +0000
committerAlexander Kurtakov2015-03-09 19:04:55 +0000
commitfc66359d65bdc4cb032ad9ffa2eb52459dc98024 (patch)
tree71862a6e02f8401798b20cf65eaab3b3fdb0b452
parent01448f61d26c343f6921e94949184ba78c637a3c (diff)
downloadorg.eclipse.linuxtools-fc66359d65bdc4cb032ad9ffa2eb52459dc98024.tar.gz
org.eclipse.linuxtools-fc66359d65bdc4cb032ad9ffa2eb52459dc98024.tar.xz
org.eclipse.linuxtools-fc66359d65bdc4cb032ad9ffa2eb52459dc98024.zip
changelog: Fix javadoc.
Fix javadoc to please Java 8 javadoc tool. Enable warnings to yell about such issues. Change-Id: I9ce0502f44684f635a03563f34f441d88204d61a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/43461 Tested-by: Hudson CI
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/changelog/core/IEditorChangeLogContrib.java4
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangeLogExtensionManager.java3
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangelogPlugin.java1
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/ChangeLogContainerSelectionGroup.java2
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java1
6 files changed, 16 insertions, 2 deletions
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/.settings/org.eclipse.jdt.core.prefs b/changelog/org.eclipse.linuxtools.changelog.core/.settings/org.eclipse.jdt.core.prefs
index b050803c6e..8d529a48eb 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/.settings/org.eclipse.jdt.core.prefs
+++ b/changelog/org.eclipse.linuxtools.changelog.core/.settings/org.eclipse.jdt.core.prefs
@@ -6,6 +6,7 @@ org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annota
org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
@@ -51,9 +52,10 @@ org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags
-org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore
+org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=enabled
org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=enabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=default
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
@@ -97,6 +99,7 @@ org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=enabled
+org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedImport=warning
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/changelog/core/IEditorChangeLogContrib.java b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/changelog/core/IEditorChangeLogContrib.java
index 0b9a4c0045..a1be92daeb 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/changelog/core/IEditorChangeLogContrib.java
+++ b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/changelog/core/IEditorChangeLogContrib.java
@@ -30,6 +30,7 @@ public interface IEditorChangeLogContrib {
/**
* Set default content type. GNU Changelog only has one type.
+ * @param sourceViewer The source viewer to retrieve configured content type for.
*
* @return default content type.
*/
@@ -37,6 +38,7 @@ public interface IEditorChangeLogContrib {
/**
* Detects hyperlinks in GNU formatted changelogs.
+ * @param sourceViewer The source viewer to retrieve hyperlinks for.
*
* @return link detector for GNU format.
*/
@@ -44,6 +46,7 @@ public interface IEditorChangeLogContrib {
/**
* Hyperlink presenter (decorator).
+ * @param sourceViewer The source viewer to operate on.
*
* @return default presenter.
*/
@@ -51,6 +54,7 @@ public interface IEditorChangeLogContrib {
/**
* Highlights GNU format changelog syntaxes.
+ * @param sourceViewer The source viewer to get presentation reconciler for.
*
* @return reconciler for GNU format changelog.
*/
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangeLogExtensionManager.java b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangeLogExtensionManager.java
index d80647adf9..47e8ff1294 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangeLogExtensionManager.java
+++ b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangeLogExtensionManager.java
@@ -115,6 +115,9 @@ public final class ChangeLogExtensionManager {
/**
* Fetches formatterName formatter from extension, but if there exists a inline
* formatter for entryFileName, then it uses that inline formatter.
+ * @param entryFilePath The full file name.
+ * @param formatterName The formatter name.
+ * @return The changelog formatter.
*/
public IFormatterChangeLogContrib getFormatterContributor(String entryFilePath, String formatterName) {
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangelogPlugin.java b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangelogPlugin.java
index bb5c376e7f..20275d7f07 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangelogPlugin.java
+++ b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/ChangelogPlugin.java
@@ -38,6 +38,7 @@ public class ChangelogPlugin extends AbstractUIPlugin {
/**
* Returns the shared instance.
+ * @return The plugin activator.
*/
public static ChangelogPlugin getDefault() {
return plugin;
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/ChangeLogContainerSelectionGroup.java b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/ChangeLogContainerSelectionGroup.java
index ab419ed6c2..e227251d8b 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/ChangeLogContainerSelectionGroup.java
+++ b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/ChangeLogContainerSelectionGroup.java
@@ -83,6 +83,7 @@ public class ChangeLogContainerSelectionGroup extends Composite {
* The text to present to the user.
* @param showClosedProjects
* Whether or not to show closed projects.
+ * @param initialSelection The selection to be traversed for changelog.
*/
public ChangeLogContainerSelectionGroup(Composite parent, boolean allowNewContainerName, String message,
boolean showClosedProjects, IContainer initialSelection) {
@@ -107,6 +108,7 @@ public class ChangeLogContainerSelectionGroup extends Composite {
* height hint for the drill down composite
* @param widthHint
* width hint for the drill down composite
+ * @param initialSelection The selection to be traversed for changelog.
*/
public ChangeLogContainerSelectionGroup(Composite parent,
boolean allowNewContainerName, String message,
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java
index 889a657fa3..88d1a4f084 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java
+++ b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java
@@ -57,6 +57,7 @@ public class GNUHyperlinkDetector extends AbstractHyperlinkDetector {
* /some/project/abc/file.java and /some/project/ghi/file2.java
*
* @param textViewer The text viewer in which to detect the hyperlink.
+ * @param editor The editor to fetch document location from.
*/
public GNUHyperlinkDetector(ITextViewer textViewer, TextEditor editor) {
Assert.isNotNull(textViewer);

Back to the top