Make PackageFactory#createPackage private
@@ -1229,8 +1229,7 @@ public final class PackageFactory {
* <p>Executes {@code globber.onCompletion()} on completion and executes {@code
* globber.onInterrupt()} on an {@link InterruptedException}.
*/
- // Used outside of bazel!
- public Package.Builder createPackage(
+ private Package.Builder createPackage(
String workspaceName,
PackageIdentifier packageId,
Path buildFile,
