Skip to content

Commit be45d55

Browse files
committed
Remove unused fields
1 parent 999370f commit be45d55

File tree

5 files changed

+2
-13
lines changed

5 files changed

+2
-13
lines changed

src/main/java/edu/illinois/library/cantaloupe/cache/HeapCacheProtos.java

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/edu/illinois/library/cantaloupe/config/PropertiesDocument.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ public String toString() {
6262
static class KeyValuePair extends Item {
6363
/** a.k.a. left indent */
6464
private int offset;
65-
private String key, normalizedKey,
66-
pairSeparator = PAIR_SEPARATOR_1, value;
65+
private String key, pairSeparator = PAIR_SEPARATOR_1, value;
6766

6867
KeyValuePair() {}
6968

src/main/java/edu/illinois/library/cantaloupe/http/Client.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ public Builder username(String username) {
8989
private String entity;
9090
private boolean followRedirects = false;
9191
private final Headers headers = new Headers();
92-
private File keyStore;
93-
private String keyStorePassword = "password";
9492
private Method method = Method.GET;
95-
private String realm;
9693
private String secret;
9794
private Transport transport = Transport.HTTP1_1;
9895
private boolean trustAll = false;

src/main/java/edu/illinois/library/cantaloupe/processor/GrokProcessor.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -401,12 +401,7 @@ public void process(final OperationList opList,
401401
LOGGER.debug(msg, e);
402402
throw new ProcessorException(msg, e);
403403
} catch (IOException | InterruptedException e) {
404-
final String errorStr = toString(errorBucket);
405-
//if (errorStr.contains("does not contain a JPEG 2000 code stream")) {
406-
throw new SourceFormatException(getSourceFormat());
407-
//}
408-
//throw new ProcessorException(
409-
// e.getMessage() + " (command output: " + errorStr + ")", e);
404+
throw new SourceFormatException(getSourceFormat());
410405
}
411406
}
412407

src/test/java/edu/illinois/library/cantaloupe/resource/MockHttpServletResponse.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
public class MockHttpServletResponse implements HttpServletResponse {
1414

1515
private int status;
16-
private String description;
1716
private final Headers headers = new Headers();
1817
private final ByteArrayServletOutputStream outputStream =
1918
new ByteArrayServletOutputStream();

0 commit comments

Comments
 (0)