Merge "Bug2174: XSQL log file is hardcode to /tmp/xql.log"
[controller.git] / opendaylight / config / yang-jmx-generator / src / main / java / org / opendaylight / controller / config / yangjmxgenerator / plugin / util / FullyQualifiedNameHelper.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.config.yangjmxgenerator.plugin.util;
9
10 public class FullyQualifiedNameHelper {
11
12     private FullyQualifiedNameHelper() {
13     }
14
15     public static String getFullyQualifiedName(String packageName,
16             String className) {
17         if (packageName.isEmpty())
18             return className;
19         return packageName + "." + className;
20     }
21 }