Skip to content

Commit

Permalink
Remove redundant comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed May 29, 2024
1 parent 7409d33 commit a8fb80e
Show file tree
Hide file tree
Showing 30 changed files with 1 addition and 182 deletions.
18 changes: 0 additions & 18 deletions core/src/main/java/org/verapdf/component/ComponentDetailsImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,48 +64,30 @@ private ComponentDetailsImpl(final URI id, final String name, final String versi
this.description = description;
}

/**
* @return the defaultid
*/
public static URI getDefaultid() {
return defaultId;
}

/**
* @return the id
*/
@Override
public URI getId() {
return this.id;
}

/**
* @return the name
*/
@Override
public String getName() {
return this.name;
}

/**
* @return the version
*/
@Override
public String getVersion() {
return this.version;
}

/**
* @return the provider
*/
@Override
public String getProvider() {
return this.provider;
}

/**
* @return the description
*/
@Override
public String getDescription() {
return this.description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ public String getFullName() {
return this.fullName;
}

/**
* @return the idPrefix
*/
public String getIdPrefix() {
return idPrefix;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ public FeatureTreeNode collectFeatures() throws FeatureParsingException {
return root;
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@ private void parseTristimulus(double[] tris, FeatureTreeNode curNode) {
}
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ public FeatureTreeNode collectFeatures() throws FeatureParsingException {
return root;
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ private void parseResources(FeatureTreeNode root) throws FeatureParsingException
}
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ private void parseProfileHeader(FeatureTreeNode root) throws FeatureParsingExcep
CreateNodeHelper.addNotEmptyNode(DEVICE_MANUFACTURER, ipAdapter.getDeviceManufacturer(), root);
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
ICCProfileFeaturesObjectAdapter ipAdapter = (ICCProfileFeaturesObjectAdapter) this.adapter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ private static String getXPath(String key) {
return INFORMATION_DICT + "/" + ENTRY + "[@key='" + key + "']";
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ private void createItem(FeatureTreeNode root, InteractiveFormFieldFeaturesObject
}
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ private String getPDFVersionString(LowLvlInfoFeaturesObjectAdapter lowLvlAdapter
return CreateNodeHelper.formatDouble(res, 1);
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ private void createItem(OutlinesFeaturesObjectAdapter.OutlineFeaturesObjectAdapt
}
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ public FeatureTreeNode collectFeatures() throws FeatureParsingException {
return root;
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@ private void parseResources(FeatureTreeNode root) throws FeatureParsingException
}
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ public FeatureTreeNode collectFeatures() throws FeatureParsingException {
return root;
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ public FeatureTreeNode collectFeatures() throws FeatureParsingException {
return root;
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ public FeatureTreeNode collectFeatures() throws FeatureParsingException {
return root;
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ public FeatureTreeNode collectFeatures() throws FeatureParsingException {
return root;
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ public FeatureTreeNode collectFeatures() throws FeatureParsingException {
return root;
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
SignatureFeaturesObjectAdapter signAdapter = (SignatureFeaturesObjectAdapter) this.adapter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ private void parseResources(FeatureTreeNode root) throws FeatureParsingException
}
}

/**
* @return null
*/
@Override
public FeaturesData getData() {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ private FixerConfigImpl(final String fixesPrefix) {
this.fixesPrefix = fixesPrefix;
}

/**
* @return the fixesPrefix
*/
@Override
public String getFixesPrefix() {
return this.fixesPrefix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ public interface Metadata {
*/
XMPBasic getXMPBasicSchema(InfoDictionary info);

/**
* @return
*/
boolean isNeedToBeUpdated();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ public interface PDFDocument {
*/
InfoDictionary getInfoDictionary();

/**
* @return
*/
boolean isNeedToBeUpdated();

/**
Expand Down
3 changes: 0 additions & 3 deletions core/src/main/java/org/verapdf/pdfa/VeraPDFFoundry.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,5 @@ public PDFAValidator createFailFastValidator(ValidationProfile profile, int maxF
*/
public PDFAFlavour defaultFlavour();

/**
* @return parser id
*/
public String getParserId();
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ private ProcessorResultImpl(final ItemDetails details, final boolean isPdf, fina
this.fixerResult = fixerResult;
}

/**
* @return the results
*/
@Override
public EnumMap<TaskType, TaskResult> getResults() {
return this.taskResults;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ private BatchSummaryImpl(final AuditDuration duration, final ValidationBatchSumm
this.veraExceptions = veraExceptions;
}

/**
* @return the duration
*/
@Override
public AuditDuration getDuration() {
return this.duration;
Expand Down
17 changes: 1 addition & 16 deletions core/src/main/java/org/verapdf/processor/reports/CheckImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,42 +67,27 @@ private CheckImpl(final TestAssertion.Status status, final String context, final
private CheckImpl() {
this(TestAssertion.Status.PASSED, "", null, null, null);
}

/**
* @return the status
*/

@Override
public String getStatus() {
return this.status;
}

/**
* @return the location
*/
@Override
public String getLocation() {
return this.location;
}

/**
* @return the context
*/
@Override
public String getContext() {
return this.context;
}

/**
* @return the error message
*/
@Override
public String getErrorMessage() {
return this.errorMessage;
}

/**
* @return the error arguments
*/
@Override
public List<String> getErrorArguments() {
return this.errorArguments;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,36 +66,21 @@ private FixerReportImpl() {
this("", 0, Collections.emptyList(), Collections.emptyList());
}

/**
* @return the status
*/
@Override
public String getStatus() {
return this.status;
}


/**
* @return the fixCount
*/
@Override
public int getFixCount() {
return this.fixCount;
}


/**
* @return the fixes
*/
@Override
public List<String> getFixes() {
return this.fixes;
}


/**
* @return the errors
*/
@Override
public List<String> getErrors() {
return this.errors;
Expand Down
Loading

0 comments on commit a8fb80e

Please sign in to comment.