diff --git a/wrappers/java/java_class.mustache b/wrappers/java/java_class.mustache index afe0d173c..0db3c1a6e 100644 --- a/wrappers/java/java_class.mustache +++ b/wrappers/java/java_class.mustache @@ -122,20 +122,6 @@ public {{#isLinphoneFactory}}abstract class{{/isLinphoneFactory}}{{#isNotLinphon * Gets the object stored in this object user's data */ {{#isLinphoneFactory}}abstract {{/isLinphoneFactory}}public Object getUserData(); - -{{#isNotLinphoneFactory}} -{{#staticMethods}} - {{#doc}} - /** - {{#lines}} - * {{line}} - {{/lines}} - */ - {{/doc}} - public {{return}} {{name}}({{params}}){{#exception}} throws CoreException{{/exception}}; - -{{/staticMethods}} -{{/isNotLinphoneFactory}} } class {{classImplName}} {{#isLinphoneFactory}}extends{{/isLinphoneFactory}}{{#isNotLinphoneFactory}}implements{{/isNotLinphoneFactory}} {{className}} { @@ -214,12 +200,4 @@ class {{classImplName}} {{#isLinphoneFactory}}extends{{/isLinphoneFactory}}{{#is public Object getUserData() { return userData; } - -{{#isNotLinphoneFactory}} -{{#staticMethods}} - @Override - public native {{return_native}} {{name}}({{static_native_params}}); - -{{/staticMethods}} -{{/isNotLinphoneFactory}} } \ No newline at end of file diff --git a/wrappers/java/migration.sh b/wrappers/java/migration.sh index 1af0683ed..9d84a6273 100644 --- a/wrappers/java/migration.sh +++ b/wrappers/java/migration.sh @@ -305,16 +305,12 @@ s/new XmlRpcSessionImpl(LinphoneManager.getLcIfManagerNotDestroyedOrNull(), /Lin # Core.startEchoCancellerCalibration no longer takes a parameter # XmlRpcSession.createRequest takes first the return arg type and then the name of the method, until now it was the other way around - # # Factory -#Factory.createLpConfigFromString => Config.newFromBuffer -#Factory.createLpConfig => Config.newWithFactory or Core.createConfig #Factory.createAccountCreator() => Core.createAccountCreator() #Factory.createPresenceModel() => Core.createPresenceModel() #Factory.instance().setLogCollectionPath(getFilesDir().getAbsolutePath()); => Core.setLogCollectionPath #Factory.instance().enableLogCollection(isDebugEnabled); => Core.enableLogCollection #Factory.instance().setDebugMode(isDebugEnabled, getString(R.string.app_name)); => Core.setLogLevelMask -#Factory.createContent( => Core.createContent( # # Core #Core.getVideoDevice and Core.setVideoDevice now takes/returns String instead of int