Skip to content

Commit

Permalink
remove legacy code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
iryndin committed Jul 15, 2014
1 parent c5a2b72 commit 0b38495
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/main/java/net/iryndin/jdbf/core/DbfRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ public String getString(String fieldName, String charsetName) {

public String getString(String fieldName, Charset charset) {
DbfField f = getField(fieldName);
if (f.getType() == DbfFieldTypeEnum.Memo) {
return getMemoAsString(f, charset);
}
int actualOffset = f.getOffset();
int actualLength = f.getLength();

Expand Down Expand Up @@ -140,10 +137,6 @@ public String getMemoAsString(String fieldName) throws IOException {
return getMemoAsString(fieldName, charset);
}

private String getMemoAsString(DbfField field, Charset charset) {
return null;
}

public Date getDate(String fieldName) throws ParseException {
String s = getString(fieldName);
if (s == null) {
Expand Down Expand Up @@ -286,13 +279,4 @@ public Map<String, Object> toMap() throws ParseException {

return map;
}

public String getMemo(String fieldName) {
Charset charset = this.stringCharset;
if (charset == null) {
charset = Charset.defaultCharset();
}
DbfField f = getField(fieldName);
return f.toString();
}
}

0 comments on commit 0b38495

Please sign in to comment.