File tree Expand file tree Collapse file tree
test/java/com/gooddata/md Expand file tree Collapse file tree Original file line number Diff line number Diff line change 282282 <version >0.9.4</version >
283283 </dependency >
284284 <dependency >
285- <groupId >commons-lang </groupId >
286- <artifactId >commons-lang </artifactId >
287- <version >2.6 </version >
285+ <groupId >org.apache. commons</groupId >
286+ <artifactId >commons-lang3 </artifactId >
287+ <version >3.5 </version >
288288 </dependency >
289289 <dependency >
290290 <groupId >org.apache.httpcomponents</groupId >
Original file line number Diff line number Diff line change 4444import static com .gooddata .util .Validate .notEmpty ;
4545import static com .gooddata .util .Validate .notNull ;
4646import static java .util .Collections .emptyList ;
47- import static org .apache .commons .lang .Validate .isTrue ;
47+ import static org .apache .commons .lang3 .Validate .isTrue ;
4848
4949/**
5050 * Service to manage dataload processes and process executions.
Original file line number Diff line number Diff line change 1414import com .gooddata .gdc .*;
1515import com .gooddata .gdc .AboutLinks .Link ;
1616import com .gooddata .project .Project ;
17- import org .apache .commons .lang .RandomStringUtils ;
17+ import org .apache .commons .lang3 .RandomStringUtils ;
1818import org .springframework .http .client .ClientHttpResponse ;
1919import org .springframework .web .client .RestClientException ;
2020import org .springframework .web .client .RestTemplate ;
Original file line number Diff line number Diff line change 1717import java .io .Serializable ;
1818import java .util .Set ;
1919
20- import static org .apache .commons .lang .StringUtils .substring ;
20+ import static org .apache .commons .lang3 .StringUtils .substring ;
2121
2222/**
2323 * Metadata meta information (meant just for internal SDK usage)
@@ -240,4 +240,9 @@ public Boolean isSharedWithSomeone() {
240240 public void setSharedWithSomeone (final Boolean sharedWithSomeone ) {
241241 this .sharedWithSomeone = sharedWithSomeone ;
242242 }
243+
244+ @ Override
245+ public String toString () {
246+ return GoodDataToStringBuilder .toStringExclude (this );
247+ }
243248}
Original file line number Diff line number Diff line change 88import com .fasterxml .jackson .core .JsonGenerator ;
99import com .fasterxml .jackson .databind .JsonSerializer ;
1010import com .fasterxml .jackson .databind .SerializerProvider ;
11- import org .apache .commons .lang .StringUtils ;
11+ import org .apache .commons .lang3 .StringUtils ;
1212
1313import java .io .IOException ;
1414import java .util .Set ;
Original file line number Diff line number Diff line change 1515import com .gooddata .model .ModelService ;
1616import com .gooddata .project .Environment ;
1717import com .gooddata .project .Project ;
18- import org .apache .commons .lang .StringUtils ;
18+ import org .apache .commons .lang3 .StringUtils ;
1919import org .testng .annotations .AfterClass ;
2020import org .testng .annotations .BeforeClass ;
2121import org .testng .annotations .Test ;
You can’t perform that action at this time.
0 commit comments