Commit 6546d263 authored by Aaron Coburn's avatar Aaron Coburn
Browse files

Tighten checkstyle

parent c3c24ed8
/*
* Copyright Amherst College
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* A message connector that broadcasts messages to other endpoints.
*/
package edu.amherst.acdc.connector.broadcast;
......@@ -52,7 +52,7 @@ public class EventProcessor implements Processor {
}
/**
* Process the Fedora message
* Process the Fedora message.
*
* @param exchange the current camel message exchange
*/
......
......@@ -16,7 +16,7 @@
package edu.amherst.acdc.connector.idiomatic;
/**
* Common Headers for this set of routes
* Common Headers for this set of routes.
*
* @author acoburn
*/
......
/*
* Copyright Amherst College
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* A message connector that assigns public identifiers to resources.
*/
package edu.amherst.acdc.connector.idiomatic;
......@@ -19,14 +19,15 @@ import static org.apache.camel.util.ObjectHelper.loadResourceAsStream;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import edu.amherst.acdc.services.mint.MinterService;
import java.util.Dictionary;
import java.util.Map;
import java.util.Properties;
import java.util.function.Supplier;
import javax.sql.DataSource;
import edu.amherst.acdc.services.mint.MinterService;
import java.util.function.Supplier;
import org.apache.camel.Component;
import org.apache.camel.EndpointInject;
import org.apache.camel.Produce;
......
......@@ -52,7 +52,7 @@ public class EventProcessor implements Processor {
}
/**
* Process the Fedora message
* Process the Fedora message.
*
* @param exchange the current camel message exchange
*/
......
/*
* Copyright Amherst College
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* A message connector that indexes resources in a Triplestore.
*/
package edu.amherst.acdc.connector.triplestore;
......@@ -28,17 +28,17 @@ import org.apache.jena.riot.Lang;
import org.apache.jena.riot.RDFLanguages;
/**
* A content router for handling ORE extension requests
* A content router for handling ORE extension requests.
*
* @author Bethany Seeger
*/
public class EntailmentRouter extends RouteBuilder {
private final static String DEFAULT_CONTENT_TYPE = "text/turtle";
private final static String HTTP_QUERY_CONTEXT = "context";
private final static String ENTAILMENT_ACCEPT = "CamelEntailmentAccept";
private final static String FCREPO_URI = "CamelFcrepoUri";
private final static String FCREPO_BASE_URL = "CamelFcrepoBaseUrl";
private static final String DEFAULT_CONTENT_TYPE = "text/turtle";
private static final String HTTP_QUERY_CONTEXT = "context";
private static final String ENTAILMENT_ACCEPT = "CamelEntailmentAccept";
private static final String FCREPO_URI = "CamelFcrepoUri";
private static final String FCREPO_BASE_URL = "CamelFcrepoBaseUrl";
/**
* Configure the message route workflow.
......
/*
* Copyright Amherst College
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* An extension that entails RDF graphs.
*/
package edu.amherst.acdc.exts.entailment;
/*
* Copyright Amherst College
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* An extension that sends binary resources to an external FITS service.
*/
package edu.amherst.acdc.exts.fits;
/*
* Copyright Amherst College
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* An extension that manipulates images.
*/
package edu.amherst.acdc.exts.image;
......@@ -24,7 +24,7 @@ import org.apache.marmotta.ldclient.api.endpoint.Endpoint;
public class GettyEndpoint extends Endpoint {
/**
* Create a Getty endpoint to be used with the Marmotta LDClient
* Create a Getty endpoint to be used with the Marmotta LDClient.
*
* @param timeout the length of time (in seconds) to cache the data
*/
......
/*
* Copyright Amherst College
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* An extension for LDPath queries.
*/
package edu.amherst.acdc.exts.ldpath;
......@@ -23,7 +23,7 @@ import org.apache.camel.processor.aggregate.AggregationStrategy;
import org.apache.jena.rdf.model.Model;
/**
* Aggregate the CamelOreModel header values across exchanges
* Aggregate the CamelOreModel header values across exchanges.
*
* @author acoburn
* @since 6/29/16
......
......@@ -16,15 +16,15 @@
package edu.amherst.acdc.exts.ore;
/**
* Some header field definitions
* Some header field definitions.
*
* @author acoburn
*/
final class OreHeaders {
public final static String ORE_ACCEPT = "CamelOreAccept";
public final static String ORE_MODEL = "CamelOreModel";
public final static String ORE_SUBJECT = "CamelOreSubject";
public static final String ORE_ACCEPT = "CamelOreAccept";
public static final String ORE_MODEL = "CamelOreModel";
public static final String ORE_SUBJECT = "CamelOreSubject";
private OreHeaders() {
// prevent instantiation
......
......@@ -30,16 +30,16 @@ import org.apache.jena.riot.Lang;
import org.apache.jena.riot.RDFLanguages;
/**
* A content router for handling ORE extension requests
* A content router for handling ORE extension requests.
*
* @author Aaron Coburn
*/
public class OreRouter extends RouteBuilder {
private final static String DEFAULT_CONTENT_TYPE = "text/turtle";
private final static String HTTP_QUERY_CONTEXT = "context";
private final static String FCREPO_URI = "CamelFcrepoUri";
private final static String FCREPO_BASE_URL = "CamelFcrepoBaseUrl";
private static final String DEFAULT_CONTENT_TYPE = "text/turtle";
private static final String HTTP_QUERY_CONTEXT = "context";
private static final String FCREPO_URI = "CamelFcrepoUri";
private static final String FCREPO_BASE_URL = "CamelFcrepoBaseUrl";
/**
* Configure the message route workflow.
......
/*
* Copyright Amherst College
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* An extension that assembles an ORE graph of resources.
*/
package edu.amherst.acdc.exts.ore;
......@@ -23,7 +23,7 @@ import org.apache.camel.processor.aggregate.AggregationStrategy;
import org.apache.jena.rdf.model.Model;
/**
* Aggregate the CamelPcdmModel header values across exchanges
* Aggregate the CamelPcdmModel header values across exchanges.
*
* @author acoburn
* @since 6/29/16
......
......@@ -16,18 +16,18 @@
package edu.amherst.acdc.exts.pcdm;
/**
* Some header field definitions
* Some header field definitions.
*
* @author acoburn
*/
final class PcdmHeaders {
public final static String PCDM_ACCEPT = "CamelPcdmAccept";
public final static String PCDM_MODEL = "CamelPcdmModel";
public final static String PCDM_SUBJECT = "CamelPcdmSubject";
public final static String PCDM_MEMBERS = "CamelPcdmMembers";
public final static String PCDM_FILES = "CamelPcdmFiles";
public final static String PCDM_RELATED_OBJECTS = "CamelPcdmRelatedObjects";
public static final String PCDM_ACCEPT = "CamelPcdmAccept";
public static final String PCDM_MODEL = "CamelPcdmModel";
public static final String PCDM_SUBJECT = "CamelPcdmSubject";
public static final String PCDM_MEMBERS = "CamelPcdmMembers";
public static final String PCDM_FILES = "CamelPcdmFiles";
public static final String PCDM_RELATED_OBJECTS = "CamelPcdmRelatedObjects";
private PcdmHeaders() {
// prevent instantiation
......
......@@ -30,16 +30,16 @@ import org.apache.jena.riot.Lang;
import org.apache.jena.riot.RDFLanguages;
/**
* A content router for handling PCDM extension requests
* A content router for handling PCDM extension requests.
*
* @author Aaron Coburn
*/
public class PcdmRouter extends RouteBuilder {
private final static String FCREPO_URI = "CamelFcrepoUri";
private final static String FCREPO_BASE_URL = "CamelFcrepoBaseUrl";
private final static String DEFAULT_CONTENT_TYPE = "text/turtle";
private final static String HTTP_QUERY_CONTEXT = "context";
private static final String FCREPO_URI = "CamelFcrepoUri";
private static final String FCREPO_BASE_URL = "CamelFcrepoBaseUrl";
private static final String DEFAULT_CONTENT_TYPE = "text/turtle";
private static final String HTTP_QUERY_CONTEXT = "context";
/**
* Configure the message route workflow.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment