got back the String constructor for Kotlin compatibility

This commit is contained in:
Alexey Kudravtsev
2015-06-15 19:18:57 +03:00
parent d2e2afbbcb
commit ea1ea81376
@@ -44,6 +44,14 @@ public abstract class ArchiveHandler {
public final long length;
public final long timestamp;
@Deprecated
/**
* Please use the {@link EntryInfo#EntryInfo(ArchiveHandler.EntryInfo, CharSequence, boolean, long, long)} instead
*/
public EntryInfo(EntryInfo parent, @NotNull String shortName, boolean isDirectory, long length, long timestamp) {
this(parent, (CharSequence) shortName, isDirectory, length, timestamp);
}
public EntryInfo(EntryInfo parent, @NotNull CharSequence shortName, boolean isDirectory, long length, long timestamp) {
this.parent = parent;
this.shortName = shortName;