Skip to content
Permalink
Browse files
fix: ignore added interface methods for generated code (#101)
Adds generic ignore rules for added methods to interfaces in the generated code.

Fixes #99
  • Loading branch information
olavloite committed Mar 16, 2020
1 parent 37b7c88 commit 402cfa1e1e2994f7bb1b783cf823021b54fb175e
@@ -1,34 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- Ignore all new methods in interfaces in the generated code. -->
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className>
<method>* getCreateTime()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className>
<method>* getCreateTimeOrBuilder()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className>
<method>* getRestoreInfo()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className>
<method>* getRestoreInfoOrBuilder()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className>
<method>* hasCreateTime()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className>
<method>* hasRestoreInfo()</method>
<className>com/google/spanner/admin/database/v1/*</className>
<method>*</method>
</difference>
</differences>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- Ignore all new methods in interfaces in the generated code. -->
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/admin/instance/v1/*</className>
<method>*</method>
</difference>
</differences>
@@ -1,19 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- Ignore all new methods in interfaces in the generated code. -->
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/v1/ExecuteSqlRequestOrBuilder</className>
<method>* getQueryOptions()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/v1/ExecuteSqlRequestOrBuilder</className>
<method>* getQueryOptionsOrBuilder()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/spanner/v1/ExecuteSqlRequestOrBuilder</className>
<method>* hasQueryOptions()</method>
<className>com/google/spanner/v1/*</className>
<method>*</method>
</difference>
</differences>

0 comments on commit 402cfa1

Please sign in to comment.