summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java36
1 files changed, 6 insertions, 30 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java
index de8a9fcea6..a9cd45b1d7 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java
@@ -124,29 +124,6 @@ import org.eclipse.jgit.util.TemporaryBuffer;
*/
public class PackWriter {
/**
- * Title of {@link ProgressMonitor} task used during counting objects to
- * pack.
- *
- * @see #preparePack(ProgressMonitor, Collection, Collection)
- */
- public static final String COUNTING_OBJECTS_PROGRESS = JGitText.get().countingObjects;
-
- /**
- * Title of {@link ProgressMonitor} task used during compression.
- *
- * @see #writePack(ProgressMonitor, ProgressMonitor, OutputStream)
- */
- public static final String COMPRESSING_OBJECTS_PROGRESS = JGitText.get().compressingObjects;
-
- /**
- * Title of {@link ProgressMonitor} task used during writing out pack
- * (objects)
- *
- * @see #writePack(ProgressMonitor, ProgressMonitor, OutputStream)
- */
- public static final String WRITING_OBJECTS_PROGRESS = JGitText.get().writingObjects;
-
- /**
* Default value of deltas reuse option.
*
* @see #setReuseDeltas(boolean)
@@ -838,9 +815,7 @@ public class PackWriter {
* <p>
* At first, this method collects and sorts objects to pack, then deltas
* search is performed if set up accordingly, finally pack stream is
- * written. {@link ProgressMonitor} tasks {@link #COMPRESSING_OBJECTS_PROGRESS}
- * (only if reuseDeltas or reuseObjects is enabled) and
- * {@link #WRITING_OBJECTS_PROGRESS} are updated during packing.
+ * written.
* </p>
* <p>
* All reused objects data checksum (Adler32/CRC32) is computed and
@@ -875,8 +850,9 @@ public class PackWriter {
final PackOutputStream out = new PackOutputStream(writeMonitor,
packStream, this);
- writeMonitor.beginTask(WRITING_OBJECTS_PROGRESS, getObjectsNumber());
- out.writeFileHeader(PACK_VERSION_GENERATED, getObjectsNumber());
+ int objCnt = getObjectsNumber();
+ writeMonitor.beginTask(JGitText.get().writingObjects, objCnt);
+ out.writeFileHeader(PACK_VERSION_GENERATED, objCnt);
writeObjects(writeMonitor, out);
writeChecksum(out);
@@ -935,7 +911,7 @@ public class PackWriter {
}
}
- monitor.beginTask(COMPRESSING_OBJECTS_PROGRESS, cnt);
+ monitor.beginTask(JGitText.get().compressingObjects, cnt);
// Sort the objects by path hash so like files are near each other,
// and then by size descending so that bigger files are first. This
@@ -1315,7 +1291,7 @@ public class PackWriter {
private void findObjectsToPack(final ProgressMonitor countingMonitor,
final ObjectWalk walker) throws MissingObjectException,
IncorrectObjectTypeException, IOException {
- countingMonitor.beginTask(COUNTING_OBJECTS_PROGRESS,
+ countingMonitor.beginTask(JGitText.get().countingObjects,
ProgressMonitor.UNKNOWN);
RevObject o;
e='backport/46124/stable29'>backport/46124/stable29 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/core/l10n/he.php
blob: b7219f35df34e58e736f2083a96b0ad22603308c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64