Merge pull request #1825 from BasisOlivers/aut-1861

Fixed switch statements for datetime
This commit is contained in:
Richard Cordovano 2016-01-20 13:54:37 -05:00
commit a63301a177
2 changed files with 6 additions and 0 deletions

View File

@ -114,6 +114,10 @@ public class ArtifactStringContent implements StringContent {
case BYTE: case BYTE:
buffer.append(Arrays.toString(attr.getValueBytes())); buffer.append(Arrays.toString(attr.getValueBytes()));
break; break;
case DATETIME:
buffer.append(attr.getValueLong());
break;
} }
} }
if (!"".equals(attr.getContext())) { if (!"".equals(attr.getContext())) {

View File

@ -215,6 +215,8 @@ public abstract class DrawableFile<T extends AbstractFile> extends AbstractFile
return attr.getValueLong(); return attr.getValueLong();
case STRING: case STRING:
return attr.getValueString(); return attr.getValueString();
case DATETIME:
return attr.getValueLong();
} }
} }
} }