@@ -73,7 +73,7 @@ void test(String filename) throws IOException, DiffParseException {
7373
7474 List <Query > queries = List .of (
7575 new FeatureQuery ("B" ),
76- VariantQuery . fromConfigurationWithoutTrueAndFalseLiterals (negate (var ("B" ))),
76+ new VariantQuery (negate (var ("B" ))),
7777 new ArtifactQuery ("foo" )
7878 );
7979
@@ -112,8 +112,8 @@ void inspectRunningExample(String filename) throws IOException, DiffParseExcepti
112112 final VariationTree a = d .project (Time .AFTER );
113113
114114 // Queries of Listing 3 and 4
115- final Query bobsQuery1 = VariantQuery . fromConfigurationWithoutTrueAndFalseLiterals (and (negate (featureDoubleLink )));
116- final Query charlottesQuery = VariantQuery . fromConfigurationWithoutTrueAndFalseLiterals (negate (featureRing ));
115+ final Query bobsQuery1 = new VariantQuery (and (negate (featureDoubleLink )));
116+ final Query charlottesQuery = new VariantQuery (negate (featureRing ));
117117
118118 // Figure 1
119119 GameEngine .showAndAwaitAll (
@@ -126,7 +126,7 @@ void inspectRunningExample(String filename) throws IOException, DiffParseExcepti
126126 );
127127
128128 // Figure 3
129- final VariantQuery configureExample1 = VariantQuery . fromConfigurationWithoutTrueAndFalseLiterals (
129+ final VariantQuery configureExample1 = new VariantQuery (
130130 and (featureRing , /* FM = */ new Implies (featureDoubleLink , negate (featureRing )))
131131 );
132132 GameEngine .showAndAwaitAll (
@@ -162,7 +162,7 @@ void testAllConfigs(String filename) throws IOException, DiffParseException {
162162 for (int i = 0 ; i < configs .size (); ++i ) {
163163 final Node config = configs .get (i );
164164
165- final Query q = VariantQuery . fromConfigurationWithoutTrueAndFalseLiterals (config );
165+ final Query q = new VariantQuery (config );
166166 final DiffTree view = DiffView .optimized (d , q );
167167 views .add (view );
168168
0 commit comments