| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| * |
| */ |
| package org.apache.qpid.server.logging.messages; |
| |
| import static org.apache.qpid.server.logging.AbstractMessageLogger.DEFAULT_LOG_HIERARCHY_PREFIX; |
| |
| import java.text.MessageFormat; |
| import java.util.Locale; |
| import java.util.ResourceBundle; |
| |
| import org.slf4j.LoggerFactory; |
| |
| import org.apache.qpid.server.logging.LogMessage; |
| |
| /** |
| * DO NOT EDIT DIRECTLY, THIS FILE WAS GENERATED. |
| * |
| * Generated using GenerateLogMessages and LogMessages.vm |
| * This file is based on the content of Connection_logmessages.properties |
| * |
| * To regenerate, use Maven lifecycle generates-sources with -Dgenerate=true |
| */ |
| public class ConnectionMessages |
| { |
| private static ResourceBundle _messages; |
| private static Locale _currentLocale; |
| |
| static |
| { |
| Locale locale = Locale.US; |
| String localeSetting = System.getProperty("qpid.broker_locale"); |
| if (localeSetting != null) |
| { |
| String[] localeParts = localeSetting.split("_"); |
| String language = (localeParts.length > 0 ? localeParts[0] : ""); |
| String country = (localeParts.length > 1 ? localeParts[1] : ""); |
| String variant = ""; |
| if (localeParts.length > 2) |
| { |
| variant = localeSetting.substring(language.length() + 1 + country.length() + 1); |
| } |
| locale = new Locale(language, country, variant); |
| } |
| _currentLocale = locale; |
| } |
| |
| public static final String CONNECTION_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection"; |
| public static final String CLIENT_VERSION_LOG_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.client_version_log"; |
| public static final String CLIENT_VERSION_REJECT_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.client_version_reject"; |
| public static final String CLOSE_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.close"; |
| public static final String DROPPED_CONNECTION_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.dropped_connection"; |
| public static final String IDLE_CLOSE_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.idle_close"; |
| public static final String IDLE_TXN_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.idle_txn"; |
| public static final String LARGE_TRANSACTION_WARN_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.large_transaction_warn"; |
| public static final String MODEL_DELETE_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.model_delete"; |
| public static final String OPEN_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.open"; |
| public static final String OPEN_TXN_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.open_txn"; |
| public static final String OPERATION_LOG_HIERARCHY = DEFAULT_LOG_HIERARCHY_PREFIX + "connection.operation"; |
| |
| static |
| { |
| LoggerFactory.getLogger(CONNECTION_LOG_HIERARCHY); |
| LoggerFactory.getLogger(CLIENT_VERSION_LOG_LOG_HIERARCHY); |
| LoggerFactory.getLogger(CLIENT_VERSION_REJECT_LOG_HIERARCHY); |
| LoggerFactory.getLogger(CLOSE_LOG_HIERARCHY); |
| LoggerFactory.getLogger(DROPPED_CONNECTION_LOG_HIERARCHY); |
| LoggerFactory.getLogger(IDLE_CLOSE_LOG_HIERARCHY); |
| LoggerFactory.getLogger(IDLE_TXN_LOG_HIERARCHY); |
| LoggerFactory.getLogger(LARGE_TRANSACTION_WARN_LOG_HIERARCHY); |
| LoggerFactory.getLogger(MODEL_DELETE_LOG_HIERARCHY); |
| LoggerFactory.getLogger(OPEN_LOG_HIERARCHY); |
| LoggerFactory.getLogger(OPEN_TXN_LOG_HIERARCHY); |
| LoggerFactory.getLogger(OPERATION_LOG_HIERARCHY); |
| |
| _messages = ResourceBundle.getBundle("org.apache.qpid.server.logging.messages.Connection_logmessages", _currentLocale); |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1005 : Client version "{0}" logged by validation</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage CLIENT_VERSION_LOG(String param1) |
| { |
| String rawMessage = _messages.getString("CLIENT_VERSION_LOG"); |
| |
| final Object[] messageArguments = {param1}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return CLIENT_VERSION_LOG_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1006 : Client version "{0}" rejected by validation</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage CLIENT_VERSION_REJECT(String param1) |
| { |
| String rawMessage = _messages.getString("CLIENT_VERSION_REJECT"); |
| |
| final Object[] messageArguments = {param1}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return CLIENT_VERSION_REJECT_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1002 : Close[ : {0}]</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage CLOSE(String param1, boolean opt1) |
| { |
| String rawMessage = _messages.getString("CLOSE"); |
| StringBuffer msg = new StringBuffer(); |
| |
| // Split the formatted message up on the option values so we can |
| // rebuild the message based on the configured options. |
| String[] parts = rawMessage.split("\\["); |
| msg.append(parts[0]); |
| |
| int end; |
| if (parts.length > 1) |
| { |
| |
| // Add Option : : {0}. |
| end = parts[1].indexOf(']'); |
| if (opt1) |
| { |
| msg.append(parts[1].substring(0, end)); |
| } |
| |
| // Use 'end + 1' to remove the ']' from the output |
| msg.append(parts[1].substring(end + 1)); |
| } |
| |
| rawMessage = msg.toString(); |
| |
| final Object[] messageArguments = {param1}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return CLOSE_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1004 : Connection dropped</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage DROPPED_CONNECTION() |
| { |
| String rawMessage = _messages.getString("DROPPED_CONNECTION"); |
| |
| final String message = rawMessage; |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return DROPPED_CONNECTION_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1003 : Closed due to inactivity [: {0}]</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage IDLE_CLOSE(String param1, boolean opt1) |
| { |
| String rawMessage = _messages.getString("IDLE_CLOSE"); |
| StringBuffer msg = new StringBuffer(); |
| |
| // Split the formatted message up on the option values so we can |
| // rebuild the message based on the configured options. |
| String[] parts = rawMessage.split("\\["); |
| msg.append(parts[0]); |
| |
| int end; |
| if (parts.length > 1) |
| { |
| |
| // Add Option : : {0}. |
| end = parts[1].indexOf(']'); |
| if (opt1) |
| { |
| msg.append(parts[1].substring(0, end)); |
| } |
| |
| // Use 'end + 1' to remove the ']' from the output |
| msg.append(parts[1].substring(end + 1)); |
| } |
| |
| rawMessage = msg.toString(); |
| |
| final Object[] messageArguments = {param1}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return IDLE_CLOSE_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CHN-1011 : Idle Transaction : {0,number} ms</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage IDLE_TXN(Number param1) |
| { |
| String rawMessage = _messages.getString("IDLE_TXN"); |
| |
| final Object[] messageArguments = {param1}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return IDLE_TXN_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1009 : Uncommitted transaction(s) contains {0,number} bytes of incoming message data exceeding {1,number} bytes limit. Messages will be flowed to disk.</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage LARGE_TRANSACTION_WARN(Number param1, Number param2) |
| { |
| String rawMessage = _messages.getString("LARGE_TRANSACTION_WARN"); |
| |
| final Object[] messageArguments = {param1, param2}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return LARGE_TRANSACTION_WARN_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1007 : Connection close initiated by operator</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage MODEL_DELETE() |
| { |
| String rawMessage = _messages.getString("MODEL_DELETE"); |
| |
| final String message = rawMessage; |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return MODEL_DELETE_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1001 : Open : Destination : {0}({1}) : Protocol Version : {2}[ : SSL][ : Client ID : {3}][ : Client Version : {4}][ : Client Product : {5}]</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage OPEN(String param1, String param2, String param3, String param4, String param5, String param6, boolean opt1, boolean opt2, boolean opt3, boolean opt4) |
| { |
| String rawMessage = _messages.getString("OPEN"); |
| StringBuffer msg = new StringBuffer(); |
| |
| // Split the formatted message up on the option values so we can |
| // rebuild the message based on the configured options. |
| String[] parts = rawMessage.split("\\["); |
| msg.append(parts[0]); |
| |
| int end; |
| if (parts.length > 1) |
| { |
| |
| // Add Option : : SSL. |
| end = parts[1].indexOf(']'); |
| if (opt1) |
| { |
| msg.append(parts[1].substring(0, end)); |
| } |
| |
| // Use 'end + 1' to remove the ']' from the output |
| msg.append(parts[1].substring(end + 1)); |
| |
| // Add Option : : Client ID : {3}. |
| end = parts[2].indexOf(']'); |
| if (opt2) |
| { |
| msg.append(parts[2].substring(0, end)); |
| } |
| |
| // Use 'end + 1' to remove the ']' from the output |
| msg.append(parts[2].substring(end + 1)); |
| |
| // Add Option : : Client Version : {4}. |
| end = parts[3].indexOf(']'); |
| if (opt3) |
| { |
| msg.append(parts[3].substring(0, end)); |
| } |
| |
| // Use 'end + 1' to remove the ']' from the output |
| msg.append(parts[3].substring(end + 1)); |
| |
| // Add Option : : Client Product : {5}. |
| end = parts[4].indexOf(']'); |
| if (opt4) |
| { |
| msg.append(parts[4].substring(0, end)); |
| } |
| |
| // Use 'end + 1' to remove the ']' from the output |
| msg.append(parts[4].substring(end + 1)); |
| } |
| |
| rawMessage = msg.toString(); |
| |
| final Object[] messageArguments = {param1, param2, param3, param4, param5, param6}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return OPEN_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1010 : Open Transaction : {0,number} ms</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage OPEN_TXN(Number param1) |
| { |
| String rawMessage = _messages.getString("OPEN_TXN"); |
| |
| final Object[] messageArguments = {param1}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return OPEN_TXN_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| /** |
| * Log a Connection message of the Format: |
| * <pre>CON-1008 : Operation : {0}</pre> |
| * Optional values are contained in [square brackets] and are numbered |
| * sequentially in the method call. |
| * |
| */ |
| public static LogMessage OPERATION(String param1) |
| { |
| String rawMessage = _messages.getString("OPERATION"); |
| |
| final Object[] messageArguments = {param1}; |
| // Create a new MessageFormat to ensure thread safety. |
| // Sharing a MessageFormat and using applyPattern is not thread safe |
| MessageFormat formatter = new MessageFormat(rawMessage, _currentLocale); |
| |
| final String message = formatter.format(messageArguments); |
| |
| return new LogMessage() |
| { |
| @Override |
| public String toString() |
| { |
| return message; |
| } |
| |
| @Override |
| public String getLogHierarchy() |
| { |
| return OPERATION_LOG_HIERARCHY; |
| } |
| |
| @Override |
| public boolean equals(final Object o) |
| { |
| if (this == o) |
| { |
| return true; |
| } |
| if (o == null || getClass() != o.getClass()) |
| { |
| return false; |
| } |
| |
| final LogMessage that = (LogMessage) o; |
| |
| return getLogHierarchy().equals(that.getLogHierarchy()) && toString().equals(that.toString()); |
| |
| } |
| |
| @Override |
| public int hashCode() |
| { |
| int result = toString().hashCode(); |
| result = 31 * result + getLogHierarchy().hashCode(); |
| return result; |
| } |
| }; |
| } |
| |
| |
| private ConnectionMessages() |
| { |
| } |
| |
| } |