Skip to content

Commit

Permalink
8322545: Declare newInsets as static in ThemeReader.cpp
Browse files Browse the repository at this point in the history
Reviewed-by: serb, aivanov
  • Loading branch information
rajamah authored and aivanov-jdk committed Jan 8, 2024
1 parent 24823ba commit d78e8da
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -492,7 +492,7 @@ static void rescale(SIZE *size) {
}
}

jobject newInsets(JNIEnv *env, jint top, jint left, jint bottom, jint right) {
static jobject newInsets(JNIEnv *env, jint top, jint left, jint bottom, jint right) {
if (env->EnsureLocalCapacity(2) < 0) {
return NULL;
}
Expand Down

0 comments on commit d78e8da

Please sign in to comment.