From b62db4a5f2d8e04f8265192cdb3c2ddbb9313697 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 10 May 2026 17:31:47 +0000 Subject: [PATCH] chore(autofix): apply prettier + eslint fixes via /autofix command --- gitnexus/src/core/ingestion/languages/java/index.ts | 6 +----- gitnexus/src/core/ingestion/languages/java/simple-hooks.ts | 4 +--- gitnexus/test/integration/resolvers/java.test.ts | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/gitnexus/src/core/ingestion/languages/java/index.ts b/gitnexus/src/core/ingestion/languages/java/index.ts index 59e72155e..443faac4b 100644 --- a/gitnexus/src/core/ingestion/languages/java/index.ts +++ b/gitnexus/src/core/ingestion/languages/java/index.ts @@ -27,8 +27,4 @@ export { interpretJavaImport, interpretJavaTypeBinding } from './interpret.js'; export { javaMergeBindings } from './merge-bindings.js'; export { javaArityCompatibility } from './arity.js'; export { resolveJavaImportTarget, type JavaResolveContext } from './import-target.js'; -export { - javaBindingScopeFor, - javaImportOwningScope, - javaReceiverBinding, -} from './simple-hooks.js'; +export { javaBindingScopeFor, javaImportOwningScope, javaReceiverBinding } from './simple-hooks.js'; diff --git a/gitnexus/src/core/ingestion/languages/java/simple-hooks.ts b/gitnexus/src/core/ingestion/languages/java/simple-hooks.ts index f42e2f204..25da32369 100644 --- a/gitnexus/src/core/ingestion/languages/java/simple-hooks.ts +++ b/gitnexus/src/core/ingestion/languages/java/simple-hooks.ts @@ -51,7 +51,5 @@ export function javaImportOwningScope( /** Look up `this` or `super` in the function scope's type bindings. */ export function javaReceiverBinding(functionScope: Scope): TypeRef | null { if (functionScope.kind !== 'Function') return null; - return ( - functionScope.typeBindings.get('this') ?? functionScope.typeBindings.get('super') ?? null - ); + return functionScope.typeBindings.get('this') ?? functionScope.typeBindings.get('super') ?? null; } diff --git a/gitnexus/test/integration/resolvers/java.test.ts b/gitnexus/test/integration/resolvers/java.test.ts index eb27e63a9..516dbec37 100644 --- a/gitnexus/test/integration/resolvers/java.test.ts +++ b/gitnexus/test/integration/resolvers/java.test.ts @@ -1,7 +1,7 @@ /** * Java: class extends + implements multiple interfaces + ambiguous package disambiguation */ -import { describe, it as vitestIt, expect, beforeAll } from 'vitest'; +import { describe, expect, beforeAll } from 'vitest'; import path from 'path'; import { FIXTURES,