You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2018/08/03 20:40:50 UTC
httpcomponents-core git commit: Consistent method naming.
Repository: httpcomponents-core
Updated Branches:
refs/heads/master b355921a9 -> c1d00413e
Consistent method naming.
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/c1d00413
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/c1d00413
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/c1d00413
Branch: refs/heads/master
Commit: c1d00413ed70cc58d46ceb35c1579e14d0a5e6e5
Parents: b355921
Author: Gary Gregory <gg...@apache.org>
Authored: Fri Aug 3 14:40:46 2018 -0600
Committer: Gary Gregory <gg...@apache.org>
Committed: Fri Aug 3 14:40:46 2018 -0600
----------------------------------------------------------------------
.../java/org/apache/hc/core5/reactor/SingleCoreIOReactor.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c1d00413/httpcore5/src/main/java/org/apache/hc/core5/reactor/SingleCoreIOReactor.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/reactor/SingleCoreIOReactor.java b/httpcore5/src/main/java/org/apache/hc/core5/reactor/SingleCoreIOReactor.java
index 003dd45..edc5c8b 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/reactor/SingleCoreIOReactor.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/reactor/SingleCoreIOReactor.java
@@ -161,7 +161,7 @@ class SingleCoreIOReactor extends AbstractSingleCoreIOReactor implements Connect
if( (currentTime - this.lastTimeoutCheck) >= this.reactorConfig.getSelectInterval()) {
this.lastTimeoutCheck = currentTime;
for (final SelectionKey key : this.selector.keys()) {
- timeoutCheck(key, currentTime);
+ checkTimeout(key, currentTime);
}
}
}
@@ -225,7 +225,7 @@ class SingleCoreIOReactor extends AbstractSingleCoreIOReactor implements Connect
}
}
- private void timeoutCheck(final SelectionKey key, final long now) {
+ private void checkTimeout(final SelectionKey key, final long now) {
final InternalChannel channel = (InternalChannel) key.attachment();
if (channel != null) {
channel.checkTimeout(now);