From 9af47c10c6a268877c1d232c8d71ee6df4f8a7ab Mon Sep 17 00:00:00 2001 From: Jeroen Baten <jeroen@jeroenbaten.nl> Date: Fri, 04 Jan 2013 05:18:37 -0500 Subject: [PATCH] Dutch translation before spellcheck --- src/com/gitblit/models/PathModel.java | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/com/gitblit/models/PathModel.java b/src/com/gitblit/models/PathModel.java index 9bb7eb7..84571cb 100644 --- a/src/com/gitblit/models/PathModel.java +++ b/src/com/gitblit/models/PathModel.java @@ -35,15 +35,21 @@ public final String path; public final long size; public final int mode; + public final String objectId; public final String commitId; public boolean isParentPath; - public PathModel(String name, String path, long size, int mode, String commitId) { + public PathModel(String name, String path, long size, int mode, String objectId, String commitId) { this.name = name; this.path = path; this.size = size; this.mode = mode; + this.objectId = objectId; this.commitId = commitId; + } + + public boolean isSymlink() { + return FileMode.SYMLINK.equals(mode); } public boolean isSubmodule() { @@ -102,9 +108,9 @@ public final ChangeType changeType; - public PathChangeModel(String name, String path, long size, int mode, String commitId, - ChangeType type) { - super(name, path, size, mode, commitId); + public PathChangeModel(String name, String path, long size, int mode, String objectId, + String commitId, ChangeType type) { + super(name, path, size, mode, objectId, commitId); this.changeType = type; } -- Gitblit v1.9.1