Skip to content

Commit 92f4c46

Browse files
ShadyBoukharyumar456
authored andcommitted
Refactored java exceptions. Removed unneeded classes.
1 parent 5675685 commit 92f4c46

File tree

5 files changed

+4
-17
lines changed

5 files changed

+4
-17
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ ENDIF()
1111
INCLUDE_DIRECTORIES(${JNI_INCLUDE_DIRS} ${ArrayFire_INCLUDE_DIRS})
1212

1313
ADD_LIBRARY(${AF_LIB} SHARED
14-
java/JavaException.h
15-
java/JavaException.cpp
14+
java/java.h
15+
java/java.cpp
1616
jni_helper.h
1717
algorithm.cpp
1818
arith.cpp

src/java/ThrownJavaException.h

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "JavaException.h"
1+
#include "java.h"
22

33
namespace java {
44
enum class JavaType {

src/jni_helper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22
#include <assert.h>
3-
#include "java/JavaException.h"
3+
#include "java/java.h"
44

55
#ifdef ANDROID
66
#include <android/log.h>

0 commit comments

Comments
 (0)