Change getCanonicalName to getName in models
[policy/models.git] / models-provider / src / main / java / org / onap / policy / models / provider / PolicyModelsProviderParameters.java
index 65aa72e..fa4d663 100644 (file)
@@ -1,6 +1,7 @@
 /*-
  * ============LICENSE_START=======================================================
  *  Copyright (C) 2019 Nordix Foundation.
+ *  Modifications Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -51,7 +52,7 @@ import org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl;
 
 @Data
 public class PolicyModelsProviderParameters implements ParameterGroup {
-    private static final String DEFAULT_IMPLEMENTATION = DatabasePolicyModelsProviderImpl.class.getCanonicalName();
+    private static final String DEFAULT_IMPLEMENTATION = DatabasePolicyModelsProviderImpl.class.getName();
 
     private String name;
     private String implementation = DEFAULT_IMPLEMENTATION;