Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft committed Nov 14, 2024
1 parent e5ed70a commit 4083889
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/http-client-java/emitter/src/code-model-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2380,9 +2380,7 @@ export class CodeModelBuilder {
const processSchemaFunc = (type: SdkType) => this.processSchema(type, "");
const processNamespaceFunc = (type: SdkType) => {
const namespace =
type.kind === "model"
? (getNamespace(type.__raw) ?? this.namespace)
: this.namespace;
type.kind === "model" ? (getNamespace(type.__raw) ?? this.namespace) : this.namespace;
const javaNamespace = this.getJavaNamespace(namespace, type);
return { namespace, javaNamespace };
};
Expand Down

0 comments on commit 4083889

Please sign in to comment.