"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/api-java/java/com/nokia/heif/ErrorHandler.java" between
heif-3.6.1.tar.gz and heif-3.6.2.tar.gz

About: HEIF (High Efficiency Image File Format) is a visual media container format for images and image sequences (MPEG-standard). This HEIF engine demonstrates its powerful features and capabilities (under Nokia HEIF license).

ErrorHandler.java  (heif-3.6.1):ErrorHandler.java  (heif-3.6.2)
/* /*
* This file is part of Nokia HEIF library * This file is part of Nokia HEIF library
* *
* Copyright (c) 2015-2018 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved. * Copyright (c) 2015-2021 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved.
* *
* Contact: heif@nokia.com * Contact: heif@nokia.com
* *
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its subsidiaries. All rights are reserved. * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its subsidiaries. All rights are reserved.
* Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior written consent of Nokia. * Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior written consent of Nokia.
* *
* *
*/ */
package com.nokia.heif; package com.nokia.heif;
skipping to change at line 74 skipping to change at line 74
"HIDDEN_PRIMARY_ITEM"); "HIDDEN_PRIMARY_ITEM");
ERROR_MESSAGES.put(INVALID_HANDLE, ERROR_MESSAGES.put(INVALID_HANDLE,
"INVALID_HANDLE"); "INVALID_HANDLE");
ERROR_MESSAGES.put(ALREADY_IN_GROUP, ERROR_MESSAGES.put(ALREADY_IN_GROUP,
"ALREADY_IN_GROUP"); "ALREADY_IN_GROUP");
ERROR_MESSAGES.put(UNDEFINED_ERROR, ERROR_MESSAGES.put(UNDEFINED_ERROR,
"UNDEFINED_ERROR"); "UNDEFINED_ERROR");
} }
;
/** /**
* Converts a native error code integer to a descriptive String * Converts a native error code integer to a descriptive String
* @param errorCode Error code to be converted * @param errorCode Error code to be converted
* @return Human readable text matching the error * @return Human readable text matching the error
*/ */
public static String nativeErrorToString(int errorCode) public static String nativeErrorToString(int errorCode)
{ {
return ERROR_MESSAGES.get(errorCode); return ERROR_MESSAGES.get(errorCode);
} }
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)