Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Commit

Permalink
Merge branch 'require_host_names'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Killough committed Apr 4, 2018
2 parents 8748667 + 3ba145c commit 229bdd8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -7,6 +7,6 @@ buildscript {
dependencies { classpath 'com.blackducksoftware.integration:common-gradle-plugin:0.0.+' }
}

version = '6.0.1-SNAPSHOT'
version = '7.0.0-SNAPSHOT'

apply plugin: 'com.blackducksoftware.integration.library'
Expand Up @@ -29,20 +29,25 @@
public class PhoneHomeRequestBody {
public static final PhoneHomeRequestBody DO_NOT_PHONE_HOME = null;
private final String regId;
private final String hostName;
private final String source;
private final Map<String, String> infoMap;

public PhoneHomeRequestBody(final String hubIdentifier, final String source, final Map<String, String> infoMap) {
final String sourceString = source;
public PhoneHomeRequestBody(final String hubIdentifier, final String hostName, final String source, final Map<String, String> infoMap) {
this.regId = Objects.requireNonNull(hubIdentifier);
this.source = Objects.requireNonNull(sourceString);
this.hostName = Objects.requireNonNull(hostName);
this.source = Objects.requireNonNull(source);
this.infoMap = Objects.requireNonNull(infoMap);
}

public String getRegId() {
return regId;
}

public String getHostName() {
return hostName;
}

public String getSource() {
return source;
}
Expand Down

0 comments on commit 229bdd8

Please sign in to comment.