Skip to content

Commit

Permalink
fixed variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhoek committed Oct 21, 2024
1 parent 4cd2ab3 commit de0650c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class RDFApi {
public static final String TTL_API_LOCATION = "/api/ttl";
public static final String JSONLD_API_LOCATION = "/api/jsonld";

private static final List<RDFFormat> acceptedRdfFormats =
private static final List<RDFFormat> ACCEPTED_FORMATS =
List.of(
RDFFormat.TURTLE,
RDFFormat.N3,
Expand Down Expand Up @@ -206,7 +206,7 @@ public static RDFFormat selectFormat(Context ctx) {
// Strip everything after a semicolon
type = type.split(";")[0];
}
for (var format : acceptedRdfFormats) {
for (var format : ACCEPTED_FORMATS) {
if (format.hasDefaultMIMEType(type)) {
return format;
}
Expand Down

0 comments on commit de0650c

Please sign in to comment.