Skip to content

Commit bf7b47b

Browse files
committed
renaming get to create for clarity
1 parent 8936d80 commit bf7b47b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

google-cloud-logging/src/main/java/com/google/cloud/logging/MonitoredResourceUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public static MonitoredResource getResource(String projectId, String resourceTyp
132132
*/
133133
public static List<LoggingEnhancer> createResourceEnhancers() {
134134
Resource resourceType = getAutoDetectedResourceType();
135-
return getEnhancers(resourceType);
135+
return createEnhancers(resourceType);
136136
}
137137

138138
private static String getValue(Label label) {
@@ -196,7 +196,7 @@ private static String getAppEngineInstanceName() {
196196
return System.getenv("GAE_INSTANCE");
197197
}
198198

199-
private static List<LoggingEnhancer> getEnhancers(Resource resourceType) {
199+
private static List<LoggingEnhancer> createEnhancers(Resource resourceType) {
200200
List<LoggingEnhancer> enhancers = new ArrayList<>(2);
201201
switch (resourceType) {
202202
// Trace logging enhancer is supported on GAE Flex and Standard.

0 commit comments

Comments
 (0)