Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Conversation

@andreamlin
Copy link
Contributor

No description provided.

@andreamlin
Copy link
Contributor Author

@andreamlin
Copy link
Contributor Author

PTAL

@codecov-io
Copy link

codecov-io commented Feb 28, 2018

Codecov Report

Merging #46 into master will increase coverage by 0.78%.
The diff coverage is 62.5%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #46      +/-   ##
============================================
+ Coverage     60.23%   61.01%   +0.78%     
- Complexity      140      145       +5     
============================================
  Files            14       14              
  Lines           606      613       +7     
  Branches         91       92       +1     
============================================
+ Hits            365      374       +9     
+ Misses          219      215       -4     
- Partials         22       24       +2
Impacted Files Coverage Δ Complexity Δ
.../google/api/resourcenames/UntypedResourceName.java 42.85% <62.5%> (+42.85%) 5 <3> (+5) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update efe02a9...1387841. Read the comment docs.


@Override
/* Returns a map with an empty String as the sole key, which maps to the raw value of this ResourceName. */
public Map<String, String> getFieldValuesMap() {

This comment was marked as spam.

This comment was marked as spam.

}

@Override
/* Returns the raw value of this ResourceName, regardless of the fieldName parameter. */

This comment was marked as spam.

This comment was marked as spam.

/* Returns the raw value of this ResourceName iff fieldName.equals(""), else returns null. */
@Override
public String getFieldValue(String fieldName) {
return fieldValuesMap.get("");

This comment was marked as spam.

This comment was marked as spam.

}
}
return fieldValuesMap;
}

This comment was marked as spam.

This comment was marked as spam.

version.txt Outdated
@@ -1 +1 @@
1.4.0
1.3.1-SNAPSHOT

This comment was marked as spam.

*/
package com.google.api.resourcenames;

public interface ResourceNameFactory<T extends ResourceName> {

This comment was marked as spam.

This comment was marked as spam.

public interface ResourceNameFactory<T extends ResourceName> {

/* Create a new ResourceName from a formatted String representing a ResourceName. */
T parseFrom(String formattedString);

This comment was marked as spam.

This comment was marked as spam.

Copy link
Member

@garrettjonesgoogle garrettjonesgoogle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I'm good with this PR, but we should hold off on merging until we have regenerated api-client-staging and released that code in google-cloud-java.

@andreamlin andreamlin merged commit c01543b into master Mar 6, 2018
miraleung pushed a commit that referenced this pull request Jun 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants