Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit dbe4cf8

Browse files
committed
Change variable name to better reflect intent
1 parent 57b1b6e commit dbe4cf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/launchdarkly/client/FeatureRequestor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ <T> FeatureRep<T> makeRequest(String featureKey, boolean latest) throws IOExcept
105105
throw new IOException("Failed to fetch flag");
106106
}
107107

108-
Type boolType = new TypeToken<FeatureRep<T>>() {}.getType();
108+
Type type = new TypeToken<FeatureRep<T>>() {}.getType();
109109

110-
FeatureRep<T> result = gson.fromJson(EntityUtils.toString(response.getEntity()), boolType);
110+
FeatureRep<T> result = gson.fromJson(EntityUtils.toString(response.getEntity()), type);
111111
return result;
112112
}
113113
finally {

0 commit comments

Comments
 (0)