text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="AndroidLayouts">
    <shared>
      <config>
        <target>android-23</target>
      </config>
    </shared>
  </component>
  <component name="AndroidLogFilters">
    <option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only selected application" />
  </component>
  <component name="ChangeListManager">
    <list default="true" id="7705c121-d031-4aea-aaf7-fe1d9a8e04ab" name="Default" comment="">
      <change afterPath="$PROJECT_DIR$/.idea/libraries/Gradle__com_android_support_support_v4_23_4_0_aar.xml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/../.idea/encodings.xml" beforeDir="false" />
      <change beforePath="$PROJECT_DIR$/../.idea/misc.xml" beforeDir="false" />
      <change beforePath="$PROJECT_DIR$/../.idea/modules.xml" beforeDir="false" />
      <change beforePath="$PROJECT_DIR$/../.idea/vcs.xml" beforeDir="false" />
      <change beforePath="$PROJECT_DIR$/.idea/gradle.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/gradle.xml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/.idea/libraries/Gradle__com_android_support_support_annotations_23_4_0_jar.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/libraries/Gradle__com_android_support_support_annotations_23_4_0_jar.xml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/app/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/app/build.gradle" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/ParseHandler.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/ParseHandler.java" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/build.gradle" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties" beforeDir="false" afterPath="$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties" afterDir="false" />
    </list>
    <ignored path="WeatherForecast-SAX+SQLite+ListView.iws" />
    <ignored path=".idea/workspace.xml" />
    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="CreatePatchCommitExecutor">
    <option name="PATCH_PATH" value="" />
  </component>
  <component name="ExternalProjectsData">
    <projectState path="$PROJECT_DIR$">
      <ProjectState />
    </projectState>
  </component>
  <component name="ExternalProjectsManager">
    <system id="GRADLE">
      <state>
        <projects_view />
      </state>
    </system>
  </component>
  <component name="FavoritesManager">
    <favorites_list name="WeatherForecast-SAX+SQLite+ListView" />
  </component>
  <component name="FileEditorManager">
    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
          <provider selected="true" editor-type-id="text-editor" />
          <provider editor-type-id="android-designer2" />
        </entry>
      </file>
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/app/src/main/res/values-v14/styles.xml">
          <provider selected="true" editor-type-id="text-editor" />
        </entry>
      </file>
      <file pinned="false" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/MainActivity.java">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="-735">
              <caret line="3" selection-start-line="3" selection-end-line="3" />
              <folding>
                <element signature="imports" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/ParseHandler.java">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="209">
              <caret line="11" column="66" selection-start-line="11" selection-start-column="66" selection-end-line="11" selection-end-column="66" />
              <folding>
                <element signature="imports" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="95">
              <caret line="5" selection-start-line="5" selection-end-line="5" selection-end-column="79" />
            </state>
          </provider>
        </entry>
      </file>
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/app/src/main/res/layout/listview_items.xml">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="76">
              <caret line="4" column="33" selection-start-line="4" selection-start-column="33" selection-end-line="4" selection-end-column="33" />
            </state>
          </provider>
          <provider editor-type-id="android-designer2" />
        </entry>
      </file>
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/Dal.java">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="621">
              <caret line="96" column="24" selection-start-line="96" selection-start-column="24" selection-end-line="96" selection-end-column="24" />
            </state>
          </provider>
        </entry>
      </file>
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/app/build.gradle">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="95">
              <caret line="5" selection-start-line="5" selection-end-line="5" />
            </state>
          </provider>
        </entry>
      </file>
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/WeatherSQLiteHelper.java">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="627">
              <caret line="36" column="26" selection-start-line="36" selection-start-column="26" selection-end-line="36" selection-end-column="26" />
            </state>
          </provider>
        </entry>
      </file>
      <file pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/build.gradle">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="19">
              <caret line="1" selection-start-line="1" selection-end-line="17" />
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="FindInProjectRecents">
    <findStrings>
      <find>Desciption</find>
    </findStrings>
    <dirStrings>
      <dir>$PROJECT_DIR$/app/src/main/java</dir>
    </dirStrings>
  </component>
  <component name="Git.Settings">
    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
  </component>
  <component name="IdeDocumentHistory">
    <option name="CHANGED_PATHS">
      <list>
        <option value="$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/WeatherItem.java" />
        <option value="$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/WeatherItems.java" />
        <option value="$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/WeatherSQLiteHelper.java" />
        <option value="$PROJECT_DIR$/app/build.gradle" />
        <option value="$PROJECT_DIR$/app/src/main/AndroidManifest.xml" />
        <option value="$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/Dal.java" />
        <option value="$PROJECT_DIR$/README.md" />
        <option value="$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/MainActivity.java" />
        <option value="$PROJECT_DIR$/app/src/main/res/layout/listview_items.xml" />
        <option value="$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/ParseHandler.java" />
        <option value="$PROJECT_DIR$/build.gradle" />
      </list>
    </option>
  </component>
  <component name="ProjectFrameBounds" extendedState="6">
    <option name="y" value="23" />
    <option name="width" value="1920" />
    <option name="height" value="997" />
  </component>
  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
  <component name="ProjectView">
    <navigator proportions="" version="1">
      <foldersAlwaysOnTop value="true" />
    </navigator>
    <panes>
      <pane id="ProjectPane" />
      <pane id="PackagesPane" />
      <pane id="AndroidView">
        <subPane>
          <expand>
            <path>
              <item name="WeatherForecast-SAX+SQLite+ListView" type="1abcf292:AndroidViewProjectNode" />
              <item name="app" type="feadf853:AndroidModuleNode" />
            </path>
            <path>
              <item name="WeatherForecast-SAX+SQLite+ListView" type="1abcf292:AndroidViewProjectNode" />
              <item name="app" type="feadf853:AndroidModuleNode" />
              <item name="java" type="edd41e36:AndroidSourceTypeNode" />
            </path>
            <path>
              <item name="WeatherForecast-SAX+SQLite+ListView" type="1abcf292:AndroidViewProjectNode" />
              <item name="app" type="feadf853:AndroidModuleNode" />
              <item name="java" type="edd41e36:AndroidSourceTypeNode" />
              <item name="weatherdemo" type="cbb59c9e:AndroidPsiDirectoryNode" />
            </path>
            <path>
              <item name="WeatherForecast-SAX+SQLite+ListView" type="1abcf292:AndroidViewProjectNode" />
              <item name="app" type="feadf853:AndroidModuleNode" />
              <item name="assets" type="edd41e36:AndroidSourceTypeNode" />
            </path>
            <path>
              <item name="WeatherForecast-SAX+SQLite+ListView" type="1abcf292:AndroidViewProjectNode" />
              <item name="app" type="feadf853:AndroidModuleNode" />
              <item name="res" type="d4f16f75:AndroidResFolderNode" />
            </path>
            <path>
              <item name="WeatherForecast-SAX+SQLite+ListView" type="1abcf292:AndroidViewProjectNode" />
              <item name="app" type="feadf853:AndroidModuleNode" />
              <item name="res" type="d4f16f75:AndroidResFolderNode" />
              <item name="drawable" type="ddeffd01:AndroidResFolderTypeNode" />
            </path>
            <path>
              <item name="WeatherForecast-SAX+SQLite+ListView" type="1abcf292:AndroidViewProjectNode" />
              <item name="Gradle Scripts" type="ae0cef3a:AndroidBuildScriptsGroupNode" />
            </path>
          </expand>
          <select />
        </subPane>
      </pane>
      <pane id="Scope">
        <subPane subId="Project Files">
          <expand>
            <path>
              <item name="Root" type="cbb8eebc:String" user="Root" />
              <item name="app" type="cbb8eebc:String" user="app" />
            </path>
            <path>
              <item name="Root" type="cbb8eebc:String" user="Root" />
              <item name="app" type="cbb8eebc:String" user="app" />
              <item name="app" type="cbb8eebc:String" user="app" />
            </path>
            <path>
              <item name="Root" type="cbb8eebc:String" user="Root" />
              <item name="app" type="cbb8eebc:String" user="app" />
              <item name="app" type="cbb8eebc:String" user="app" />
              <item name="src/main" type="cbb8eebc:String" user="src/main" />
            </path>
            <path>
              <item name="Root" type="cbb8eebc:String" user="Root" />
              <item name="app" type="cbb8eebc:String" user="app" />
              <item name="app" type="cbb8eebc:String" user="app" />
              <item name="src/main" type="cbb8eebc:String" user="src/main" />
              <item name="java" type="cbb8eebc:String" user="java" />
            </path>
            <path>
              <item name="Root" type="cbb8eebc:String" user="Root" />
              <item name="WeatherForecast-SAX+SQLite+ListView" type="cbb8eebc:String" user="WeatherForecast-SAX+SQLite+ListView" />
            </path>
            <path>
              <item name="Root" type="cbb8eebc:String" user="Root" />
              <item name="WeatherForecast-SAX+SQLite+ListView" type="cbb8eebc:String" user="WeatherForecast-SAX+SQLite+ListView" />
              <item name="WeatherForecast-SAX+SQLite+ListView" type="cbb8eebc:String" user="WeatherForecast-SAX+SQLite+ListView" />
            </path>
          </expand>
          <select />
        </subPane>
      </pane>
    </panes>
  </component>
  <component name="PropertiesComponent">
    <property name="SearchEverywhereHistoryKey" value="device	ACTION	ActivateDeviceFileExplorerToolWindow" />
    <property name="android.project.structure.last.selected" value="SDK Location" />
    <property name="android.project.structure.proportion" value="0.15" />
    <property name="android.sdk.path" value="$USER_HOME$/Library/Developer/Xamarin/android-sdk-macosx" />
    <property name="device.picker.selection" value="Pixel_2_API_26" />
    <property name="full.screen.before.presentation.mode" value="false" />
    <property name="last_opened_file_path" value="$PROJECT_DIR$/../WeatherForecast-SAX+ListView" />
    <property name="settings.editor.selected.configurable" value="android.sdk-updates" />
    <property name="settings.editor.splitter.proportion" value="0.2" />
    <property name="show.migrate.to.gradle.popup" value="false" />
  </component>
  <component name="RecentsManager">
    <key name="IntroduceConstantDialog.RECENTS_KEY">
      <recent name="edu.uoregon.bbird.weatherdemo.WeatherSQLiteHelper" />
      <recent name="edu.uoregon.bbird.weatherdemo.MainActivity" />
    </key>
  </component>
  <component name="RunDashboard">
    <option name="ruleStates">
      <list>
        <RuleState>
          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
        </RuleState>
        <RuleState>
          <option name="name" value="StatusDashboardGroupingRule" />
        </RuleState>
      </list>
    </option>
  </component>
  <component name="RunManager" selected="Android App.app">
    <configuration default="true" type="AndroidRunConfigurationType" factoryName="Android Application">
      <module name="" />
      <option name="DEPLOY" value="true" />
      <option name="ARTIFACT_NAME" value="" />
      <option name="PM_INSTALL_OPTIONS" value="" />
      <option name="ACTIVITY_EXTRA_FLAGS" value="" />
      <option name="MODE" value="default_activity" />
      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
      <option name="PREFERRED_AVD" value="" />
      <option name="CLEAR_LOGCAT" value="false" />
      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" />
      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
      <option name="FORCE_STOP_RUNNING_APP" value="true" />
      <option name="DEBUGGER_TYPE" value="Auto" />
      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
      <option name="PREFERRED_AVD" value="" />
      <option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
      <option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
      <Hybrid>
        <option name="WORKING_DIR" value="" />
        <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
      </Hybrid>
      <Native>
        <option name="WORKING_DIR" value="" />
        <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
      </Native>
      <Java />
      <Profilers>
        <option name="GAPID_DISABLE_PCS" value="false" />
      </Profilers>
      <option name="DEEP_LINK" value="" />
      <option name="ACTIVITY_CLASS" value="" />
      <method />
    </configuration>
    <configuration name="<template>" type="Applet" default="true" selected="false">
      <option name="MAIN_CLASS_NAME" />
      <option name="HTML_FILE_NAME" />
      <option name="HTML_USED" value="false" />
      <option name="WIDTH" value="400" />
      <option name="HEIGHT" value="300" />
      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
      <option name="VM_PARAMETERS" />
    </configuration>
    <configuration default="true" type="TestNGTestDiscovery" factoryName="TestNG Test Discovery" changeList="All">
      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
      <module name="" />
      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
      <option name="ALTERNATIVE_JRE_PATH" />
      <option name="SUITE_NAME" />
      <option name="PACKAGE_NAME" />
      <option name="MAIN_CLASS_NAME" />
      <option name="METHOD_NAME" />
      <option name="GROUP_NAME" />
      <option name="TEST_OBJECT" value="CLASS" />
      <option name="VM_PARAMETERS" />
      <option name="PARAMETERS" />
      <option name="WORKING_DIRECTORY" />
      <option name="OUTPUT_DIRECTORY" />
      <option name="ANNOTATION_TYPE" />
      <option name="ENV_VARIABLES" />
      <option name="PASS_PARENT_ENVS" value="true" />
      <option name="TEST_SEARCH_SCOPE">
        <value defaultName="singleModule" />
      </option>
      <option name="USE_DEFAULT_REPORTERS" value="false" />
      <option name="PROPERTIES_FILE" />
      <envs />
      <properties />
      <listeners />
      <method />
    </configuration>
    <configuration name="<template>" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" default="true" selected="false">
      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
    </configuration>
    <configuration default="true" type="AndroidJUnit" factoryName="Android JUnit">
      <option name="TEST_OBJECT" value="class" />
      <option name="VM_PARAMETERS" />
      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
      <method v="2">
        <option name="Android.Gradle.BeforeRunTask" enabled="true" />
      </method>
    </configuration>
    <configuration name="app" type="AndroidRunConfigurationType" factoryName="Android App" activateToolWindowBeforeRun="false">
      <module name="app" />
      <option name="DEPLOY" value="true" />
      <option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
      <option name="DEPLOY_AS_INSTANT" value="false" />
      <option name="ARTIFACT_NAME" value="" />
      <option name="PM_INSTALL_OPTIONS" value="" />
      <option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
      <option name="ACTIVITY_EXTRA_FLAGS" value="" />
      <option name="MODE" value="default_activity" />
      <option name="CLEAR_LOGCAT" value="false" />
      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
      <option name="FORCE_STOP_RUNNING_APP" value="true" />
      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
      <option name="PREFERRED_AVD" value="" />
      <option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
      <option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
      <option name="DEBUGGER_TYPE" value="Auto" />
      <Auto>
        <option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
        <option name="SHOW_STATIC_VARS" value="true" />
        <option name="WORKING_DIR" value="" />
        <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
        <option name="SHOW_OPTIMIZED_WARNING" value="true" />
      </Auto>
      <Hybrid>
        <option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
        <option name="SHOW_STATIC_VARS" value="true" />
        <option name="WORKING_DIR" value="" />
        <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
        <option name="SHOW_OPTIMIZED_WARNING" value="true" />
      </Hybrid>
      <Java />
      <Native>
        <option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
        <option name="SHOW_STATIC_VARS" value="true" />
        <option name="WORKING_DIR" value="" />
        <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
        <option name="SHOW_OPTIMIZED_WARNING" value="true" />
      </Native>
      <Profilers>
        <option name="ADVANCED_PROFILING_ENABLED" value="false" />
        <option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
        <option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
      </Profilers>
      <option name="DEEP_LINK" value="" />
      <option name="ACTIVITY_CLASS" value="" />
      <method v="2">
        <option name="Android.Gradle.BeforeRunTask" enabled="true" />
      </method>
    </configuration>
    <configuration default="false" name="app" type="AndroidRunConfigurationType" factoryName="Android Application" activateToolWindowBeforeRun="false">
      <module name="app" />
      <option name="DEPLOY" value="true" />
      <option name="ARTIFACT_NAME" value="" />
      <option name="PM_INSTALL_OPTIONS" value="" />
      <option name="ACTIVITY_EXTRA_FLAGS" value="" />
      <option name="MODE" value="default_activity" />
      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
      <option name="PREFERRED_AVD" value="" />
      <option name="CLEAR_LOGCAT" value="false" />
      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" />
      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
      <option name="FORCE_STOP_RUNNING_APP" value="true" />
      <option name="DEBUGGER_TYPE" value="Java" />
      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
      <option name="PREFERRED_AVD" value="" />
      <option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
      <option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
      <Hybrid>
        <option name="WORKING_DIR" value="" />
        <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
      </Hybrid>
      <Native>
        <option name="WORKING_DIR" value="" />
        <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
      </Native>
      <Java />
      <Profilers>
        <option name="GAPID_DISABLE_PCS" value="false" />
      </Profilers>
      <option name="DEEP_LINK" value="" />
      <option name="ACTIVITY_CLASS" value="" />
      <method />
    </configuration>
    <configuration default="true" type="Application" factoryName="Application">
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
      <method v="2">
        <option name="Make" enabled="true" />
      </method>
    </configuration>
    <configuration default="true" type="TestNG">
      <option name="TEST_OBJECT" value="CLASS" />
      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
      <properties />
      <listeners />
      <method v="2">
        <option name="Make" enabled="true" />
      </method>
    </configuration>
    <list>
      <item itemvalue="Android App.app" />
    </list>
  </component>
  <component name="SvnConfiguration">
    <configuration />
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="7705c121-d031-4aea-aaf7-fe1d9a8e04ab" name="Default" comment="" />
      <created>1468010976612</created>
      <option name="number" value="Default" />
      <option name="presentableId" value="Default" />
      <updated>1468010976612</updated>
    </task>
    <servers />
  </component>
  <component name="ToolWindowManager">
    <frame x="0" y="23" width="1280" height="721" extended-state="6" />
    <layout>
      <window_info active="true" id="Project" order="0" visible="true" weight="0.27850163" />
      <window_info id="Structure" order="1" weight="0.25" />
      <window_info id="Captures" order="2" side_tool="true" weight="0.25" />
      <window_info id="Build Variants" order="3" side_tool="true" />
      <window_info id="Capture Tool" order="4" />
      <window_info id="Favorites" order="5" side_tool="true" />
      <window_info id="Palette	" order="6" />
      <window_info id="Image Layers" order="7" />
      <window_info id="Resources Explorer" order="8" />
      <window_info anchor="bottom" id="Message" order="0" />
      <window_info anchor="bottom" id="Find" order="1" weight="0.32672113" />
      <window_info anchor="bottom" id="Run" order="2" />
      <window_info anchor="bottom" id="Debug" order="3" weight="0.272" />
      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
      <window_info anchor="bottom" id="TODO" order="6" />
      <window_info anchor="bottom" id="Build" order="7" weight="0.32905483" />
      <window_info anchor="bottom" id="Android Profiler" order="8" />
      <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
      <window_info anchor="bottom" id="Logcat" order="10" />
      <window_info anchor="bottom" id="Android Monitor" order="11" weight="0.3287841" />
      <window_info anchor="bottom" id="Version Control" order="12" />
      <window_info anchor="bottom" id="Terminal" order="13" />
      <window_info anchor="bottom" id="Gradle Console" order="14" side_tool="true" />
      <window_info anchor="bottom" id="Messages" order="15" weight="0.32760897" />
      <window_info anchor="bottom" id="Flutter Performance" order="16" side_tool="true" />
      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
      <window_info anchor="right" id="Device File Explorer" order="3" side_tool="true" weight="0.29321486" />
      <window_info anchor="right" id="Android Model" order="4" side_tool="true" />
      <window_info anchor="right" id="Gradle" order="5" />
      <window_info anchor="right" id="Designer" order="6" />
      <window_info anchor="right" id="Theme Preview" order="7" />
      <window_info anchor="right" id="Preview" order="8" />
      <window_info anchor="right" id="Capture Analysis" order="9" />
      <window_info anchor="right" id="Flutter Inspector" order="10" />
      <window_info anchor="right" id="Flutter Outline" order="11" />
    </layout>
    <layout-to-restore>
      <window_info id="Project" order="0" visible="true" weight="0.21530758" />
      <window_info id="Structure" order="1" weight="0.25" />
      <window_info id="Captures" order="2" weight="0.25" />
      <window_info id="Build Variants" order="3" side_tool="true" />
      <window_info id="Capture Tool" order="4" />
      <window_info id="Favorites" order="5" side_tool="true" />
      <window_info id="Palette	" order="6" />
      <window_info id="Image Layers" order="7" />
      <window_info anchor="bottom" id="Message" order="0" />
      <window_info anchor="bottom" id="Find" order="1" visible="true" weight="0.32893" />
      <window_info anchor="bottom" id="Run" order="2" />
      <window_info anchor="bottom" id="Debug" order="3" weight="0.5006605" />
      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
      <window_info anchor="bottom" id="TODO" order="6" />
      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
      <window_info anchor="bottom" id="Android Monitor" order="8" weight="0.3287841" />
      <window_info anchor="bottom" id="Version Control" order="9" />
      <window_info anchor="bottom" id="Terminal" order="10" />
      <window_info anchor="bottom" id="Gradle Console" order="11" side_tool="true" />
      <window_info anchor="bottom" id="Messages" order="12" weight="0.32760897" />
      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
      <window_info anchor="right" id="Android Model" order="3" side_tool="true" />
      <window_info anchor="right" id="Gradle" order="4" />
      <window_info anchor="right" id="Designer" order="5" />
      <window_info anchor="right" id="Theme Preview" order="6" />
      <window_info anchor="right" id="Preview" order="7" />
      <window_info anchor="right" id="Capture Analysis" order="8" />
    </layout-to-restore>
  </component>
  <component name="Vcs.Log.UiProperties">
    <option name="RECENTLY_FILTERED_USER_GROUPS">
      <collection />
    </option>
    <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
      <collection />
    </option>
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager>
      <breakpoints>
        <line-breakpoint enabled="true" type="java-line">
          <url>file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/WeatherSQLiteHelper.java</url>
          <line>34</line>
          <properties />
          <option name="timeStamp" value="26" />
        </line-breakpoint>
      </breakpoints>
    </breakpoint-manager>
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/WeatherItems.java">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="38">
          <caret line="2" selection-start-line="2" selection-end-line="2" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/assets/weather97439.xml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="209">
          <caret line="11" column="43" selection-start-line="11" selection-start-column="33" selection-end-line="11" selection-end-column="43" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/WeatherItem.java">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="323">
          <caret line="21" column="51" selection-start-line="21" selection-start-column="30" selection-end-line="21" selection-end-column="51" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$USER_HOME$/Library/Developer/Xamarin/android-sdk-macosx/sources/android-23/android/app/ActivityThread.java">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="42484">
          <caret line="2414" selection-start-line="2414" selection-end-line="2414" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/README.md">
      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
        <state split_layout="SPLIT">
          <first_editor>
            <folding />
          </first_editor>
          <second_editor />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/assets/weather97405.xml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="19">
          <caret line="1" column="152" selection-start-line="1" selection-start-column="122" selection-end-line="1" selection-end-column="152" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/AndroidManifest.xml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="437">
          <caret line="23" selection-start-line="23" selection-end-line="23" />
        </state>
      </provider>
      <provider editor-type-id="android-manifest" />
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/res/values-v11/styles.xml">
      <provider selected="true" editor-type-id="text-editor">
        <state>
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/res/values/styles.xml">
      <provider selected="true" editor-type-id="text-editor" />
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
      <provider selected="true" editor-type-id="text-editor" />
      <provider editor-type-id="android-designer2" />
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/res/values-v14/styles.xml">
      <provider selected="true" editor-type-id="text-editor" />
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/res/layout/listview_items.xml">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="76">
          <caret line="4" column="33" selection-start-line="4" selection-start-column="33" selection-end-line="4" selection-end-column="33" />
        </state>
      </provider>
      <provider editor-type-id="android-designer2" />
    </entry>
    <entry file="file://$PROJECT_DIR$/app/build.gradle">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="95">
          <caret line="5" selection-start-line="5" selection-end-line="5" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/ParseHandler.java">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="209">
          <caret line="11" column="66" selection-start-line="11" selection-start-column="66" selection-end-line="11" selection-end-column="66" />
          <folding>
            <element signature="imports" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="95">
          <caret line="5" selection-start-line="5" selection-end-line="5" selection-end-column="79" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/build.gradle">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="19">
          <caret line="1" selection-start-line="1" selection-end-line="17" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/WeatherSQLiteHelper.java">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="627">
          <caret line="36" column="26" selection-start-line="36" selection-start-column="26" selection-end-line="36" selection-end-column="26" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/Dal.java">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="621">
          <caret line="96" column="24" selection-start-line="96" selection-start-column="24" selection-end-line="96" selection-end-column="24" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/src/main/java/edu/uoregon/bbird/weatherdemo/MainActivity.java">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="-735">
          <caret line="3" selection-start-line="3" selection-end-line="3" />
          <folding>
            <element signature="imports" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
  </component>
</project>


text:
package org.springframework.samples.petclinic.repository.springdatajpa;

import java.util.Collection;
import java.util.List;

import org.springframework.context.annotation.Profile;
import org.springframework.samples.petclinic.graphql.types.OwnerFilter;
import org.springframework.samples.petclinic.graphql.types.OwnerOrder;
import org.springframework.samples.petclinic.model.Owner;

/**
 * @author Xiangbin HAN (hanxb2001@163.com)
 *
 */
@Profile("spring-data-jpa")
public interface OwnerRepositoryOverride {

    public Collection<Owner> findAllByFilterOrder(OwnerFilter filter, List<OwnerOrder> orders);
}

redpajama_set_name: RedPajamaGithub


text:
The XCMailr client library is an easy-to-use Java library that simplifies using the REST API of [XCMailr](https://github.com/Xceptance/XCMailr) in test projects. The library abstracts away almost all details of the underlying protocol.

## Adding the Client Library to Your Project

Add the XCMailr client library as another dependency to your project:

```xml
<dependency>
    <groupId>com.xceptance</groupId>
    <artifactId>xcmailr-client</artifactId>
    <version>2.2.1</version>
</dependency>
```

## Usage Examples

### Initializing the Client

Before you can use the REST API you need to create a client instance and initialize it with the XCMailr URL and your API token. To get such a token, log in to XCMailr and create an API token for your account.

```java
// initialize the client
String xcmailrUrl = "https://xcmailr.example.org/";
String apiToken = "111122223333444455556666";
XCMailrClient client = new XCMailrClient(xcmailrUrl, apiToken);
```

### Managing Mailboxes

Before we can receive mails, we have to create a mailbox at XCMailr.

```java
// create a mailbox
String mailboxAddress = "john.doe@xcmailr.test";
String minutesActive = 10;
String forwardEnabled = false;
Mailbox mailbox = client.mailboxes().createMailbox(mailboxAddress, minutesActive, forwardEnabled);

// delete a mailbox
client.mailboxes().deleteMailbox(mailboxAddress);
```

### Retrieving and Validating Mails and Mail Attachments

Once we have created a mailbox and mails have been sent to it, we can retrieve those mails via the API.

```java
// retrieve mails
String subjectPattern = "Order Confirmation";
List<Mail> mails = client.mails().listMails(mailboxAddress, new MailFilterOptions().lastMatchOnly(true).subjectPattern(subjectPattern));

// pick a mail
Mail mail = mails.get(0);

// check mail content
// ...

// download attachment
InputStream is = client.mails().openAttachment(mail.id, attachmentName);
byte[] data = is.readAllBytes();

// check attachment data
// ...

// finally delete the mail
client.mails().deleteMail(mail.id);
```


text:
module RecombeeApiClient
  # Errors in API
  class APIError < StandardError
  end

  # Response is not 200 or 201
  class ResponseError < APIError
    attr_reader :request
    attr_reader :status_code
    attr_reader :description

    def initialize(request, status_code, description)
      @status_code = status_code
      @description = description
    end

    def to_s
      "ResponseError: status: #{@status_code}, description: #{@description}"
    end
  end

  class UnknownOptionalParameter < StandardError
    def initialize(parameter)
      @parameter = parameter
    end

    def to_s
      "UnknownOptionalParameter: unknown parameter #{@parameter} was given to the request"
    end
  end

  class ApiTimeout < APIError
    attr_reader :request

    def initialize(request)
      @request = request
    end

    def to_s
      "ApiTimeout: client did not get response within #{@request.timeout} ms"
    end
  end

end


text:
class PseudoInterrupt
{
    public:
        PseudoInterrupt(double tick_in_microseconds);
        virtual ~PseudoInterrupt();
        bool wait_tick_or_return_true();
    protected:
    private:
        double tick_in_microseconds_;
        std::chrono::high_resolution_clock::time_point start_of_tick_;
        std::chrono::high_resolution_clock::time_point end_of_tick_;
};

#endif // PSEUDOINTERRUPT_H


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Awk笔记</title>

    <meta name="viewport" content="width=device-width">
    <meta name="description" content="
">

    <link rel="canonical" href="https://dongyadoit.com/linux/tool/2015/06/23/awk-notes/">
    <link rel="icon" type="image/png" href="/images/logo.png">

    <link rel="stylesheet" href="/css/monster.css">

Awk笔记

    Blog

      About

      Categories

      Links

      Tags

    RSS

    Blog

      About

      Categories

      Links

      Tags

    RSS

Why use awk?

Awk is a great tool to handle log and other text file.

Basic syntax

Awk allows you to write two special routines that can be executed before any input is read and after all input is read. These are the procedures associated with the BEGIN and END rules, respectively.In other words, you can do some preprocessing before the main input loop is ever executed and you can do some postprocessing after the main input loop has terminated. The BEGIN and ENDprocedures are optional. like this:

$ awk "BEGIN {do some preprocessing} { do the work, worked on the input file} END {do some postprocessing}"

Some Constants

| Item      |    Description |
| :——– | ——–|
|FS		| field separator. by default, its value is a single space|
|OFS	| output field separator |
|NF		|number of fields for the current input record|
|RS		|record separator|
|ORS	|output reacord sepatator|
|FILENAME	 |the name of the current input file|
CONVFMT	:
number-to-string conversions

default value is "%.6g"
$ awk 'BEGIN {str = (5.5 + 3.2) " is a nice value"; print str; }'
 8.7 is a nice value

change its value to "%d"
$ awk 'BEGIN {CONVFMT="%d";str = (5.5 + 3.2) " is a nice value";print str; }'
8 is a nice value
|

NOTE:
In POSIX awk, assigning a new value to FS has no effect on the current input line; it only affects the next input line.

Escape Sequences

| Sequence  |Description |
| :——– | ——–   |
|\a| Alert character, usually ASCII BEL character
|\b| Backspace
|\f| Formfeed
|\n| Newline
|\r| Carriage return
|\t| Horizontal tab
|\v| Vertical tab
|\ ddd| Character represented as 1 to 3 digit octal value
|\x| hex Character represented as hexadecimal value
|\ c| Any literal character c (e.g., " for " )

Relational Operators

| Operator  |Description |
| :——– | ——–   |
|<	|Less than
|>|	Greater than
|<=|	Less than or equal to
|>=|	Greater than or equal to
|==|	Equal to
|!=|	Not equal to
|~|	Matches
|!~|	Does not match

Format Specifiers Used in printf

| Character | Description |
| :——– | ——–    |
|c|	ASCII character
|d|	Decimal integer
|i|	Decimal integer. (Added in POSIX)
|e|	Floating-point format ([-] d . precision e [+-] dd )
|E|	Floating-point format ([-] d . precision E [+-] dd )
|f|	Floating-point format ([-] ddd . precision )
|g|	e or f conversion, whichever is shortest, with trailing zeros removed
|G|	E or f conversion, whichever is shortest, with trailing zeros removed
|o|	Unsigned octal value
|s|	String
|x|	Unsigned hexadecimal number. Uses a - f for 10 to 15
|X|	Unsigned hexadecimal number. Uses A - F for 10 to 15
|%	|Literal %

Awk's Built-In String Functions

| Awk Function  |Description |
|  :————– | ——–   |
|gsub ( r , s , t )	|Globally substitutes s for each match of the regular expression r in the string t . Returns the number of substitutions. If t is not supplied, defaults to $0 .
|index ( s , t )	| Returns position of substring t in string s or zero if not present.
| length ( s )	| Returns length of string s or length of $0 if no string is supplied.
| match ( s , r )	| Returns either the position in s where the regular expression r begins, or 0 if no occurrences are found. Sets the values of RSTARTand RLENGTH .
| split ( s , a , sep)	| Parses string s into elements of array a using field separator sep ; returns number of elements. If sep is not supplied, FS is used. Array splitting works the same way as field splitting.
| sprintf (" fmt ",expr )	| Uses printf format specification for expr .
| sub ( r , s , t )	| Substitutes s for first match of the regular expression r in the string t . Returns 1 if successful; 0 otherwise. If t is not supplied, defaults to $0 .
| substr ( s , p , n)	| Returns substring of string s at beginning position p up to a maximum length of n . If n is not supplied, the rest of the string from p is used.
| tolower ( s )	| Translates all uppercase characters in string s to lowercase and returns the new string.
| toupper ( s )	| Translates all lowercase characters in string s to uppercase and returns the new string.

Limitations

| Item     | Limit       |
| :——– | ——–    |
 |Number of fields per record 	 |100
 |Characters per input record |	3000
 |Characters per output record	 |3000
 |Characters per field |	1024
 |Characters per printf string |	3000
 |Characters in literal string	 |400
 |Characters in character class	 |400
 |Files open |	15
 |Pipes open |	1

Examples

# filesum: list files and total size in bytes
# input: long listing produced by "ls -l"

#1 output column headers
BEGIN {print "BYTES", "\t", "FILE"}

#2 test for 9 fields; files begins with "-"
NF == 9 && /^-/ {
sum += $5 # accumulate size of file
++filenum # count number of files
print $5, "\t", $9
}

#3 test for 9 fields; directory begins with "d"
NF == 9 && /^d/ {
sum += $5
++filenum
print $5, "\t", $9
}

#4 test for ls -lR line ./dir
$1 ~ /^\..*:$/{
print "\t" $0 # print <dir> and name
}

#5 once all is done
END {
# print total file size and number of files
print "Total: ", sum, "bytes (" filenum " files)"
}

    2015-06-23
     • Category:

        Linux

        Tool

     • Tag:

            Awk

MonsterSlayer

        Just for fun!

Please enable JavaScript to view the comments powered by Disqus.


text:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="uk.ac.ebi.emma.entity">
    <class name="BiblioStrain" table="biblios_strains">
        <id column="bib_id_biblio" name="biblio_key">
            <generator class="assigned"/>
        </id>

        <many-to-one cascade="all"  class="Biblio" name="biblio" column="bib_id_biblio" foreign-key="biblio_key" insert="false" lazy="false" not-found="ignore" unique="false" update="false"/>
        <many-to-one cascade="none" class="Strain" name="strain" column="str_id_str"    foreign-key="strain_key" insert="false" lazy="false" not-found="ignore" unique="false" update="false"/>

        <property column="str_id_str" name="strain_key"/>
    </class>
</hibernate-mapping>


text:
<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

		<meta wicket:id="meta" http-equiv="refresh" />

		If you see this, it means that both javascript and meta-refresh are not support by
		your browser configuration. Please click this link to
		continue to the original destination.


text:
<?php

namespace Vipa\SiteBundle\Tests\Controller;

use Vipa\CoreBundle\Tests\BaseTestSetup as BaseTestCase;

class JournalControllerTest extends BaseTestCase
{
    public function testArchiveIndex()
    {
        $client = $this->client;
        $client->request('GET','/intro/archive');
        $this->assertStatusCode(200,$client);
    }

    public function testJournalBoard()
    {
        $client = $this->client;
        $client->request('GET','/intro/board');
        $this->assertStatusCode(200,$client);
    }

    public function testJournalContacts()
    {
        $client = $this->client;
        $client->request('GET','/intro/contacts');
        $this->assertStatusCode(200,$client);
    }

    public function testJournalIndex()
    {
        $client = $this->client;
        $session = $client->getContainer()->get('session');
        $session->set('_locale','tr');
        $session->save();
        $client->request('GET','/intro');
        $this->assertStatusCode(200, $client);

    }

    public function testLastArticles()
    {
        $client = $this->client;
        $client->request('GET','/intro/last');
        $this->assertStatusCode(200,$client);
    }
}


text:
package com.yodiwo.androidagent.plegma;

/**
 * Created by ApiGenerator Tool (Java) on 28/08/2015 18:34:59.
 */

/**
 * internal state of a referenced Port
 */
public class PortState {
    /**
     * Yodiwo.API.Plegma.PortState.PortKey of the Yodiwo.API.Plegma.Port this message refers to (either generating the event, or receiving the event)
     */
    public String PortKey;
    /**
     * Contents of port in string form. See Yodiwo.API.Plegma.Port.State
     */
    public String State;
    /**
     * Revision number of this update; matches the Port State's internal sequence numbering. See Yodiwo.API.Plegma.Port.State
     */
    public int RevNum;
    /**
     * Specifies the number of active graphs that this port is connected in
     */
    public Boolean IsDeployed;

    public PortState() {
    }

    public PortState(String PortKey, String State, int RevNum, Boolean IsDeployed) {
        this.PortKey = PortKey;
        this.State = State;
        this.RevNum = RevNum;
        this.IsDeployed = IsDeployed;

    }

}


text:
//Problem 8. Maximal sum
////Write a program that finds the sequence of maximal sum in given array.
//Example:
//input	                                    result
//2, 3, -6, -1, 2, -1, 6, 4, -8, 8	        2, -1, 6, 4
//Can you do it with only one loop (with single scan through the elements of the array)?

using System;
using System.Collections.Generic;
using System.Linq;

class MaximalSum
{
    static void Main()
    {
        Console.WriteLine("Enter an array of integers, separated by comma:");
        int[] arr = Array.ConvertAll(Console.ReadLine().Trim().Split(','), int.Parse);
        int sumTemp = 0;
        int maxSum = 0;
        List<int> SumTempArr = new List<int>();
        List<int> maxSumArr = new List<int>();

        if (arr.Max() <= 0)
        {
            Console.WriteLine("Sub array with maximal sum: {0}", arr.Max());
        }
        else
        {
            for (int i = 0; i < arr.Length; i++)
            {
                if (sumTemp + arr[i] > 0)
                {
                    SumTempArr.Add(arr[i]);
                    sumTemp += arr[i];
                }
                else
                {
                    sumTemp = 0;
                    SumTempArr.Clear();
                }

                if (maxSum < sumTemp)
                {
                    maxSum = sumTemp;
                    maxSumArr.Clear();
                    maxSumArr.AddRange(SumTempArr);
                }
            }
            Console.WriteLine("Sub array with maximal sum: {0}", string.Join(",", maxSumArr));
        }
    }
}


text:
package mutationoperators.methodlevel.ehc;

import java.util.List;

import mutationoperators.MutationOperator;

import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.core.dom.CatchClause;
import org.eclipse.jdt.core.dom.IMethodBinding;
import org.eclipse.jdt.core.dom.MethodDeclaration;
import org.eclipse.jdt.core.dom.NodeFinder;

import results.JMutOpsEventListenerMulticaster;
import utils.JDT_Utils;
import utils.Preperator;
import utils.SourceCodeChangeUtils;
import ch.uzh.ifi.seal.changedistiller.model.entities.Insert;
import ch.uzh.ifi.seal.changedistiller.model.entities.SourceCodeChange;
import enums.MutationOperatorCategory;
import enums.MutationOperatorLevel;

public class EHC_Insert extends MutationOperator {

	public EHC_Insert() {
		this(null);
	}

	public EHC_Insert(JMutOpsEventListenerMulticaster eventListener) {
		super(eventListener);
	}

	@Override
	protected void setProperties() {
		this.mutopproperty.setShortname("EHC");
		this.mutopproperty.setFullname("Exception Handling Change");
		this.mutopproperty.setDescription("Changes an exception handling statement to an exception propagation statement and vice versa.");
		this.mutopproperty.setLevel(MutationOperatorLevel.BOTH_LEVELS);
		this.mutopproperty.setCategory(MutationOperatorCategory.METHOD_LEVEL);
		this.mutopproperty.setHandleMultipleChanges();
	}

	@Override
	public int check(List<SourceCodeChange> changes,
			Preperator prefixed_preperator, Preperator postfixed_preperator) {
		// run over all all changes
		for(SourceCodeChange change: changes) {
			// if we found an insert
			if(change instanceof Insert) {
				// cast the change
				Insert insert = (Insert) change;
				// check if the insert is related to a catch clause
				if(insert.getChangedEntity().getType().name().equals("CATCH_CLAUSE")) {
					// get the IMethodBinding related to this catch clause
					int[] input = SourceCodeChangeUtils.getNodeFinderInput((Insert) change);
					NodeFinder nodeFinder = new NodeFinder(postfixed_preperator.getAST(), input[0], input[1]);
					ASTNode expr = nodeFinder.getCoveringNode();
					if(!(expr instanceof CatchClause)) {
						continue;
					}
					CatchClause cc = (CatchClause) expr;

					ASTNode found_method_declaration = JDT_Utils.searchForSpecificParentNode(cc, ASTNode.METHOD_DECLARATION);
					if(found_method_declaration != null) {
						MethodDeclaration postfix_method_decleration = (MethodDeclaration) found_method_declaration;
						IMethodBinding postfix_method_binding = postfix_method_decleration.resolveBinding();
					}
				}
			}
		}

		return 0;
	}

}


text:
/* vim: set backspace=2 ts=4 softtabstop=4 sw=4 cinoptions=>4 expandtab autoindent smartindent: */
/* xfce4-xkb-plugin.h
 * Copyright (C) 2008 Alexander Iliev <sasoiliev@mamul.org>
 *
 * Parts of this program comes from the XfKC tool:
 * Copyright (C) 2006 Gauvain Pocentek <gauvainpocentek@gmail.com>
 *
 * A part of this file comes from the gnome keyboard capplet (control-center):
 * Copyright (C) 2003 Sergey V. Oudaltsov <svu@users.sourceforge.net>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

#ifndef _XFCE_XKB_H_
#define _XFCE_XKB_H_

#include "xkb-config.h"

#include <libxfce4util/libxfce4util.h>
#include <libxfce4ui/libxfce4ui.h>
#include <libxfce4panel/xfce-panel-plugin.h>

#include <X11/Xlib.h>
#include <gtk/gtk.h>
#include <glib.h>

typedef enum
{
    DISPLAY_TYPE_IMAGE = 0,
    DISPLAY_TYPE_TEXT = 1
} t_display_type;

typedef enum
{
    DISPLAY_TEXTSIZE_SMALL = 0,
    DISPLAY_TEXTSIZE_MEDIUM = 1,
    DISPLAY_TEXTSIZE_LARGE = 2
} t_display_textsize;

typedef struct
{
    XfcePanelPlugin *plugin;

    /* options */
    gint hsize;                   /* plugin horizontal size */
    gint vsize;                   /* plugin vertical size */
    gint button_hsize;            /* real allocated button size - see below */
    gint button_vsize;            /* read allocated button size - see below */

    t_display_type display_type;  /* display layout as image ot text */
    t_display_textsize display_textsize; /* text size for text layout */
    t_group_policy group_policy;     /* per-app/window/global policy */

    gint button_state;            /* gtk state of the button */

    /* widgets */
    GtkWidget *btn;
    GtkWidget *layout_image;
    GtkWidget *popup;
} t_xkb;

/*
 * NOTE: The t_xkb->button_size field is due to xfce panel 4.4.1
 * prior versions, allowing a plugin to resize the whole panel.
 * This should be removed after xfce 4.4.2, where this behaviour
 * should not be possible.
 */

#endif