aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Borowitz2012-03-07 15:21:50 (EST)
committerDave Borowitz2012-03-07 15:52:45 (EST)
commiteea8581da5b61fb882be24e5657528b761a379e0 (patch)
tree7355170e7429bbe4605dae4ac0889517a7bc1765
parente05300b21d5a0479eb278ee38c6d19c956e926f4 (diff)
downloadjgit-eea8581da5b61fb882be24e5657528b761a379e0.zip
jgit-eea8581da5b61fb882be24e5657528b761a379e0.tar.gz
jgit-eea8581da5b61fb882be24e5657528b761a379e0.tar.bz2
Fix a typo in "capabilities" in ReceivePackrefs/changes/93/5293/1
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
index fd57308..f74e666 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
@@ -175,7 +175,7 @@ public class ReceivePack {
private Set<ObjectId> advertisedHaves;
/** Capabilities requested by the client. */
- private Set<String> enabledCapablities;
+ private Set<String> enabledCapabilities;
/** Commands to execute, as received by the client. */
private List<ReceiveCommand> commands;
@@ -713,7 +713,7 @@ public class ReceivePack {
pckOut = new PacketLineOut(rawOut);
pckOut.setFlushOnEnd(false);
- enabledCapablities = new HashSet<String>();
+ enabledCapabilities = new HashSet<String>();
commands = new ArrayList<ReceiveCommand>();
service();
@@ -753,7 +753,7 @@ public class ReceivePack {
pckIn = null;
pckOut = null;
refs = null;
- enabledCapablities = null;
+ enabledCapabilities = null;
commands = null;
if (timer != null) {
try {
@@ -894,7 +894,7 @@ public class ReceivePack {
final int nul = line.indexOf('\0');
if (nul >= 0) {
for (String c : line.substring(nul + 1).split(" "))
- enabledCapablities.add(c);
+ enabledCapabilities.add(c);
line = line.substring(0, nul);
}
}
@@ -919,9 +919,9 @@ public class ReceivePack {
}
private void enableCapabilities() {
- reportStatus = enabledCapablities.contains(CAPABILITY_REPORT_STATUS);
+ reportStatus = enabledCapabilities.contains(CAPABILITY_REPORT_STATUS);
- sideBand = enabledCapablities.contains(CAPABILITY_SIDE_BAND_64K);
+ sideBand = enabledCapabilities.contains(CAPABILITY_SIDE_BAND_64K);
if (sideBand) {
OutputStream out = rawOut;