@@ -124,7 +124,8 @@ public Optional<Entity> apply(Entity.Spec entitySpec) {
124124 .setProject (entitySpec .getProject ())
125125 .setSpec (entitySpec .toProto ());
126126 CoreServiceProto .ApplyEntityResponse response = stub .applyEntity (request .build ());
127- Entity entity = response .hasEntity () ? new Entity (entitySpec .getProject (), response .getEntity ()) : null ;
127+ Entity entity =
128+ response .hasEntity () ? new Entity (entitySpec .getProject (), response .getEntity ()) : null ;
128129 return Optional .ofNullable (entity );
129130 }
130131
@@ -167,7 +168,8 @@ public Optional<FeatureTable> getFeatureTable(String project, String name) {
167168 CoreServiceProto .GetFeatureTableRequest .Builder request =
168169 CoreServiceProto .GetFeatureTableRequest .newBuilder ().setProject (project ).setName (name );
169170 CoreServiceProto .GetFeatureTableResponse response = stub .getFeatureTable (request .build ());
170- FeatureTable featureTable = response .hasTable () ? new FeatureTable (project , response .getTable ()) : null ;
171+ FeatureTable featureTable =
172+ response .hasTable () ? new FeatureTable (project , response .getTable ()) : null ;
171173 return Optional .ofNullable (featureTable );
172174 }
173175
@@ -184,7 +186,10 @@ public Optional<FeatureTable> apply(FeatureTable.Spec featureTableSpec) {
184186 .setProject (featureTableSpec .getProject ())
185187 .setTableSpec (featureTableSpec .toProto ());
186188 CoreServiceProto .ApplyFeatureTableResponse response = stub .applyFeatureTable (request .build ());
187- FeatureTable featureTable = response .hasTable () ? new FeatureTable (featureTableSpec .getProject (), response .getTable ()) : null ;
189+ FeatureTable featureTable =
190+ response .hasTable ()
191+ ? new FeatureTable (featureTableSpec .getProject (), response .getTable ())
192+ : null ;
188193 return Optional .ofNullable (featureTable );
189194 }
190195
@@ -213,7 +218,9 @@ public List<FeatureTable> listFeatureTables(String project, Map<String, String>
213218 CoreServiceProto .ListFeatureTablesRequest .newBuilder ().setFilter (filter ).build ();
214219 List <FeatureTableProto .FeatureTable > featureTables =
215220 stub .listFeatureTables (request ).getTablesList ();
216- return featureTables .stream ().map (proto -> new FeatureTable (project , proto )).collect (Collectors .toList ());
221+ return featureTables .stream ()
222+ .map (proto -> new FeatureTable (project , proto ))
223+ .collect (Collectors .toList ());
217224 }
218225
219226 /**
0 commit comments