code: def add_new_message():
      """
      Add new java messages to ignore from user text file.  It first reads in the new java ignored messages
      from the user text file and generate a dict structure to out of the new java ignored messages.  This
      is achieved by function extract_message_to_dict.  Next, new java messages will be added to the original
      ignored java messages dict g_ok_java_messages.  Again, this is achieved by function update_message_dict.
  
      :return: none
      """
      global g_new_messages_to_exclude  # filename containing text file from user containing new java ignored messages
      global g_dict_changed  # True if new ignored java messages are added.
  
      new_message_dict = extract_message_to_dict(
          g_new_messages_to_exclude
      )
  
      if new_message_dict:
          g_dict_changed = True
          update_message_dict(new_message_dict, 1)
  
file_path: h2o-3/scripts/addjavamessage2ignore.py
imports: import sys
  import os
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 2 for calling a global function with example usage: add_new_message() without return types