Skip to content

Commit df057e4

Browse files
authored
Merge pull request #24 from zenuo/feature_bump_version_1_7_6
Feature bump version 1 7 6
2 parents 2582e33 + c72bb33 commit df057e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gogo-server/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>zenuo</groupId>
88
<artifactId>gogo</artifactId>
9-
<version>1.7.5</version>
9+
<version>1.7.6</version>
1010

1111
<packaging>jar</packaging>
1212

gogo-server/src/main/java/zenuo/gogo/core/processor/impl/SearchProcessorImpl.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ public void process(ChannelHandlerContext ctx, FullHttpRequest request, QueryStr
6262
.build();
6363
} else {
6464
// try to read cache
65-
final Optional<SearchResponse> optional = readCache(key, page);
66-
if (optional.isPresent()) {
65+
final Optional<SearchResponse> cache = readCache(key, page);
66+
if (cache.isPresent()) {
6767
// if hit
68-
response = optional.get();
68+
response = cache.get();
6969
} else {
7070
// if not hit
7171
for (ISearchResultProvider srp : searchResultProviders) {

0 commit comments

Comments
 (0)