Skip to content

Commit

Permalink
close #6 fix search problem
Browse files Browse the repository at this point in the history
remove unused method
  • Loading branch information
andponlin committed Apr 2, 2015
1 parent a433d33 commit df94470
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,4 @@ public boolean hasData(String naturalLanguageCode) {
return false;
}

/**
* <p>This is invoked from elsewhere in the system in order to update the cached data when an operator has
* added a new user rating. This will be used to update caches on this service.</p>
*/

public void setHasUserRating(String naturalLanguageCode) {
Preconditions.checkState(!Strings.isNullOrEmpty(naturalLanguageCode));
getNaturalLanguageCodeHasPkgVersionLocalization().put(naturalLanguageCode, Boolean.TRUE);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ angular.module('haikudepotserver').controller(
$scope.shouldExplicitlyShowName = function(pkg) {
return $scope.lastRefetchPkgsSearchExpression &&
$scope.lastRefetchPkgsSearchExpression.length &&
pkg.versions[0].title && pkg.title.length &&
pkg.versions[0].title && pkg.versions[0].title.length &&
-1 == searchMixins.nextMatchSearchExpression(
pkg.versions[0].title.toLowerCase(),0,
$scope.lastRefetchPkgsSearchExpression,'CONTAINS').offset &&
Expand Down

0 comments on commit df94470

Please sign in to comment.