[U] Update
This commit is contained in:
+906
@@ -0,0 +1,906 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"metadata": {
|
||||
"collapsed": true,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Python 3.7.9 (default, Aug 31 2020, 12:42:55) \r\n",
|
||||
"[GCC 7.3.0]\r\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"!python -VVV"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import gzip\n",
|
||||
"import pickle as p\n",
|
||||
"import re\n",
|
||||
"import string\n",
|
||||
"from collections import Counter\n",
|
||||
"\n",
|
||||
"import pandas\n",
|
||||
"import pandas as pd\n",
|
||||
"import numpy as np\n",
|
||||
"import redis\n",
|
||||
"import xgboost\n",
|
||||
"from hypy_utils import write\n",
|
||||
"from hypy_utils.tqdm_utils import pmap\n",
|
||||
"from xgboost import XGBClassifier\n",
|
||||
"\n",
|
||||
"from main import job_start_redis\n",
|
||||
"from pandas import DataFrame\n",
|
||||
"from datetime import datetime, timezone\n",
|
||||
"from dateutil.relativedelta import relativedelta\n",
|
||||
"import os\n",
|
||||
"from pathlib import Path\n",
|
||||
"\n",
|
||||
"from sklearn.feature_extraction.text import TfidfVectorizer\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"def load_zipped_pickle(filename):\n",
|
||||
" with gzip.open(filename, 'rb') as f:\n",
|
||||
" loaded_object = p.load(f)\n",
|
||||
" l = pd.DataFrame(loaded_object)\n",
|
||||
" return l\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# total changed files\n",
|
||||
"# total commits\n",
|
||||
"# total fix commits\n",
|
||||
"# avaerage changed lines per fix\n",
|
||||
"#\n",
|
||||
"def get_root_nodes(date: str):\n",
|
||||
" result = sorted([])\n",
|
||||
" for patch in os.listdir(f\"../../data.absolute/{date}/patterns\"):\n",
|
||||
" with open(f\"../../data.absolute/{date}/patterns/{patch}\", 'r') as f:\n",
|
||||
" result.append(f.readline())\n",
|
||||
" return sorted(list(set(result)))\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"def label_gen() -> DataFrame:\n",
|
||||
" start_string = \"2001-12-01\"\n",
|
||||
" start_date = datetime.strptime(start_string, '%Y-%m-%d')\n",
|
||||
" interval = relativedelta(months=6)\n",
|
||||
"\n",
|
||||
" csv = []\n",
|
||||
"\n",
|
||||
" data_path = Path('../../data.absolute')\n",
|
||||
" new = get_root_nodes(start_string)\n",
|
||||
" new = sorted(list(set(new)))\n",
|
||||
" added = sorted(list(set(new)))\n",
|
||||
" remove = sorted([])\n",
|
||||
" csv.append((start_date.strftime('%Y-%m-%d').split(' ')[0], len(new), len(added), len(remove),\n",
|
||||
" added, remove, True))\n",
|
||||
"\n",
|
||||
" while True:\n",
|
||||
" # end = start + interval\n",
|
||||
" end_date = start_date + interval\n",
|
||||
" end_string = end_date.strftime('%Y-%m-%d').split(' ')[0]\n",
|
||||
" start_string = start_date.strftime('%Y-%m-%d').split(' ')[0]\n",
|
||||
" if not os.path.isdir(data_path / str(end_string)):\n",
|
||||
" # new = os.listdir(data_path / f\"{end_string}/patterns\")\n",
|
||||
" # added = sorted(list(set(new)))\n",
|
||||
" # remove = sorted([])\n",
|
||||
" # csv.append((end_string, len(new), added, remove))\n",
|
||||
" break\n",
|
||||
"\n",
|
||||
" new = get_root_nodes(end_string)\n",
|
||||
" old = get_root_nodes(start_string)\n",
|
||||
"\n",
|
||||
" added = sorted(list(set(new) - set(old)))\n",
|
||||
" remove = sorted(list(set(old) - set(new)))\n",
|
||||
"\n",
|
||||
" csv.append((end_string, len(new), len(added), len(remove), added, remove, len(added) != 0))\n",
|
||||
"\n",
|
||||
" start_date += interval\n",
|
||||
"\n",
|
||||
" # plt.plot([v[1] for v in csv], [v[2] for v in csv])\n",
|
||||
" # plt.show()\n",
|
||||
"\n",
|
||||
" df = DataFrame(csv, columns=('Time', 'Number of Patches', 'Numbers of added', 'Numbers of removed', 'Patches Added',\n",
|
||||
" 'Patches Removed', 'New Pattern'))\n",
|
||||
" df.to_csv('diff-test-absolute-root-2.csv')\n",
|
||||
" return df\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"def get_commits_sha(start: str, end: str, project_name: str) -> DataFrame:\n",
|
||||
" start_date = datetime.strptime(start, '%Y-%m-%d').replace(tzinfo=timezone.utc)\n",
|
||||
" end_date = datetime.strptime(end, '%Y-%m-%d').replace(tzinfo=timezone.utc)\n",
|
||||
" commits = load_zipped_pickle(f'/workspace/EECS-Research/data.absolute/{end}/commitsDF/{project_name}-fix.pickle.gz')\n",
|
||||
" return commits[commits['commitDate'].between(start_date, end_date, inclusive=False)]['commit']\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Shutting down redis 6399...\n",
|
||||
"> Shutdown complete.\n",
|
||||
"/workspace/EECS-Research/data.absolute/2022-06-01/redis\n",
|
||||
"Starting redis 6399...\n",
|
||||
"> Redis started.\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"labels = label_gen()\n",
|
||||
"\n",
|
||||
"date = '2022-06-01'\n",
|
||||
"job_start_redis(f'/workspace/EECS-Research/data.absolute/{date}/redis', 6399)"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Connected to redis!\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# 1. Load AST diffs\n",
|
||||
"r = redis.StrictRedis(host='localhost', port=6399, db=0)\n",
|
||||
"print(\"Connected to redis!\")\n",
|
||||
"ast_diffs = {k.decode(): v.decode() for k, v in r.hgetall('dump').items()}\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Loading commits: 100%|██████████| 42/42 [00:01<00:00, 22.41it/s]\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# 2. Load commits\n",
|
||||
"base_path = Path(f'/workspace/EECS-Research/data.absolute/{date}/commitsDF/')\n",
|
||||
"commit_pickles = [base_path / str(f) for f in os.listdir(base_path) if f.endswith('-fix.pickle.gz')]\n",
|
||||
"commits = pandas.concat(pmap(load_zipped_pickle, commit_pickles, desc=f'Loading commits'))\n",
|
||||
"\n",
|
||||
"def get_all_commits_sha(start: str, end: str) -> DataFrame:\n",
|
||||
" start_date = datetime.strptime(start, '%Y-%m-%d').replace(tzinfo=timezone.utc)\n",
|
||||
" end_date = datetime.strptime(end, '%Y-%m-%d').replace(tzinfo=timezone.utc)\n",
|
||||
" df = commits[commits['commitDate'].between(start_date, end_date, inclusive=False)]\n",
|
||||
" return df\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Ignored 0 AST diff entries\n",
|
||||
"Commit sha lengths: Counter({6: 61553, 7: 3748, 8: 237, 9: 14})\n",
|
||||
"Processing time interval from 2001-12-01 to 2002-06-01\n",
|
||||
"Total of 196 commits in the interval\n",
|
||||
"Total of 44 AST diffs in the interval\n",
|
||||
"Processing time interval from 2002-06-01 to 2002-12-01\n",
|
||||
"Total of 207 commits in the interval\n",
|
||||
"Total of 32 AST diffs in the interval\n",
|
||||
"Processing time interval from 2002-12-01 to 2003-06-01\n",
|
||||
"Total of 276 commits in the interval\n",
|
||||
"Total of 27 AST diffs in the interval\n",
|
||||
"Processing time interval from 2003-06-01 to 2003-12-01\n",
|
||||
"Total of 477 commits in the interval\n",
|
||||
"Total of 60 AST diffs in the interval\n",
|
||||
"Processing time interval from 2003-12-01 to 2004-06-01\n",
|
||||
"Total of 920 commits in the interval\n",
|
||||
"Total of 53 AST diffs in the interval\n",
|
||||
"Processing time interval from 2004-06-01 to 2004-12-01\n",
|
||||
"Total of 627 commits in the interval\n",
|
||||
"Total of 75 AST diffs in the interval\n",
|
||||
"Processing time interval from 2004-12-01 to 2005-06-01\n",
|
||||
"Total of 517 commits in the interval\n",
|
||||
"Total of 40 AST diffs in the interval\n",
|
||||
"Processing time interval from 2005-06-01 to 2005-12-01\n",
|
||||
"Total of 484 commits in the interval\n",
|
||||
"Total of 33 AST diffs in the interval\n",
|
||||
"Processing time interval from 2005-12-01 to 2006-06-01\n",
|
||||
"Total of 613 commits in the interval\n",
|
||||
"Total of 69 AST diffs in the interval\n",
|
||||
"Processing time interval from 2006-06-01 to 2006-12-01\n",
|
||||
"Total of 508 commits in the interval\n",
|
||||
"Total of 37 AST diffs in the interval\n",
|
||||
"Processing time interval from 2006-12-01 to 2007-06-01\n",
|
||||
"Total of 1757 commits in the interval\n",
|
||||
"Total of 141 AST diffs in the interval\n",
|
||||
"Processing time interval from 2007-06-01 to 2007-12-01\n",
|
||||
"Total of 2451 commits in the interval\n",
|
||||
"Total of 241 AST diffs in the interval\n",
|
||||
"Processing time interval from 2007-12-01 to 2008-06-01\n",
|
||||
"Total of 3996 commits in the interval\n",
|
||||
"Total of 447 AST diffs in the interval\n",
|
||||
"Processing time interval from 2008-06-01 to 2008-12-01\n",
|
||||
"Total of 3167 commits in the interval\n",
|
||||
"Total of 481 AST diffs in the interval\n",
|
||||
"Processing time interval from 2008-12-01 to 2009-06-01\n",
|
||||
"Total of 3519 commits in the interval\n",
|
||||
"Total of 556 AST diffs in the interval\n",
|
||||
"Processing time interval from 2009-06-01 to 2009-12-01\n",
|
||||
"Total of 3243 commits in the interval\n",
|
||||
"Total of 548 AST diffs in the interval\n",
|
||||
"Processing time interval from 2009-12-01 to 2010-06-01\n",
|
||||
"Total of 3184 commits in the interval\n",
|
||||
"Total of 359 AST diffs in the interval\n",
|
||||
"Processing time interval from 2010-06-01 to 2010-12-01\n",
|
||||
"Total of 5523 commits in the interval\n",
|
||||
"Total of 746 AST diffs in the interval\n",
|
||||
"Processing time interval from 2010-12-01 to 2011-06-01\n",
|
||||
"Total of 10476 commits in the interval\n",
|
||||
"Total of 1331 AST diffs in the interval\n",
|
||||
"Processing time interval from 2011-06-01 to 2011-12-01\n",
|
||||
"Total of 9990 commits in the interval\n",
|
||||
"Total of 1965 AST diffs in the interval\n",
|
||||
"Processing time interval from 2011-12-01 to 2012-06-01\n",
|
||||
"Total of 9092 commits in the interval\n",
|
||||
"Total of 1466 AST diffs in the interval\n",
|
||||
"Processing time interval from 2012-06-01 to 2012-12-01\n",
|
||||
"Total of 6427 commits in the interval\n",
|
||||
"Total of 924 AST diffs in the interval\n",
|
||||
"Processing time interval from 2012-12-01 to 2013-06-01\n",
|
||||
"Total of 6943 commits in the interval\n",
|
||||
"Total of 924 AST diffs in the interval\n",
|
||||
"Processing time interval from 2013-06-01 to 2013-12-01\n",
|
||||
"Total of 8525 commits in the interval\n",
|
||||
"Total of 1208 AST diffs in the interval\n",
|
||||
"Processing time interval from 2013-12-01 to 2014-06-01\n",
|
||||
"Total of 6567 commits in the interval\n",
|
||||
"Total of 955 AST diffs in the interval\n",
|
||||
"Processing time interval from 2014-06-01 to 2014-12-01\n",
|
||||
"Total of 6512 commits in the interval\n",
|
||||
"Total of 871 AST diffs in the interval\n",
|
||||
"Processing time interval from 2014-12-01 to 2015-06-01\n",
|
||||
"Total of 6618 commits in the interval\n",
|
||||
"Total of 719 AST diffs in the interval\n",
|
||||
"Processing time interval from 2015-06-01 to 2015-12-01\n",
|
||||
"Total of 6827 commits in the interval\n",
|
||||
"Total of 589 AST diffs in the interval\n",
|
||||
"Processing time interval from 2015-12-01 to 2016-06-01\n",
|
||||
"Total of 8035 commits in the interval\n",
|
||||
"Total of 839 AST diffs in the interval\n",
|
||||
"Processing time interval from 2016-06-01 to 2016-12-01\n",
|
||||
"Total of 7323 commits in the interval\n",
|
||||
"Total of 841 AST diffs in the interval\n",
|
||||
"Processing time interval from 2016-12-01 to 2017-06-01\n",
|
||||
"Total of 8170 commits in the interval\n",
|
||||
"Total of 1470 AST diffs in the interval\n",
|
||||
"Processing time interval from 2017-06-01 to 2017-12-01\n",
|
||||
"Total of 7063 commits in the interval\n",
|
||||
"Total of 1079 AST diffs in the interval\n",
|
||||
"Processing time interval from 2017-12-01 to 2018-06-01\n",
|
||||
"Total of 6175 commits in the interval\n",
|
||||
"Total of 430 AST diffs in the interval\n",
|
||||
"Processing time interval from 2018-06-01 to 2018-12-01\n",
|
||||
"Total of 5783 commits in the interval\n",
|
||||
"Total of 823 AST diffs in the interval\n",
|
||||
"Processing time interval from 2018-12-01 to 2019-06-01\n",
|
||||
"Total of 6699 commits in the interval\n",
|
||||
"Total of 754 AST diffs in the interval\n",
|
||||
"Processing time interval from 2019-06-01 to 2019-12-01\n",
|
||||
"Total of 6875 commits in the interval\n",
|
||||
"Total of 1787 AST diffs in the interval\n",
|
||||
"Processing time interval from 2019-12-01 to 2020-06-01\n",
|
||||
"Total of 8036 commits in the interval\n",
|
||||
"Total of 788 AST diffs in the interval\n",
|
||||
"Processing time interval from 2020-06-01 to 2020-12-01\n",
|
||||
"Total of 7538 commits in the interval\n",
|
||||
"Total of 1074 AST diffs in the interval\n",
|
||||
"Processing time interval from 2020-12-01 to 2021-06-01\n",
|
||||
"Total of 7237 commits in the interval\n",
|
||||
"Total of 514 AST diffs in the interval\n",
|
||||
"Processing time interval from 2021-06-01 to 2021-12-01\n",
|
||||
"Total of 6388 commits in the interval\n",
|
||||
"Total of 695 AST diffs in the interval\n",
|
||||
"Processing time interval from 2021-12-01 to 2022-06-01\n",
|
||||
"Total of 6552 commits in the interval\n",
|
||||
"Total of 527 AST diffs in the interval\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# 3.1. Find sha in each AST diff\n",
|
||||
"AST_KEY_SHA_RE = re.compile(r'[0-9a-f]{6,}_[0-9a-f]{6,}')\n",
|
||||
"ast_diff_sha = {k: AST_KEY_SHA_RE.findall(k) for k in ast_diffs.keys()}\n",
|
||||
"tmp_bf = len(ast_diff_sha)\n",
|
||||
"ast_diff_sha = {k: v[0].split('_') for k, v in ast_diff_sha.items() if v}\n",
|
||||
"print(f'Ignored {len(ast_diff_sha) - tmp_bf} AST diff entries')\n",
|
||||
"print(f'Commit sha lengths: {Counter([len(sha) for l in ast_diff_sha.values() for sha in l])}')\n",
|
||||
"\n",
|
||||
"ast_diff_date = {}\n",
|
||||
"for date_start, date_end in zip(labels['Time'][:-1], labels['Time'][1:]):\n",
|
||||
" # 3.2. Find all commit sha in the time interval\n",
|
||||
" print(f'Processing time interval from {date_start} to {date_end}')\n",
|
||||
" commits_sha = {c[:6] for c in get_all_commits_sha(date_start, date_end)['commit']}\n",
|
||||
" print(f'Total of {len(commits_sha)} commits in the interval')\n",
|
||||
"\n",
|
||||
" # 3.3. Find AST diff entries with commit sha in this interval\n",
|
||||
" ast_diffs_in_interval = {k for k, s in ast_diff_sha.items() if all(len(sha) == 6 and sha in commits_sha for sha in s)}\n",
|
||||
" print(f'Total of {len(ast_diffs_in_interval)} AST diffs in the interval')\n",
|
||||
"\n",
|
||||
" # 3.4. Combine AST diffs and save as one file\n",
|
||||
" ast_combined = '\\n\\n'.join(ast_diffs[k] for k in ast_diffs_in_interval)\n",
|
||||
" write(f'ML/ast-diffs/{date_start}.txt', ast_combined)\n",
|
||||
" ast_diff_date[date_start] = ast_combined\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Cleaning AST Diffs\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# 4. Tokenize / Vectorize\n",
|
||||
"\n",
|
||||
"# 4.1. Remove symbols, numbers\n",
|
||||
"def tmp_clean(s: str) -> str:\n",
|
||||
" s = s.replace('@TO@', '').replace('@AT@', '').replace('@LENGTH@', '')\n",
|
||||
" for c in string.punctuation:\n",
|
||||
" s = s.replace(c, ' ')\n",
|
||||
" while ' ' in s:\n",
|
||||
" s = s.replace(' ', ' ')\n",
|
||||
" return s\n",
|
||||
"print('Cleaning AST Diffs')\n",
|
||||
"ast_diff_date = {k: tmp_clean(v) for k, v in ast_diff_date.items()}\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"TF-IDF Fitting finished, resulting vector shape: (41, 1000)\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# 4.2. Vectorize X\n",
|
||||
"tf = TfidfVectorizer(ngram_range=(1, 4), max_features=1000)\n",
|
||||
"X = [ast_diff_date[t] for t in labels['Time'] if t in ast_diff_date]\n",
|
||||
"X = tf.fit_transform(X)\n",
|
||||
"print('TF-IDF Fitting finished, resulting vector shape:', X.shape)\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Y vector size: 41\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# 4.3. Vectorize Y\n",
|
||||
"y = np.array([v != [] for v in labels['Patches Added']][1:])\n",
|
||||
"print('Y vector size:', len(y))"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Train size: (30, 1000), Test size: (11, 1000)\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from sklearn.model_selection import train_test_split\n",
|
||||
"\n",
|
||||
"# 4.4. Train test split\n",
|
||||
"X_train, X_test, y_train, y_test = train_test_split(X, y)\n",
|
||||
"\n",
|
||||
"print(f'Train size: {X_train.shape}, Test size: {X_test.shape}')"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Training Gradient Boosted Regression Tree model...\n",
|
||||
"Done!\n",
|
||||
"y Test Label: [1 1 1 1 1 0 1 1 0 0 1]\n",
|
||||
"y Prediction: [1 1 1 0 1 1 1 1 1 0 1]\n",
|
||||
"Precision: 77.8\n",
|
||||
"Recall: 87.5\n",
|
||||
"F1: 82.4\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from sklearn.metrics import precision_recall_fscore_support\n",
|
||||
"from sklearn.model_selection import KFold\n",
|
||||
"\n",
|
||||
"def print_prec(y_test, y_pred):\n",
|
||||
" print(f'y Test Label: {np.array([int(x) for x in y_test])}')\n",
|
||||
" print(f'y Prediction: {np.array([int(x) for x in y_pred])}')\n",
|
||||
"\n",
|
||||
" prec, rec, f1, _ = precision_recall_fscore_support(y_test, y_pred, average='binary')\n",
|
||||
" print(f'Precision: {prec * 100:0.1f}')\n",
|
||||
" print(f'Recall: {rec * 100:0.1f}')\n",
|
||||
" print(f'F1: {f1 * 100:0.1f}')\n",
|
||||
"\n",
|
||||
"def k_fold(k,model):\n",
|
||||
" kf=KFold(n_splits=k)\n",
|
||||
" for train_index, test_index in kf.split(X):\n",
|
||||
" #print(\"TRAIN:\", train_index, \"TEST:\", test_index)\n",
|
||||
" X_train , X_test = X[train_index],X[test_index]\n",
|
||||
" y_train , y_test = y[train_index] , y[test_index]\n",
|
||||
" model.fit(X_train,y_train)\n",
|
||||
" pred_values = model.predict(X_test)\n",
|
||||
"\n",
|
||||
" print_prec(y_test,pred_values)\n",
|
||||
"\n",
|
||||
"# 5.1. Gradient Boost Regression Tree model\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"def gbrt():\n",
|
||||
" print('Training Gradient Boosted Regression Tree model...')\n",
|
||||
" classifier: XGBClassifier = XGBClassifier(tree_method='gpu_hist', n_estimators=300)\n",
|
||||
" classifier.fit(X_train, y_train)\n",
|
||||
" print('Done!')\n",
|
||||
"\n",
|
||||
" # 5.1. Get internal accuracy\n",
|
||||
" y_test_pred = classifier.predict(X_test)\n",
|
||||
" print_prec(y_test, y_test_pred)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"gbrt()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Training Random Forest model...\n",
|
||||
"Done!\n",
|
||||
"y Test Label: [1 1 1 1 1 0 1 1 0 0 1]\n",
|
||||
"y Prediction: [1 1 1 0 1 1 1 1 0 0 1]\n",
|
||||
"Precision: 87.5\n",
|
||||
"Recall: 87.5\n",
|
||||
"F1: 87.5\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from sklearn.ensemble import RandomForestClassifier\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# 5.2. Random Forest Model\n",
|
||||
"def rf():\n",
|
||||
" print('Training Random Forest model...')\n",
|
||||
" classifier = RandomForestClassifier(n_estimators=300)\n",
|
||||
" classifier.fit(X_train, y_train)\n",
|
||||
" print('Done!')\n",
|
||||
"\n",
|
||||
" # 5.1. Get internal accuracy\n",
|
||||
" y_test_pred = classifier.predict(X_test)\n",
|
||||
" print_prec(y_test, y_test_pred)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"rf()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Training Logistic Regression model...\n",
|
||||
"Done!\n",
|
||||
"y Test Label: [1 1 1 1 1 0 1 1 0 0 1]\n",
|
||||
"y Prediction: [1 1 1 1 1 1 1 1 1 1 1]\n",
|
||||
"Precision: 72.7\n",
|
||||
"Recall: 100.0\n",
|
||||
"F1: 84.2\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from sklearn.linear_model import LogisticRegression\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# 5.3. Logistic Regression Model\n",
|
||||
"def logistic():\n",
|
||||
" print('Training Logistic Regression model...')\n",
|
||||
" classifier = LogisticRegression()\n",
|
||||
" classifier.fit(X_train, y_train)\n",
|
||||
" print('Done!')\n",
|
||||
"\n",
|
||||
" # 5.1. Get internal accuracy\n",
|
||||
" y_test_pred = classifier.predict(X_test)\n",
|
||||
" print_prec(y_test, y_test_pred)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"logistic()\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Percentage of 1s in dataset: 63.4%\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"print(f'Percentage of 1s in dataset: {sum(y) / len(y) * 100 :.1f}%')\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 80,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"TRAIN: [ 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [0 1 2 3 4 5 6]\n",
|
||||
"y Test Label: [1 1 1 1 1 1 0]\n",
|
||||
"y Prediction: [1 1 1 1 1 1 1]\n",
|
||||
"Precision: 85.7\n",
|
||||
"Recall: 100.0\n",
|
||||
"F1: 92.3\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [ 7 8 9 10 11 12 13]\n",
|
||||
"y Test Label: [0 1 1 1 1 1 0]\n",
|
||||
"y Prediction: [1 1 1 1 1 1 1]\n",
|
||||
"Precision: 71.4\n",
|
||||
"Recall: 100.0\n",
|
||||
"F1: 83.3\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [14 15 16 17 18 19 20]\n",
|
||||
"y Test Label: [1 1 0 1 1 1 1]\n",
|
||||
"y Prediction: [1 1 1 1 1 1 1]\n",
|
||||
"Precision: 85.7\n",
|
||||
"Recall: 100.0\n",
|
||||
"F1: 92.3\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [21 22 23 24 25 26 27]\n",
|
||||
"y Test Label: [1 0 1 1 1 0 1]\n",
|
||||
"y Prediction: [1 1 1 1 1 1 1]\n",
|
||||
"Precision: 71.4\n",
|
||||
"Recall: 100.0\n",
|
||||
"F1: 83.3\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23\n",
|
||||
" 24 25 26 27 35 36 37 38 39 40] TEST: [28 29 30 31 32 33 34]\n",
|
||||
"y Test Label: [1 0 1 1 0 1 0]\n",
|
||||
"y Prediction: [1 1 1 1 1 1 1]\n",
|
||||
"Precision: 57.1\n",
|
||||
"Recall: 100.0\n",
|
||||
"F1: 72.7\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23\n",
|
||||
" 24 25 26 27 28 29 30 31 32 33 34] TEST: [35 36 37 38 39 40]\n",
|
||||
"y Test Label: [0 0 0 0 0 0]\n",
|
||||
"y Prediction: [1 1 1 1 1 1]\n",
|
||||
"Precision: 0.0\n",
|
||||
"Recall: 0.0\n",
|
||||
"F1: 0.0\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"/home/azalea/.conda/envs/fixminerEnv/lib/python3.7/site-packages/sklearn/metrics/_classification.py:1221: UndefinedMetricWarning: Recall and F-score are ill-defined and being set to 0.0 due to no true samples. Use `zero_division` parameter to control this behavior.\n",
|
||||
" _warn_prf(average, modifier, msg_start, len(result))\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"k_fold(6,LogisticRegression())\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 82,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"TRAIN: [ 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [0 1 2 3 4 5 6]\n",
|
||||
"y Test Label: [1 1 1 1 1 1 0]\n",
|
||||
"y Prediction: [1 1 1 1 1 1 1]\n",
|
||||
"Precision: 85.7\n",
|
||||
"Recall: 100.0\n",
|
||||
"F1: 92.3\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [ 7 8 9 10 11 12 13]\n",
|
||||
"y Test Label: [0 1 1 1 1 1 0]\n",
|
||||
"y Prediction: [1 1 1 1 1 1 1]\n",
|
||||
"Precision: 71.4\n",
|
||||
"Recall: 100.0\n",
|
||||
"F1: 83.3\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [14 15 16 17 18 19 20]\n",
|
||||
"y Test Label: [1 1 0 1 1 1 1]\n",
|
||||
"y Prediction: [1 1 0 1 1 0 1]\n",
|
||||
"Precision: 100.0\n",
|
||||
"Recall: 83.3\n",
|
||||
"F1: 90.9\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [21 22 23 24 25 26 27]\n",
|
||||
"y Test Label: [1 0 1 1 1 0 1]\n",
|
||||
"y Prediction: [1 1 1 1 0 0 0]\n",
|
||||
"Precision: 75.0\n",
|
||||
"Recall: 60.0\n",
|
||||
"F1: 66.7\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23\n",
|
||||
" 24 25 26 27 35 36 37 38 39 40] TEST: [28 29 30 31 32 33 34]\n",
|
||||
"y Test Label: [1 0 1 1 0 1 0]\n",
|
||||
"y Prediction: [0 1 1 0 0 1 0]\n",
|
||||
"Precision: 66.7\n",
|
||||
"Recall: 50.0\n",
|
||||
"F1: 57.1\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23\n",
|
||||
" 24 25 26 27 28 29 30 31 32 33 34] TEST: [35 36 37 38 39 40]\n",
|
||||
"y Test Label: [0 0 0 0 0 0]\n",
|
||||
"y Prediction: [1 1 1 1 1 1]\n",
|
||||
"Precision: 0.0\n",
|
||||
"Recall: 0.0\n",
|
||||
"F1: 0.0\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"/home/azalea/.conda/envs/fixminerEnv/lib/python3.7/site-packages/sklearn/metrics/_classification.py:1221: UndefinedMetricWarning: Recall and F-score are ill-defined and being set to 0.0 due to no true samples. Use `zero_division` parameter to control this behavior.\n",
|
||||
" _warn_prf(average, modifier, msg_start, len(result))\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"k_fold(6,RandomForestClassifier(n_estimators=300))"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 83,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"TRAIN: [ 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [0 1 2 3 4 5 6]\n",
|
||||
"y Test Label: [1 1 1 1 1 1 0]\n",
|
||||
"y Prediction: [0 1 0 0 1 1 1]\n",
|
||||
"Precision: 75.0\n",
|
||||
"Recall: 50.0\n",
|
||||
"F1: 60.0\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [ 7 8 9 10 11 12 13]\n",
|
||||
"y Test Label: [0 1 1 1 1 1 0]\n",
|
||||
"y Prediction: [1 1 1 1 0 1 1]\n",
|
||||
"Precision: 66.7\n",
|
||||
"Recall: 80.0\n",
|
||||
"F1: 72.7\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 21 22 23 24 25 26 27 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [14 15 16 17 18 19 20]\n",
|
||||
"y Test Label: [1 1 0 1 1 1 1]\n",
|
||||
"y Prediction: [1 0 0 1 1 1 1]\n",
|
||||
"Precision: 100.0\n",
|
||||
"Recall: 83.3\n",
|
||||
"F1: 90.9\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 28 29 30\n",
|
||||
" 31 32 33 34 35 36 37 38 39 40] TEST: [21 22 23 24 25 26 27]\n",
|
||||
"y Test Label: [1 0 1 1 1 0 1]\n",
|
||||
"y Prediction: [1 1 1 1 0 0 1]\n",
|
||||
"Precision: 80.0\n",
|
||||
"Recall: 80.0\n",
|
||||
"F1: 80.0\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23\n",
|
||||
" 24 25 26 27 35 36 37 38 39 40] TEST: [28 29 30 31 32 33 34]\n",
|
||||
"y Test Label: [1 0 1 1 0 1 0]\n",
|
||||
"y Prediction: [0 1 1 0 1 0 1]\n",
|
||||
"Precision: 25.0\n",
|
||||
"Recall: 25.0\n",
|
||||
"F1: 25.0\n",
|
||||
"TRAIN: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23\n",
|
||||
" 24 25 26 27 28 29 30 31 32 33 34] TEST: [35 36 37 38 39 40]\n",
|
||||
"y Test Label: [0 0 0 0 0 0]\n",
|
||||
"y Prediction: [1 1 1 1 1 1]\n",
|
||||
"Precision: 0.0\n",
|
||||
"Recall: 0.0\n",
|
||||
"F1: 0.0\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"/home/azalea/.conda/envs/fixminerEnv/lib/python3.7/site-packages/sklearn/metrics/_classification.py:1221: UndefinedMetricWarning: Recall and F-score are ill-defined and being set to 0.0 due to no true samples. Use `zero_division` parameter to control this behavior.\n",
|
||||
" _warn_prf(average, modifier, msg_start, len(result))\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"k_fold(6,XGBClassifier(tree_method='gpu_hist', n_estimators=300))\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 2
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython2",
|
||||
"version": "2.7.6"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
}
|
||||
@@ -0,0 +1,685 @@
|
||||
MOV ExpressionStatement@@Assignment:retval=super.put(key,value) @TO@ MethodDeclaration@@public, Object, MethodName:put, Object key, Object value, @AT@ 5767 @LENGTH@ 30
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:stack=(ArrayStack)makeList() @TO@ Assignment:stack=(ArrayStack)makeEmptyList() @AT@ 3654 @LENGTH@ 32
|
||||
---UPD Assignment@@stack=(ArrayStack)makeList() @TO@ stack=(ArrayStack)makeEmptyList() @AT@ 3654 @LENGTH@ 31
|
||||
------UPD CastExpression@@(ArrayStack)makeList() @TO@ (ArrayStack)makeEmptyList() @AT@ 3662 @LENGTH@ 23
|
||||
---------UPD MethodInvocation@@MethodName:makeList:[] @TO@ MethodName:makeEmptyList:[] @AT@ 3675 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, List, MethodName:makeList, @TO@ public, List, MethodName:makeEmptyList, @AT@ 3757 @LENGTH@ 133
|
||||
---UPD SimpleName@@MethodName:makeList @TO@ MethodName:makeEmptyList @AT@ 3769 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:map=(HashMap)makeMap() @TO@ Assignment:map=(HashMap)makeEmptyMap() @AT@ 3827 @LENGTH@ 26
|
||||
---UPD Assignment@@map=(HashMap)makeMap() @TO@ map=(HashMap)makeEmptyMap() @AT@ 3827 @LENGTH@ 25
|
||||
------UPD CastExpression@@(HashMap)makeMap() @TO@ (HashMap)makeEmptyMap() @AT@ 3833 @LENGTH@ 19
|
||||
---------UPD MethodInvocation@@MethodName:makeMap:[] @TO@ MethodName:makeEmptyMap:[] @AT@ 3843 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:map=(HashMap)makeMap() @TO@ Assignment:map=(HashMap)makeEmptyMap() @AT@ 3802 @LENGTH@ 26
|
||||
---UPD Assignment@@map=(HashMap)makeMap() @TO@ map=(HashMap)makeEmptyMap() @AT@ 3802 @LENGTH@ 25
|
||||
------UPD CastExpression@@(HashMap)makeMap() @TO@ (HashMap)makeEmptyMap() @AT@ 3808 @LENGTH@ 19
|
||||
---------UPD MethodInvocation@@MethodName:makeMap:[] @TO@ MethodName:makeEmptyMap:[] @AT@ 3818 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]TestSequencedHashMap, TestMap[TestMap.SupportsPut] @TO@ [public]TestSequencedHashMap, TestMap[TestMap.SupportsPut, TestMap.EntrySetSupportsRemove] @AT@ 3349 @LENGTH@ 3808
|
||||
---INS SimpleType@@TestMap.EntrySetSupportsRemove @TO@ TypeDeclaration@@[public]TestSequencedHashMap, TestMap[TestMap.SupportsPut] @AT@ 3432 @LENGTH@ 30
|
||||
|
||||
|
||||
INS FieldDeclaration@@private, static, final, long, [serialVersionUID=2197433140769957051L] @TO@ TypeDeclaration@@[public]LRUMap, SequencedHashMap[Externalizable] @AT@ 8968 @LENGTH@ 66
|
||||
---INS Modifier@@private @TO@ FieldDeclaration@@private, static, final, long, [serialVersionUID=2197433140769957051L] @AT@ 8968 @LENGTH@ 7
|
||||
---INS Modifier@@static @TO@ FieldDeclaration@@private, static, final, long, [serialVersionUID=2197433140769957051L] @AT@ 8976 @LENGTH@ 6
|
||||
---INS Modifier@@final @TO@ FieldDeclaration@@private, static, final, long, [serialVersionUID=2197433140769957051L] @AT@ 8983 @LENGTH@ 5
|
||||
---INS PrimitiveType@@long @TO@ FieldDeclaration@@private, static, final, long, [serialVersionUID=2197433140769957051L] @AT@ 8989 @LENGTH@ 4
|
||||
---INS VariableDeclarationFragment@@serialVersionUID=2197433140769957051L @TO@ FieldDeclaration@@private, static, final, long, [serialVersionUID=2197433140769957051L] @AT@ 8994 @LENGTH@ 39
|
||||
------INS SimpleName@@serialVersionUID @TO@ VariableDeclarationFragment@@serialVersionUID=2197433140769957051L @AT@ 8994 @LENGTH@ 16
|
||||
------INS NumberLiteral@@2197433140769957051L @TO@ VariableDeclarationFragment@@serialVersionUID=2197433140769957051L @AT@ 9013 @LENGTH@ 20
|
||||
|
||||
|
||||
UPD IfStatement@@if (entry.equals(e)) return entry; else return null; @TO@ if (entry != null && entry.equals(e)) return entry; else return null; @AT@ 21117 @LENGTH@ 59
|
||||
---INS InfixExpression@@entry != null && entry.equals(e) @TO@ IfStatement@@if (entry.equals(e)) return entry; else return null; @AT@ 21116 @LENGTH@ 32
|
||||
------INS InfixExpression@@entry != null @TO@ InfixExpression@@entry != null && entry.equals(e) @AT@ 21116 @LENGTH@ 13
|
||||
---------INS SimpleName@@entry @TO@ InfixExpression@@entry != null @AT@ 21116 @LENGTH@ 5
|
||||
---------INS Operator@@!= @TO@ InfixExpression@@entry != null @AT@ 21121 @LENGTH@ 2
|
||||
---------INS NullLiteral@@null @TO@ InfixExpression@@entry != null @AT@ 21125 @LENGTH@ 4
|
||||
------MOV MethodInvocation@@entry.equals(e) @TO@ InfixExpression@@entry != null && entry.equals(e) @AT@ 21120 @LENGTH@ 15
|
||||
------INS Operator@@&& @TO@ InfixExpression@@entry != null && entry.equals(e) @AT@ 21129 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@int lastItem=size(); @TO@ int lastItem=size() - 1; @AT@ 5886 @LENGTH@ 22
|
||||
---UPD VariableDeclarationFragment@@lastItem=size() @TO@ lastItem=size() - 1 @AT@ 5890 @LENGTH@ 17
|
||||
------INS InfixExpression@@size() - 1 @TO@ VariableDeclarationFragment@@lastItem=size() @AT@ 5899 @LENGTH@ 10
|
||||
---------INS MethodInvocation@@MethodName:size:[] @TO@ InfixExpression@@size() - 1 @AT@ 5899 @LENGTH@ 6
|
||||
---------INS Operator@@- @TO@ InfixExpression@@size() - 1 @AT@ 5905 @LENGTH@ 1
|
||||
---------INS NumberLiteral@@1 @TO@ InfixExpression@@size() - 1 @AT@ 5908 @LENGTH@ 1
|
||||
------DEL MethodInvocation@@MethodName:size:[] @AT@ 5901 @LENGTH@ 6
|
||||
|
||||
|
||||
UPD IfStatement@@if (!setPreviousObject()) { return false;} @TO@ if (!setPreviousObject()) { return false;} else { clearPreviousObject();} @AT@ 7603 @LENGTH@ 70
|
||||
---INS Block@@ElseBody:{ clearPreviousObject();} @TO@ IfStatement@@if (!setPreviousObject()) { return false;} @AT@ 7735 @LENGTH@ 54
|
||||
------INS ExpressionStatement@@MethodInvocation:clearPreviousObject() @TO@ Block@@ElseBody:{ clearPreviousObject();} @AT@ 7753 @LENGTH@ 22
|
||||
---------INS MethodInvocation@@MethodName:clearPreviousObject:[] @TO@ ExpressionStatement@@MethodInvocation:clearPreviousObject() @AT@ 7753 @LENGTH@ 21
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testEntrySetContains, @TO@ TypeDeclaration@@[public, abstract]TestMap, TestObject @AT@ 7434 @LENGTH@ 618
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7434 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7441 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testEntrySetContains @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7446 @LENGTH@ 20
|
||||
---INS IfStatement@@if ((this instanceof TestMap.SupportsPut) == false) { return;} @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7480 @LENGTH@ 83
|
||||
------INS InfixExpression@@(this instanceof TestMap.SupportsPut) == false @TO@ IfStatement@@if ((this instanceof TestMap.SupportsPut) == false) { return;} @AT@ 7484 @LENGTH@ 46
|
||||
---------INS ParenthesizedExpression@@(this instanceof TestMap.SupportsPut) @TO@ InfixExpression@@(this instanceof TestMap.SupportsPut) == false @AT@ 7484 @LENGTH@ 37
|
||||
------------INS InstanceofExpression@@this instanceof TestMap.SupportsPut @TO@ ParenthesizedExpression@@(this instanceof TestMap.SupportsPut) @AT@ 7485 @LENGTH@ 35
|
||||
---------------INS ThisExpression@@this @TO@ InstanceofExpression@@this instanceof TestMap.SupportsPut @AT@ 7485 @LENGTH@ 4
|
||||
---------------INS Instanceof@@instanceof @TO@ InstanceofExpression@@this instanceof TestMap.SupportsPut @AT@ 7490 @LENGTH@ 10
|
||||
---------------INS SimpleType@@TestMap.SupportsPut @TO@ InstanceofExpression@@this instanceof TestMap.SupportsPut @AT@ 7501 @LENGTH@ 19
|
||||
---------INS Operator@@== @TO@ InfixExpression@@(this instanceof TestMap.SupportsPut) == false @AT@ 7521 @LENGTH@ 2
|
||||
---------INS BooleanLiteral@@false @TO@ InfixExpression@@(this instanceof TestMap.SupportsPut) == false @AT@ 7525 @LENGTH@ 5
|
||||
------INS Block@@ThenBody:{ return;} @TO@ IfStatement@@if ((this instanceof TestMap.SupportsPut) == false) { return;} @AT@ 7532 @LENGTH@ 31
|
||||
---------INS ReturnStatement@@ @TO@ Block@@ThenBody:{ return;} @AT@ 7546 @LENGTH@ 7
|
||||
---INS VariableDeclarationStatement@@Map map=makeMap(); @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7573 @LENGTH@ 20
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@Map map=makeMap(); @AT@ 7573 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@map=makeMap() @TO@ VariableDeclarationStatement@@Map map=makeMap(); @AT@ 7577 @LENGTH@ 15
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=makeMap() @AT@ 7577 @LENGTH@ 3
|
||||
---------INS MethodInvocation@@MethodName:makeMap:[] @TO@ VariableDeclarationFragment@@map=makeMap() @AT@ 7583 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("1","1") @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7602 @LENGTH@ 17
|
||||
------INS MethodInvocation@@map.put("1","1") @TO@ ExpressionStatement@@MethodInvocation:map.put("1","1") @AT@ 7602 @LENGTH@ 16
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("1","1") @AT@ 7602 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["1", "1"] @TO@ MethodInvocation@@map.put("1","1") @AT@ 7606 @LENGTH@ 12
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 7610 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 7614 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("2","2") @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7628 @LENGTH@ 17
|
||||
------INS MethodInvocation@@map.put("2","2") @TO@ ExpressionStatement@@MethodInvocation:map.put("2","2") @AT@ 7628 @LENGTH@ 16
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("2","2") @AT@ 7628 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["2", "2"] @TO@ MethodInvocation@@map.put("2","2") @AT@ 7632 @LENGTH@ 12
|
||||
------------INS StringLiteral@@"2" @TO@ SimpleName@@MethodName:put:["2", "2"] @AT@ 7636 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"2" @TO@ SimpleName@@MethodName:put:["2", "2"] @AT@ 7640 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("3","3") @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7654 @LENGTH@ 17
|
||||
------INS MethodInvocation@@map.put("3","3") @TO@ ExpressionStatement@@MethodInvocation:map.put("3","3") @AT@ 7654 @LENGTH@ 16
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("3","3") @AT@ 7654 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["3", "3"] @TO@ MethodInvocation@@map.put("3","3") @AT@ 7658 @LENGTH@ 12
|
||||
------------INS StringLiteral@@"3" @TO@ SimpleName@@MethodName:put:["3", "3"] @AT@ 7662 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"3" @TO@ SimpleName@@MethodName:put:["3", "3"] @AT@ 7666 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@Set set=map.entrySet(); @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7681 @LENGTH@ 25
|
||||
------INS SimpleType@@Set @TO@ VariableDeclarationStatement@@Set set=map.entrySet(); @AT@ 7681 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@set=map.entrySet() @TO@ VariableDeclarationStatement@@Set set=map.entrySet(); @AT@ 7685 @LENGTH@ 20
|
||||
---------INS SimpleName@@set @TO@ VariableDeclarationFragment@@set=map.entrySet() @AT@ 7685 @LENGTH@ 3
|
||||
---------INS MethodInvocation@@map.entrySet() @TO@ VariableDeclarationFragment@@set=map.entrySet() @AT@ 7691 @LENGTH@ 14
|
||||
------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.entrySet() @AT@ 7691 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:entrySet:[] @TO@ MethodInvocation@@map.entrySet() @AT@ 7695 @LENGTH@ 10
|
||||
---INS VariableDeclarationStatement@@Object o=set.iterator().next(); @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7715 @LENGTH@ 33
|
||||
------INS SimpleType@@Object @TO@ VariableDeclarationStatement@@Object o=set.iterator().next(); @AT@ 7715 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@o=set.iterator().next() @TO@ VariableDeclarationStatement@@Object o=set.iterator().next(); @AT@ 7722 @LENGTH@ 25
|
||||
---------INS SimpleName@@o @TO@ VariableDeclarationFragment@@o=set.iterator().next() @AT@ 7722 @LENGTH@ 1
|
||||
---------INS MethodInvocation@@set.iterator().next() @TO@ VariableDeclarationFragment@@o=set.iterator().next() @AT@ 7726 @LENGTH@ 21
|
||||
------------INS MethodInvocation@@MethodName:iterator:[] @TO@ MethodInvocation@@set.iterator().next() @AT@ 7726 @LENGTH@ 14
|
||||
------------INS SimpleName@@Name:set @TO@ MethodInvocation@@set.iterator().next() @AT@ 7726 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@set.iterator().next() @AT@ 7741 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue("entry set should contain valid element",set.contains(o)) @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7757 @LENGTH@ 69
|
||||
------INS MethodInvocation@@assertTrue("entry set should contain valid element",set.contains(o)) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("entry set should contain valid element",set.contains(o)) @AT@ 7757 @LENGTH@ 68
|
||||
---------INS SimpleName@@MethodName:assertTrue:["entry set should contain valid element", set.contains(o)] @TO@ MethodInvocation@@assertTrue("entry set should contain valid element",set.contains(o)) @AT@ 7757 @LENGTH@ 68
|
||||
------------INS StringLiteral@@"entry set should contain valid element" @TO@ SimpleName@@MethodName:assertTrue:["entry set should contain valid element", set.contains(o)] @AT@ 7768 @LENGTH@ 40
|
||||
------------INS MethodInvocation@@set.contains(o) @TO@ SimpleName@@MethodName:assertTrue:["entry set should contain valid element", set.contains(o)] @AT@ 7809 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:set @TO@ MethodInvocation@@set.contains(o) @AT@ 7809 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:contains:[o] @TO@ MethodInvocation@@set.contains(o) @AT@ 7813 @LENGTH@ 11
|
||||
------------------INS SimpleName@@o @TO@ SimpleName@@MethodName:contains:[o] @AT@ 7822 @LENGTH@ 1
|
||||
---INS VariableDeclarationStatement@@DefaultMapEntry entry=new DefaultMapEntry("4","4"); @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7866 @LENGTH@ 53
|
||||
------INS SimpleType@@DefaultMapEntry @TO@ VariableDeclarationStatement@@DefaultMapEntry entry=new DefaultMapEntry("4","4"); @AT@ 7866 @LENGTH@ 15
|
||||
------INS VariableDeclarationFragment@@entry=new DefaultMapEntry("4","4") @TO@ VariableDeclarationStatement@@DefaultMapEntry entry=new DefaultMapEntry("4","4"); @AT@ 7882 @LENGTH@ 36
|
||||
---------INS SimpleName@@entry @TO@ VariableDeclarationFragment@@entry=new DefaultMapEntry("4","4") @AT@ 7882 @LENGTH@ 5
|
||||
---------INS ClassInstanceCreation@@DefaultMapEntry["4", "4"] @TO@ VariableDeclarationFragment@@entry=new DefaultMapEntry("4","4") @AT@ 7890 @LENGTH@ 28
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@DefaultMapEntry["4", "4"] @AT@ 7890 @LENGTH@ 3
|
||||
------------INS SimpleType@@DefaultMapEntry @TO@ ClassInstanceCreation@@DefaultMapEntry["4", "4"] @AT@ 7894 @LENGTH@ 15
|
||||
------------INS StringLiteral@@"4" @TO@ ClassInstanceCreation@@DefaultMapEntry["4", "4"] @AT@ 7910 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"4" @TO@ ClassInstanceCreation@@DefaultMapEntry["4", "4"] @AT@ 7914 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue("entry set should not contain a bogus element",set.contains(entry) == false) @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetContains, @AT@ 7928 @LENGTH@ 108
|
||||
------INS MethodInvocation@@assertTrue("entry set should not contain a bogus element",set.contains(entry) == false) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("entry set should not contain a bogus element",set.contains(entry) == false) @AT@ 7928 @LENGTH@ 107
|
||||
---------INS SimpleName@@MethodName:assertTrue:["entry set should not contain a bogus element", set.contains(entry) == false] @TO@ MethodInvocation@@assertTrue("entry set should not contain a bogus element",set.contains(entry) == false) @AT@ 7928 @LENGTH@ 107
|
||||
------------INS StringLiteral@@"entry set should not contain a bogus element" @TO@ SimpleName@@MethodName:assertTrue:["entry set should not contain a bogus element", set.contains(entry) == false] @AT@ 7939 @LENGTH@ 46
|
||||
------------INS InfixExpression@@set.contains(entry) == false @TO@ SimpleName@@MethodName:assertTrue:["entry set should not contain a bogus element", set.contains(entry) == false] @AT@ 8006 @LENGTH@ 28
|
||||
---------------INS MethodInvocation@@set.contains(entry) @TO@ InfixExpression@@set.contains(entry) == false @AT@ 8006 @LENGTH@ 19
|
||||
------------------INS SimpleName@@Name:set @TO@ MethodInvocation@@set.contains(entry) @AT@ 8006 @LENGTH@ 3
|
||||
------------------INS SimpleName@@MethodName:contains:[entry] @TO@ MethodInvocation@@set.contains(entry) @AT@ 8010 @LENGTH@ 15
|
||||
---------------------INS SimpleName@@entry @TO@ SimpleName@@MethodName:contains:[entry] @AT@ 8019 @LENGTH@ 5
|
||||
---------------INS Operator@@== @TO@ InfixExpression@@set.contains(entry) == false @AT@ 8025 @LENGTH@ 2
|
||||
---------------INS BooleanLiteral@@false @TO@ InfixExpression@@set.contains(entry) == false @AT@ 8029 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD IfStatement@@if (mapSize >= maximumSize) { if (!containsKey(key)) { removeLRU(); } retval=super.put(key,value);} else { retval=super.put(key,value);} @TO@ if (mapSize >= maximumSize) { if (!containsKey(key)) { removeLRU(); }} @AT@ 5474 @LENGTH@ 393
|
||||
---UPD Block@@ThenBody:{ if (!containsKey(key)) { removeLRU(); } retval=super.put(key,value);} @TO@ ThenBody:{ if (!containsKey(key)) { removeLRU(); }} @AT@ 5504 @LENGTH@ 303
|
||||
---DEL Block@@ElseBody:{ retval=super.put(key,value);} @AT@ 5813 @LENGTH@ 54
|
||||
------DEL ExpressionStatement@@Assignment:retval=super.put(key,value) @AT@ 5827 @LENGTH@ 30
|
||||
---------DEL Assignment@@retval=super.put(key,value) @AT@ 5827 @LENGTH@ 29
|
||||
------------DEL SimpleName@@retval @AT@ 5827 @LENGTH@ 6
|
||||
------------DEL Operator@@= @AT@ 5833 @LENGTH@ 1
|
||||
------------DEL SuperMethodInvocation@@super.put(key,value) @AT@ 5836 @LENGTH@ 20
|
||||
---------------DEL SimpleName@@MethodName:put:[key, value] @AT@ 5842 @LENGTH@ 3
|
||||
---------------DEL SimpleName@@key @AT@ 5846 @LENGTH@ 3
|
||||
---------------DEL SimpleName@@value @AT@ 5850 @LENGTH@ 5
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testClear, @TO@ TypeDeclaration@@[public]TestBeanMap, TestMap @AT@ 8665 @LENGTH@ 146
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testClear, @AT@ 8665 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testClear, @AT@ 8672 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testClear @TO@ MethodDeclaration@@public, void, MethodName:testClear, @AT@ 8677 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:labRat=(SequencedHashMap)makeMap() @TO@ Assignment:labRat=(SequencedHashMap)makeEmptyMap() @AT@ 4111 @LENGTH@ 38
|
||||
---UPD Assignment@@labRat=(SequencedHashMap)makeMap() @TO@ labRat=(SequencedHashMap)makeEmptyMap() @AT@ 4111 @LENGTH@ 37
|
||||
------UPD CastExpression@@(SequencedHashMap)makeMap() @TO@ (SequencedHashMap)makeEmptyMap() @AT@ 4120 @LENGTH@ 28
|
||||
---------UPD MethodInvocation@@MethodName:makeMap:[] @TO@ MethodName:makeEmptyMap:[] @AT@ 4139 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals("Both maps are same size",map.size(),getSampleKeys().length) @TO@ MethodInvocation:assertEquals("Map is the right size",map.size(),getSampleKeys().length) @AT@ 38061 @LENGTH@ 75
|
||||
---UPD MethodInvocation@@assertEquals("Both maps are same size",map.size(),getSampleKeys().length) @TO@ assertEquals("Map is the right size",map.size(),getSampleKeys().length) @AT@ 38061 @LENGTH@ 74
|
||||
------UPD SimpleName@@MethodName:assertEquals:["Both maps are same size", map.size(), getSampleKeys().length] @TO@ MethodName:assertEquals:["Map is the right size", map.size(), getSampleKeys().length] @AT@ 38061 @LENGTH@ 74
|
||||
---------UPD StringLiteral@@"Both maps are same size" @TO@ "Map is the right size" @AT@ 38074 @LENGTH@ 25
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, Map, MethodName:makeMap, @TO@ public, Map, MethodName:makeEmptyMap, @AT@ 3654 @LENGTH@ 123
|
||||
---UPD SimpleName@@MethodName:makeMap @TO@ MethodName:makeEmptyMap @AT@ 3665 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals("Both maps have the same last key",map2.getLastKey(),getSampleKeys()[0]) @TO@ MethodInvocation:assertEquals("Both maps have the same last key",map2.getLastKey(),getSampleKeys()[getSampleKeys().length - 1]) @AT@ 8158 @LENGTH@ 108
|
||||
---UPD MethodInvocation@@assertEquals("Both maps have the same last key",map2.getLastKey(),getSampleKeys()[0]) @TO@ assertEquals("Both maps have the same last key",map2.getLastKey(),getSampleKeys()[getSampleKeys().length - 1]) @AT@ 8158 @LENGTH@ 107
|
||||
------UPD SimpleName@@MethodName:assertEquals:["Both maps have the same last key", map2.getLastKey(), getSampleKeys()[0]] @TO@ MethodName:assertEquals:["Both maps have the same last key", map2.getLastKey(), getSampleKeys()[getSampleKeys().length - 1]] @AT@ 8158 @LENGTH@ 107
|
||||
---------UPD ArrayAccess@@getSampleKeys()[0] @TO@ getSampleKeys()[getSampleKeys().length - 1] @AT@ 8246 @LENGTH@ 18
|
||||
------------DEL NumberLiteral@@0 @AT@ 8262 @LENGTH@ 1
|
||||
------------INS InfixExpression@@getSampleKeys().length - 1 @TO@ ArrayAccess@@getSampleKeys()[0] @AT@ 8282 @LENGTH@ 26
|
||||
---------------INS FieldAccess@@getSampleKeys().length @TO@ InfixExpression@@getSampleKeys().length - 1 @AT@ 8282 @LENGTH@ 22
|
||||
------------------INS MethodInvocation@@MethodName:getSampleKeys:[] @TO@ FieldAccess@@getSampleKeys().length @AT@ 8282 @LENGTH@ 15
|
||||
------------------INS SimpleName@@length @TO@ FieldAccess@@getSampleKeys().length @AT@ 8298 @LENGTH@ 6
|
||||
---------------INS Operator@@- @TO@ InfixExpression@@getSampleKeys().length - 1 @AT@ 8304 @LENGTH@ 1
|
||||
---------------INS NumberLiteral@@1 @TO@ InfixExpression@@getSampleKeys().length - 1 @AT@ 8307 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertTrue("Maps is empty",map.isEmpty() == true) @TO@ MethodInvocation:assertTrue("Map is empty",map.isEmpty() == true) @AT@ 37316 @LENGTH@ 51
|
||||
---UPD MethodInvocation@@assertTrue("Maps is empty",map.isEmpty() == true) @TO@ assertTrue("Map is empty",map.isEmpty() == true) @AT@ 37316 @LENGTH@ 50
|
||||
------UPD SimpleName@@MethodName:assertTrue:["Maps is empty", map.isEmpty() == true] @TO@ MethodName:assertTrue:["Map is empty", map.isEmpty() == true] @AT@ 37316 @LENGTH@ 50
|
||||
---------UPD StringLiteral@@"Maps is empty" @TO@ "Map is empty" @AT@ 37327 @LENGTH@ 15
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, Map, MethodName:makeMap, @TO@ public, Map, MethodName:makeEmptyMap, @AT@ 4161 @LENGTH@ 67
|
||||
---UPD SimpleName@@MethodName:makeMap @TO@ MethodName:makeEmptyMap @AT@ 4172 @LENGTH@ 7
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(TestLRUMap.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 4356 @LENGTH@ 34
|
||||
---INS MethodInvocation@@suite.addTest(TestLRUMap.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestLRUMap.suite()) @AT@ 4356 @LENGTH@ 33
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestLRUMap.suite()) @AT@ 4356 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[TestLRUMap.suite()] @TO@ MethodInvocation@@suite.addTest(TestLRUMap.suite()) @AT@ 4362 @LENGTH@ 27
|
||||
---------INS MethodInvocation@@TestLRUMap.suite() @TO@ SimpleName@@MethodName:addTest:[TestLRUMap.suite()] @AT@ 4370 @LENGTH@ 18
|
||||
------------INS SimpleName@@Name:TestLRUMap @TO@ MethodInvocation@@TestLRUMap.suite() @AT@ 4370 @LENGTH@ 10
|
||||
------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestLRUMap.suite() @AT@ 4381 @LENGTH@ 7
|
||||
|
||||
|
||||
DEL MethodDeclaration@@public, Map, MethodName:makeEmptyMap, @AT@ 3556 @LENGTH@ 90
|
||||
---DEL Modifier@@public @AT@ 3556 @LENGTH@ 6
|
||||
---DEL SimpleType@@Map @AT@ 3563 @LENGTH@ 3
|
||||
---DEL SimpleName@@MethodName:makeEmptyMap @AT@ 3567 @LENGTH@ 12
|
||||
---DEL VariableDeclarationStatement@@HashMap hm=new HashMap(); @AT@ 3592 @LENGTH@ 27
|
||||
------DEL SimpleType@@HashMap @AT@ 3592 @LENGTH@ 7
|
||||
------DEL VariableDeclarationFragment@@hm=new HashMap() @AT@ 3600 @LENGTH@ 18
|
||||
---------DEL SimpleName@@hm @AT@ 3600 @LENGTH@ 2
|
||||
---------DEL ClassInstanceCreation@@HashMap[] @AT@ 3605 @LENGTH@ 13
|
||||
------------DEL New@@new @AT@ 3605 @LENGTH@ 3
|
||||
------------DEL SimpleType@@HashMap @AT@ 3609 @LENGTH@ 7
|
||||
---DEL ReturnStatement@@ParenthesizedExpression:(hm) @AT@ 3628 @LENGTH@ 12
|
||||
------DEL ParenthesizedExpression@@(hm) @AT@ 3635 @LENGTH@ 4
|
||||
---------DEL SimpleName@@hm @AT@ 3636 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD IfStatement@@if (obj1.equals(obj2)) { assertEquals("[2] When two objects are equal, their hashCodes should be also.",obj1.hashCode(),obj2.hashCode());} @TO@ if (obj1.equals(obj2)) { assertEquals("[2] When two objects are equal, their hashCodes should be also.",obj1.hashCode(),obj2.hashCode()); assertTrue("When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true",obj2.equals(obj1));} @AT@ 4758 @LENGTH@ 158
|
||||
---UPD Block@@ThenBody:{ assertEquals("[2] When two objects are equal, their hashCodes should be also.",obj1.hashCode(),obj2.hashCode());} @TO@ ThenBody:{ assertEquals("[2] When two objects are equal, their hashCodes should be also.",obj1.hashCode(),obj2.hashCode()); assertTrue("When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true",obj2.equals(obj1));} @AT@ 4780 @LENGTH@ 136
|
||||
------INS ExpressionStatement@@MethodInvocation:assertTrue("When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true",obj2.equals(obj1)) @TO@ Block@@ThenBody:{ assertEquals("[2] When two objects are equal, their hashCodes should be also.",obj1.hashCode(),obj2.hashCode());} @AT@ 4913 @LENGTH@ 108
|
||||
---------INS MethodInvocation@@assertTrue("When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true",obj2.equals(obj1)) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true",obj2.equals(obj1)) @AT@ 4913 @LENGTH@ 107
|
||||
------------INS SimpleName@@MethodName:assertTrue:["When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true", obj2.equals(obj1)] @TO@ MethodInvocation@@assertTrue("When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true",obj2.equals(obj1)) @AT@ 4913 @LENGTH@ 107
|
||||
---------------INS StringLiteral@@"When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true" @TO@ SimpleName@@MethodName:assertTrue:["When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true", obj2.equals(obj1)] @AT@ 4924 @LENGTH@ 76
|
||||
---------------INS MethodInvocation@@obj2.equals(obj1) @TO@ SimpleName@@MethodName:assertTrue:["When obj1.equals(obj2) is true, then obj2.equals(obj1) should also be true", obj2.equals(obj1)] @AT@ 5002 @LENGTH@ 17
|
||||
------------------INS SimpleName@@Name:obj2 @TO@ MethodInvocation@@obj2.equals(obj1) @AT@ 5002 @LENGTH@ 4
|
||||
------------------INS SimpleName@@MethodName:equals:[obj1] @TO@ MethodInvocation@@obj2.equals(obj1) @AT@ 5007 @LENGTH@ 12
|
||||
---------------------INS SimpleName@@obj1 @TO@ SimpleName@@MethodName:equals:[obj1] @AT@ 5014 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, Map, MethodName:makeMap, @TO@ public, Map, MethodName:makeEmptyMap, @AT@ 3681 @LENGTH@ 99
|
||||
---UPD SimpleName@@MethodName:makeMap @TO@ MethodName:makeEmptyMap @AT@ 3692 @LENGTH@ 7
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @TO@ TypeDeclaration@@[public]TestFilterListIterator, TestCase @AT@ 12001 @LENGTH@ 441
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12001 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12008 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testFailingHasNextBug @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12013 @LENGTH@ 21
|
||||
---INS VariableDeclarationStatement@@FilterListIterator filtered=new FilterListIterator(list.listIterator(),fourPred); @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12047 @LENGTH@ 83
|
||||
------INS SimpleType@@FilterListIterator @TO@ VariableDeclarationStatement@@FilterListIterator filtered=new FilterListIterator(list.listIterator(),fourPred); @AT@ 12047 @LENGTH@ 18
|
||||
------INS VariableDeclarationFragment@@filtered=new FilterListIterator(list.listIterator(),fourPred) @TO@ VariableDeclarationStatement@@FilterListIterator filtered=new FilterListIterator(list.listIterator(),fourPred); @AT@ 12066 @LENGTH@ 63
|
||||
---------INS SimpleName@@filtered @TO@ VariableDeclarationFragment@@filtered=new FilterListIterator(list.listIterator(),fourPred) @AT@ 12066 @LENGTH@ 8
|
||||
---------INS ClassInstanceCreation@@FilterListIterator[list.listIterator(), fourPred] @TO@ VariableDeclarationFragment@@filtered=new FilterListIterator(list.listIterator(),fourPred) @AT@ 12077 @LENGTH@ 52
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@FilterListIterator[list.listIterator(), fourPred] @AT@ 12077 @LENGTH@ 3
|
||||
------------INS SimpleType@@FilterListIterator @TO@ ClassInstanceCreation@@FilterListIterator[list.listIterator(), fourPred] @AT@ 12081 @LENGTH@ 18
|
||||
------------INS MethodInvocation@@list.listIterator() @TO@ ClassInstanceCreation@@FilterListIterator[list.listIterator(), fourPred] @AT@ 12100 @LENGTH@ 19
|
||||
---------------INS SimpleName@@Name:list @TO@ MethodInvocation@@list.listIterator() @AT@ 12100 @LENGTH@ 4
|
||||
---------------INS SimpleName@@MethodName:listIterator:[] @TO@ MethodInvocation@@list.listIterator() @AT@ 12105 @LENGTH@ 14
|
||||
------------INS SimpleName@@fourPred @TO@ ClassInstanceCreation@@FilterListIterator[list.listIterator(), fourPred] @AT@ 12120 @LENGTH@ 8
|
||||
---INS VariableDeclarationStatement@@ListIterator expected=fours.listIterator(); @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12139 @LENGTH@ 45
|
||||
------INS SimpleType@@ListIterator @TO@ VariableDeclarationStatement@@ListIterator expected=fours.listIterator(); @AT@ 12139 @LENGTH@ 12
|
||||
------INS VariableDeclarationFragment@@expected=fours.listIterator() @TO@ VariableDeclarationStatement@@ListIterator expected=fours.listIterator(); @AT@ 12152 @LENGTH@ 31
|
||||
---------INS SimpleName@@expected @TO@ VariableDeclarationFragment@@expected=fours.listIterator() @AT@ 12152 @LENGTH@ 8
|
||||
---------INS MethodInvocation@@fours.listIterator() @TO@ VariableDeclarationFragment@@expected=fours.listIterator() @AT@ 12163 @LENGTH@ 20
|
||||
------------INS SimpleName@@Name:fours @TO@ MethodInvocation@@fours.listIterator() @AT@ 12163 @LENGTH@ 5
|
||||
------------INS SimpleName@@MethodName:listIterator:[] @TO@ MethodInvocation@@fours.listIterator() @AT@ 12169 @LENGTH@ 14
|
||||
---INS WhileStatement@@while (expected.hasNext()) { expected.next(); filtered.next();} @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12193 @LENGTH@ 95
|
||||
------INS MethodInvocation@@expected.hasNext() @TO@ WhileStatement@@while (expected.hasNext()) { expected.next(); filtered.next();} @AT@ 12199 @LENGTH@ 18
|
||||
---------INS SimpleName@@Name:expected @TO@ MethodInvocation@@expected.hasNext() @AT@ 12199 @LENGTH@ 8
|
||||
---------INS SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@expected.hasNext() @AT@ 12208 @LENGTH@ 9
|
||||
------INS Block@@WhileBody:{ expected.next(); filtered.next();} @TO@ WhileStatement@@while (expected.hasNext()) { expected.next(); filtered.next();} @AT@ 12219 @LENGTH@ 69
|
||||
---------INS ExpressionStatement@@MethodInvocation:expected.next() @TO@ Block@@WhileBody:{ expected.next(); filtered.next();} @AT@ 12233 @LENGTH@ 16
|
||||
------------INS MethodInvocation@@expected.next() @TO@ ExpressionStatement@@MethodInvocation:expected.next() @AT@ 12233 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:expected @TO@ MethodInvocation@@expected.next() @AT@ 12233 @LENGTH@ 8
|
||||
---------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@expected.next() @AT@ 12242 @LENGTH@ 6
|
||||
---------INS ExpressionStatement@@MethodInvocation:filtered.next() @TO@ Block@@WhileBody:{ expected.next(); filtered.next();} @AT@ 12262 @LENGTH@ 16
|
||||
------------INS MethodInvocation@@filtered.next() @TO@ ExpressionStatement@@MethodInvocation:filtered.next() @AT@ 12262 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:filtered @TO@ MethodInvocation@@filtered.next() @AT@ 12262 @LENGTH@ 8
|
||||
---------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@filtered.next() @AT@ 12271 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue(filtered.hasPrevious()) @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12297 @LENGTH@ 35
|
||||
------INS MethodInvocation@@assertTrue(filtered.hasPrevious()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue(filtered.hasPrevious()) @AT@ 12297 @LENGTH@ 34
|
||||
---------INS SimpleName@@MethodName:assertTrue:[filtered.hasPrevious()] @TO@ MethodInvocation@@assertTrue(filtered.hasPrevious()) @AT@ 12297 @LENGTH@ 34
|
||||
------------INS MethodInvocation@@filtered.hasPrevious() @TO@ SimpleName@@MethodName:assertTrue:[filtered.hasPrevious()] @AT@ 12308 @LENGTH@ 22
|
||||
---------------INS SimpleName@@Name:filtered @TO@ MethodInvocation@@filtered.hasPrevious() @AT@ 12308 @LENGTH@ 8
|
||||
---------------INS SimpleName@@MethodName:hasPrevious:[] @TO@ MethodInvocation@@filtered.hasPrevious() @AT@ 12317 @LENGTH@ 13
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue(!filtered.hasNext()) @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12341 @LENGTH@ 32
|
||||
------INS MethodInvocation@@assertTrue(!filtered.hasNext()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue(!filtered.hasNext()) @AT@ 12341 @LENGTH@ 31
|
||||
---------INS SimpleName@@MethodName:assertTrue:[!filtered.hasNext()] @TO@ MethodInvocation@@assertTrue(!filtered.hasNext()) @AT@ 12341 @LENGTH@ 31
|
||||
------------INS PrefixExpression@@!filtered.hasNext() @TO@ SimpleName@@MethodName:assertTrue:[!filtered.hasNext()] @AT@ 12352 @LENGTH@ 19
|
||||
---------------INS Operator@@! @TO@ PrefixExpression@@!filtered.hasNext() @AT@ 12352 @LENGTH@ 1
|
||||
---------------INS MethodInvocation@@filtered.hasNext() @TO@ PrefixExpression@@!filtered.hasNext() @AT@ 12353 @LENGTH@ 18
|
||||
------------------INS SimpleName@@Name:filtered @TO@ MethodInvocation@@filtered.hasNext() @AT@ 12353 @LENGTH@ 8
|
||||
------------------INS SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@filtered.hasNext() @AT@ 12362 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(expected.previous(),filtered.previous()) @TO@ MethodDeclaration@@public, void, MethodName:testFailingHasNextBug, @AT@ 12382 @LENGTH@ 54
|
||||
------INS MethodInvocation@@assertEquals(expected.previous(),filtered.previous()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(expected.previous(),filtered.previous()) @AT@ 12382 @LENGTH@ 53
|
||||
---------INS SimpleName@@MethodName:assertEquals:[expected.previous(), filtered.previous()] @TO@ MethodInvocation@@assertEquals(expected.previous(),filtered.previous()) @AT@ 12382 @LENGTH@ 53
|
||||
------------INS MethodInvocation@@expected.previous() @TO@ SimpleName@@MethodName:assertEquals:[expected.previous(), filtered.previous()] @AT@ 12395 @LENGTH@ 19
|
||||
---------------INS SimpleName@@Name:expected @TO@ MethodInvocation@@expected.previous() @AT@ 12395 @LENGTH@ 8
|
||||
---------------INS SimpleName@@MethodName:previous:[] @TO@ MethodInvocation@@expected.previous() @AT@ 12404 @LENGTH@ 10
|
||||
------------INS MethodInvocation@@filtered.previous() @TO@ SimpleName@@MethodName:assertEquals:[expected.previous(), filtered.previous()] @AT@ 12415 @LENGTH@ 19
|
||||
---------------INS SimpleName@@Name:filtered @TO@ MethodInvocation@@filtered.previous() @AT@ 12415 @LENGTH@ 8
|
||||
---------------INS SimpleName@@MethodName:previous:[] @TO@ MethodInvocation@@filtered.previous() @AT@ 12424 @LENGTH@ 10
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @TO@ TypeDeclaration@@[public, abstract]TestMap, TestObject @AT@ 6706 @LENGTH@ 660
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6706 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6713 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testEntrySetRemove @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6718 @LENGTH@ 18
|
||||
---INS IfStatement@@if ((this instanceof TestMap.EntrySetSupportsRemove) == false) { return;} @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6750 @LENGTH@ 94
|
||||
------INS InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false @TO@ IfStatement@@if ((this instanceof TestMap.EntrySetSupportsRemove) == false) { return;} @AT@ 6754 @LENGTH@ 57
|
||||
---------INS ParenthesizedExpression@@(this instanceof TestMap.EntrySetSupportsRemove) @TO@ InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false @AT@ 6754 @LENGTH@ 48
|
||||
------------INS InstanceofExpression@@this instanceof TestMap.EntrySetSupportsRemove @TO@ ParenthesizedExpression@@(this instanceof TestMap.EntrySetSupportsRemove) @AT@ 6755 @LENGTH@ 46
|
||||
---------------INS ThisExpression@@this @TO@ InstanceofExpression@@this instanceof TestMap.EntrySetSupportsRemove @AT@ 6755 @LENGTH@ 4
|
||||
---------------INS Instanceof@@instanceof @TO@ InstanceofExpression@@this instanceof TestMap.EntrySetSupportsRemove @AT@ 6760 @LENGTH@ 10
|
||||
---------------INS SimpleType@@TestMap.EntrySetSupportsRemove @TO@ InstanceofExpression@@this instanceof TestMap.EntrySetSupportsRemove @AT@ 6771 @LENGTH@ 30
|
||||
---------INS Operator@@== @TO@ InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false @AT@ 6802 @LENGTH@ 2
|
||||
---------INS BooleanLiteral@@false @TO@ InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false @AT@ 6806 @LENGTH@ 5
|
||||
------INS Block@@ThenBody:{ return;} @TO@ IfStatement@@if ((this instanceof TestMap.EntrySetSupportsRemove) == false) { return;} @AT@ 6813 @LENGTH@ 31
|
||||
---------INS ReturnStatement@@ @TO@ Block@@ThenBody:{ return;} @AT@ 6827 @LENGTH@ 7
|
||||
---INS VariableDeclarationStatement@@Map map=makeMap(); @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6854 @LENGTH@ 20
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@Map map=makeMap(); @AT@ 6854 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@map=makeMap() @TO@ VariableDeclarationStatement@@Map map=makeMap(); @AT@ 6858 @LENGTH@ 15
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=makeMap() @AT@ 6858 @LENGTH@ 3
|
||||
---------INS MethodInvocation@@MethodName:makeMap:[] @TO@ VariableDeclarationFragment@@map=makeMap() @AT@ 6864 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("1","1") @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6883 @LENGTH@ 17
|
||||
------INS MethodInvocation@@map.put("1","1") @TO@ ExpressionStatement@@MethodInvocation:map.put("1","1") @AT@ 6883 @LENGTH@ 16
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("1","1") @AT@ 6883 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["1", "1"] @TO@ MethodInvocation@@map.put("1","1") @AT@ 6887 @LENGTH@ 12
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 6891 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 6895 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("2","2") @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6909 @LENGTH@ 17
|
||||
------INS MethodInvocation@@map.put("2","2") @TO@ ExpressionStatement@@MethodInvocation:map.put("2","2") @AT@ 6909 @LENGTH@ 16
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("2","2") @AT@ 6909 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["2", "2"] @TO@ MethodInvocation@@map.put("2","2") @AT@ 6913 @LENGTH@ 12
|
||||
------------INS StringLiteral@@"2" @TO@ SimpleName@@MethodName:put:["2", "2"] @AT@ 6917 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"2" @TO@ SimpleName@@MethodName:put:["2", "2"] @AT@ 6921 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("3","3") @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6935 @LENGTH@ 17
|
||||
------INS MethodInvocation@@map.put("3","3") @TO@ ExpressionStatement@@MethodInvocation:map.put("3","3") @AT@ 6935 @LENGTH@ 16
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("3","3") @AT@ 6935 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["3", "3"] @TO@ MethodInvocation@@map.put("3","3") @AT@ 6939 @LENGTH@ 12
|
||||
------------INS StringLiteral@@"3" @TO@ SimpleName@@MethodName:put:["3", "3"] @AT@ 6943 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"3" @TO@ SimpleName@@MethodName:put:["3", "3"] @AT@ 6947 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@Object o=map.entrySet().iterator().next(); @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 6962 @LENGTH@ 44
|
||||
------INS SimpleType@@Object @TO@ VariableDeclarationStatement@@Object o=map.entrySet().iterator().next(); @AT@ 6962 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@o=map.entrySet().iterator().next() @TO@ VariableDeclarationStatement@@Object o=map.entrySet().iterator().next(); @AT@ 6969 @LENGTH@ 36
|
||||
---------INS SimpleName@@o @TO@ VariableDeclarationFragment@@o=map.entrySet().iterator().next() @AT@ 6969 @LENGTH@ 1
|
||||
---------INS MethodInvocation@@map.entrySet().iterator().next() @TO@ VariableDeclarationFragment@@o=map.entrySet().iterator().next() @AT@ 6973 @LENGTH@ 32
|
||||
------------INS MethodInvocation@@MethodName:iterator:[] @TO@ MethodInvocation@@map.entrySet().iterator().next() @AT@ 6973 @LENGTH@ 25
|
||||
------------INS MethodInvocation@@MethodName:entrySet:[] @TO@ MethodInvocation@@map.entrySet().iterator().next() @AT@ 6973 @LENGTH@ 14
|
||||
------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.entrySet().iterator().next() @AT@ 6973 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@map.entrySet().iterator().next() @AT@ 6999 @LENGTH@ 6
|
||||
---INS VariableDeclarationStatement@@Set set=map.entrySet(); @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 7060 @LENGTH@ 25
|
||||
------INS SimpleType@@Set @TO@ VariableDeclarationStatement@@Set set=map.entrySet(); @AT@ 7060 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@set=map.entrySet() @TO@ VariableDeclarationStatement@@Set set=map.entrySet(); @AT@ 7064 @LENGTH@ 20
|
||||
---------INS SimpleName@@set @TO@ VariableDeclarationFragment@@set=map.entrySet() @AT@ 7064 @LENGTH@ 3
|
||||
---------INS MethodInvocation@@map.entrySet() @TO@ VariableDeclarationFragment@@set=map.entrySet() @AT@ 7070 @LENGTH@ 14
|
||||
------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.entrySet() @AT@ 7070 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:entrySet:[] @TO@ MethodInvocation@@map.entrySet() @AT@ 7074 @LENGTH@ 10
|
||||
---INS ExpressionStatement@@MethodInvocation:set.remove(o) @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 7094 @LENGTH@ 14
|
||||
------INS MethodInvocation@@set.remove(o) @TO@ ExpressionStatement@@MethodInvocation:set.remove(o) @AT@ 7094 @LENGTH@ 13
|
||||
---------INS SimpleName@@Name:set @TO@ MethodInvocation@@set.remove(o) @AT@ 7094 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:remove:[o] @TO@ MethodInvocation@@set.remove(o) @AT@ 7098 @LENGTH@ 9
|
||||
------------INS SimpleName@@o @TO@ SimpleName@@MethodName:remove:[o] @AT@ 7105 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue(set.size() == 2) @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 7117 @LENGTH@ 28
|
||||
------INS MethodInvocation@@assertTrue(set.size() == 2) @TO@ ExpressionStatement@@MethodInvocation:assertTrue(set.size() == 2) @AT@ 7117 @LENGTH@ 27
|
||||
---------INS SimpleName@@MethodName:assertTrue:[set.size() == 2] @TO@ MethodInvocation@@assertTrue(set.size() == 2) @AT@ 7117 @LENGTH@ 27
|
||||
------------INS InfixExpression@@set.size() == 2 @TO@ SimpleName@@MethodName:assertTrue:[set.size() == 2] @AT@ 7128 @LENGTH@ 15
|
||||
---------------INS MethodInvocation@@set.size() @TO@ InfixExpression@@set.size() == 2 @AT@ 7128 @LENGTH@ 10
|
||||
------------------INS SimpleName@@Name:set @TO@ MethodInvocation@@set.size() @AT@ 7128 @LENGTH@ 3
|
||||
------------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@set.size() @AT@ 7132 @LENGTH@ 6
|
||||
---------------INS Operator@@== @TO@ InfixExpression@@set.size() == 2 @AT@ 7138 @LENGTH@ 2
|
||||
---------------INS NumberLiteral@@2 @TO@ InfixExpression@@set.size() == 2 @AT@ 7142 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:set.remove(o) @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 7257 @LENGTH@ 14
|
||||
------INS MethodInvocation@@set.remove(o) @TO@ ExpressionStatement@@MethodInvocation:set.remove(o) @AT@ 7257 @LENGTH@ 13
|
||||
---------INS SimpleName@@Name:set @TO@ MethodInvocation@@set.remove(o) @AT@ 7257 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:remove:[o] @TO@ MethodInvocation@@set.remove(o) @AT@ 7261 @LENGTH@ 9
|
||||
------------INS SimpleName@@o @TO@ SimpleName@@MethodName:remove:[o] @AT@ 7268 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue("size of Map should be 2, but was " + map.size(),map.size() == 2) @TO@ MethodDeclaration@@public, void, MethodName:testEntrySetRemove, @AT@ 7281 @LENGTH@ 78
|
||||
------INS MethodInvocation@@assertTrue("size of Map should be 2, but was " + map.size(),map.size() == 2) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("size of Map should be 2, but was " + map.size(),map.size() == 2) @AT@ 7281 @LENGTH@ 77
|
||||
---------INS SimpleName@@MethodName:assertTrue:["size of Map should be 2, but was " + map.size(), map.size() == 2] @TO@ MethodInvocation@@assertTrue("size of Map should be 2, but was " + map.size(),map.size() == 2) @AT@ 7281 @LENGTH@ 77
|
||||
------------INS InfixExpression@@"size of Map should be 2, but was " + map.size() @TO@ SimpleName@@MethodName:assertTrue:["size of Map should be 2, but was " + map.size(), map.size() == 2] @AT@ 7292 @LENGTH@ 48
|
||||
---------------INS StringLiteral@@"size of Map should be 2, but was " @TO@ InfixExpression@@"size of Map should be 2, but was " + map.size() @AT@ 7292 @LENGTH@ 35
|
||||
---------------INS Operator@@+ @TO@ InfixExpression@@"size of Map should be 2, but was " + map.size() @AT@ 7327 @LENGTH@ 1
|
||||
---------------INS MethodInvocation@@map.size() @TO@ InfixExpression@@"size of Map should be 2, but was " + map.size() @AT@ 7330 @LENGTH@ 10
|
||||
------------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 7330 @LENGTH@ 3
|
||||
------------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 7334 @LENGTH@ 6
|
||||
------------INS InfixExpression@@map.size() == 2 @TO@ SimpleName@@MethodName:assertTrue:["size of Map should be 2, but was " + map.size(), map.size() == 2] @AT@ 7342 @LENGTH@ 15
|
||||
---------------INS MethodInvocation@@map.size() @TO@ InfixExpression@@map.size() == 2 @AT@ 7342 @LENGTH@ 10
|
||||
------------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 7342 @LENGTH@ 3
|
||||
------------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 7346 @LENGTH@ 6
|
||||
---------------INS Operator@@== @TO@ InfixExpression@@map.size() == 2 @AT@ 7352 @LENGTH@ 2
|
||||
---------------INS NumberLiteral@@2 @TO@ InfixExpression@@map.size() == 2 @AT@ 7356 @LENGTH@ 1
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testBeanMapClone, @TO@ TypeDeclaration@@[public]TestBeanMap, TestMap @AT@ 8817 @LENGTH@ 741
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testBeanMapClone, @AT@ 8817 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testBeanMapClone, @AT@ 8824 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testBeanMapClone @TO@ MethodDeclaration@@public, void, MethodName:testBeanMapClone, @AT@ 8829 @LENGTH@ 16
|
||||
---INS VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @TO@ MethodDeclaration@@public, void, MethodName:testBeanMapClone, @AT@ 8858 @LENGTH@ 37
|
||||
------INS SimpleType@@BeanMap @TO@ VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @AT@ 8858 @LENGTH@ 7
|
||||
------INS VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @TO@ VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @AT@ 8866 @LENGTH@ 28
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @AT@ 8866 @LENGTH@ 3
|
||||
---------INS CastExpression@@(BeanMap)makeFullMap() @TO@ VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @AT@ 8872 @LENGTH@ 22
|
||||
------------INS SimpleType@@BeanMap @TO@ CastExpression@@(BeanMap)makeFullMap() @AT@ 8873 @LENGTH@ 7
|
||||
------------INS MethodInvocation@@MethodName:makeFullMap:[] @TO@ CastExpression@@(BeanMap)makeFullMap() @AT@ 8881 @LENGTH@ 13
|
||||
---INS TryStatement@@try { BeanMap map2=(BeanMap)((BeanMap)map).clone(); Object[] keys=getSampleKeys(); for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])); }} catch (CloneNotSupportedException exception) { fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.");} @TO@ MethodDeclaration@@public, void, MethodName:testBeanMapClone, @AT@ 8904 @LENGTH@ 648
|
||||
------INS VariableDeclarationStatement@@BeanMap map2=(BeanMap)((BeanMap)map).clone(); @TO@ TryStatement@@try { BeanMap map2=(BeanMap)((BeanMap)map).clone(); Object[] keys=getSampleKeys(); for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])); }} catch (CloneNotSupportedException exception) { fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.");} @AT@ 8922 @LENGTH@ 47
|
||||
---------INS SimpleType@@BeanMap @TO@ VariableDeclarationStatement@@BeanMap map2=(BeanMap)((BeanMap)map).clone(); @AT@ 8922 @LENGTH@ 7
|
||||
---------INS VariableDeclarationFragment@@map2=(BeanMap)((BeanMap)map).clone() @TO@ VariableDeclarationStatement@@BeanMap map2=(BeanMap)((BeanMap)map).clone(); @AT@ 8930 @LENGTH@ 38
|
||||
------------INS SimpleName@@map2 @TO@ VariableDeclarationFragment@@map2=(BeanMap)((BeanMap)map).clone() @AT@ 8930 @LENGTH@ 4
|
||||
------------INS CastExpression@@(BeanMap)((BeanMap)map).clone() @TO@ VariableDeclarationFragment@@map2=(BeanMap)((BeanMap)map).clone() @AT@ 8937 @LENGTH@ 31
|
||||
---------------INS SimpleType@@BeanMap @TO@ CastExpression@@(BeanMap)((BeanMap)map).clone() @AT@ 8938 @LENGTH@ 7
|
||||
---------------INS MethodInvocation@@((BeanMap)map).clone() @TO@ CastExpression@@(BeanMap)((BeanMap)map).clone() @AT@ 8946 @LENGTH@ 22
|
||||
------------------INS ParenthesizedExpression@@((BeanMap)map) @TO@ MethodInvocation@@((BeanMap)map).clone() @AT@ 8946 @LENGTH@ 14
|
||||
---------------------INS CastExpression@@(BeanMap)map @TO@ ParenthesizedExpression@@((BeanMap)map) @AT@ 8947 @LENGTH@ 12
|
||||
------------------------INS SimpleType@@BeanMap @TO@ CastExpression@@(BeanMap)map @AT@ 8948 @LENGTH@ 7
|
||||
------------------------INS SimpleName@@map @TO@ CastExpression@@(BeanMap)map @AT@ 8956 @LENGTH@ 3
|
||||
------------------INS SimpleName@@MethodName:clone:[] @TO@ MethodInvocation@@((BeanMap)map).clone() @AT@ 8961 @LENGTH@ 7
|
||||
------INS VariableDeclarationStatement@@Object[] keys=getSampleKeys(); @TO@ TryStatement@@try { BeanMap map2=(BeanMap)((BeanMap)map).clone(); Object[] keys=getSampleKeys(); for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])); }} catch (CloneNotSupportedException exception) { fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.");} @AT@ 9127 @LENGTH@ 32
|
||||
---------INS ArrayType@@Object[] @TO@ VariableDeclarationStatement@@Object[] keys=getSampleKeys(); @AT@ 9127 @LENGTH@ 8
|
||||
------------INS SimpleType@@Object @TO@ ArrayType@@Object[] @AT@ 9127 @LENGTH@ 6
|
||||
---------INS VariableDeclarationFragment@@keys=getSampleKeys() @TO@ VariableDeclarationStatement@@Object[] keys=getSampleKeys(); @AT@ 9136 @LENGTH@ 22
|
||||
------------INS SimpleName@@keys @TO@ VariableDeclarationFragment@@keys=getSampleKeys() @AT@ 9136 @LENGTH@ 4
|
||||
------------INS MethodInvocation@@MethodName:getSampleKeys:[] @TO@ VariableDeclarationFragment@@keys=getSampleKeys() @AT@ 9143 @LENGTH@ 15
|
||||
------INS ForStatement@@for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i]));} @TO@ TryStatement@@try { BeanMap map2=(BeanMap)((BeanMap)map).clone(); Object[] keys=getSampleKeys(); for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])); }} catch (CloneNotSupportedException exception) { fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.");} @AT@ 9172 @LENGTH@ 181
|
||||
---------INS VariableDeclarationExpression@@int i=0 @TO@ ForStatement@@for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i]));} @AT@ 9176 @LENGTH@ 9
|
||||
------------INS PrimitiveType@@int @TO@ VariableDeclarationExpression@@int i=0 @AT@ 9176 @LENGTH@ 3
|
||||
------------INS VariableDeclarationFragment@@i=0 @TO@ VariableDeclarationExpression@@int i=0 @AT@ 9180 @LENGTH@ 5
|
||||
---------------INS SimpleName@@i @TO@ VariableDeclarationFragment@@i=0 @AT@ 9180 @LENGTH@ 1
|
||||
---------------INS NumberLiteral@@0 @TO@ VariableDeclarationFragment@@i=0 @AT@ 9184 @LENGTH@ 1
|
||||
---------INS InfixExpression@@i < keys.length @TO@ ForStatement@@for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i]));} @AT@ 9187 @LENGTH@ 15
|
||||
------------INS SimpleName@@i @TO@ InfixExpression@@i < keys.length @AT@ 9187 @LENGTH@ 1
|
||||
------------INS Operator@@< @TO@ InfixExpression@@i < keys.length @AT@ 9188 @LENGTH@ 1
|
||||
------------INS QualifiedName@@keys.length @TO@ InfixExpression@@i < keys.length @AT@ 9191 @LENGTH@ 11
|
||||
---------------INS SimpleName@@keys @TO@ QualifiedName@@keys.length @AT@ 9191 @LENGTH@ 4
|
||||
---------------INS SimpleName@@length @TO@ QualifiedName@@keys.length @AT@ 9196 @LENGTH@ 6
|
||||
---------INS PostfixExpression@@i++ @TO@ ForStatement@@for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i]));} @AT@ 9204 @LENGTH@ 3
|
||||
------------INS SimpleName@@i @TO@ PostfixExpression@@i++ @AT@ 9204 @LENGTH@ 1
|
||||
------------INS Operator@@++ @TO@ PostfixExpression@@i++ @AT@ 9206 @LENGTH@ 2
|
||||
---------INS ExpressionStatement@@MethodInvocation:assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])) @TO@ ForStatement@@for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i]));} @AT@ 9227 @LENGTH@ 112
|
||||
------------INS MethodInvocation@@assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])) @AT@ 9227 @LENGTH@ 111
|
||||
---------------INS SimpleName@@MethodName:assertTrue:["Cloned BeanMap should contain the same keys", map2.containsKey(keys[i])] @TO@ MethodInvocation@@assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])) @AT@ 9227 @LENGTH@ 111
|
||||
------------------INS StringLiteral@@"Cloned BeanMap should contain the same keys" @TO@ SimpleName@@MethodName:assertTrue:["Cloned BeanMap should contain the same keys", map2.containsKey(keys[i])] @AT@ 9238 @LENGTH@ 45
|
||||
------------------INS MethodInvocation@@map2.containsKey(keys[i]) @TO@ SimpleName@@MethodName:assertTrue:["Cloned BeanMap should contain the same keys", map2.containsKey(keys[i])] @AT@ 9312 @LENGTH@ 25
|
||||
---------------------INS SimpleName@@Name:map2 @TO@ MethodInvocation@@map2.containsKey(keys[i]) @AT@ 9312 @LENGTH@ 4
|
||||
---------------------INS SimpleName@@MethodName:containsKey:[keys[i]] @TO@ MethodInvocation@@map2.containsKey(keys[i]) @AT@ 9317 @LENGTH@ 20
|
||||
------------------------INS ArrayAccess@@keys[i] @TO@ SimpleName@@MethodName:containsKey:[keys[i]] @AT@ 9329 @LENGTH@ 7
|
||||
---------------------------INS SimpleName@@keys @TO@ ArrayAccess@@keys[i] @AT@ 9329 @LENGTH@ 4
|
||||
---------------------------INS SimpleName@@i @TO@ ArrayAccess@@keys[i] @AT@ 9334 @LENGTH@ 1
|
||||
------INS CatchClause@@catch (CloneNotSupportedException exception) { fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.");} @TO@ TryStatement@@try { BeanMap map2=(BeanMap)((BeanMap)map).clone(); Object[] keys=getSampleKeys(); for (int i=0; i < keys.length; i++) { assertTrue("Cloned BeanMap should contain the same keys",map2.containsKey(keys[i])); }} catch (CloneNotSupportedException exception) { fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.");} @AT@ 9364 @LENGTH@ 188
|
||||
---------INS SingleVariableDeclaration@@CloneNotSupportedException exception @TO@ CatchClause@@catch (CloneNotSupportedException exception) { fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.");} @AT@ 9371 @LENGTH@ 36
|
||||
------------INS SimpleType@@CloneNotSupportedException @TO@ SingleVariableDeclaration@@CloneNotSupportedException exception @AT@ 9371 @LENGTH@ 26
|
||||
------------INS SimpleName@@exception @TO@ SingleVariableDeclaration@@CloneNotSupportedException exception @AT@ 9398 @LENGTH@ 9
|
||||
---------INS ExpressionStatement@@MethodInvocation:fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.") @TO@ CatchClause@@catch (CloneNotSupportedException exception) { fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.");} @AT@ 9423 @LENGTH@ 119
|
||||
------------INS MethodInvocation@@fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.") @TO@ ExpressionStatement@@MethodInvocation:fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.") @AT@ 9423 @LENGTH@ 118
|
||||
---------------INS SimpleName@@MethodName:fail:["BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed."] @TO@ MethodInvocation@@fail("BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed.") @AT@ 9423 @LENGTH@ 118
|
||||
------------------INS InfixExpression@@"BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed." @TO@ SimpleName@@MethodName:fail:["BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed."] @AT@ 9428 @LENGTH@ 112
|
||||
---------------------INS StringLiteral@@"BeanMap.clone() should not throw a " @TO@ InfixExpression@@"BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed." @AT@ 9428 @LENGTH@ 37
|
||||
---------------------INS Operator@@+ @TO@ InfixExpression@@"BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed." @AT@ 9465 @LENGTH@ 1
|
||||
---------------------INS StringLiteral@@"CloneNotSupportedException when clone should succeed." @TO@ InfixExpression@@"BeanMap.clone() should not throw a " + "CloneNotSupportedException when clone should succeed." @AT@ 9485 @LENGTH@ 55
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, boolean, MethodName:useNullKey, @TO@ TypeDeclaration@@[public]TestFastTreeMap, TestTreeMap @AT@ 3875 @LENGTH@ 55
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, boolean, MethodName:useNullKey, @AT@ 3875 @LENGTH@ 6
|
||||
---INS PrimitiveType@@boolean @TO@ MethodDeclaration@@public, boolean, MethodName:useNullKey, @AT@ 3882 @LENGTH@ 7
|
||||
---INS SimpleName@@MethodName:useNullKey @TO@ MethodDeclaration@@public, boolean, MethodName:useNullKey, @AT@ 3890 @LENGTH@ 10
|
||||
---INS ReturnStatement@@BooleanLiteral:false @TO@ MethodDeclaration@@public, boolean, MethodName:useNullKey, @AT@ 3911 @LENGTH@ 13
|
||||
------INS BooleanLiteral@@false @TO@ ReturnStatement@@BooleanLiteral:false @AT@ 3918 @LENGTH@ 5
|
||||
|
||||
|
||||
INS IfStatement@@if (!containsKey(key)) return null; @TO@ MethodDeclaration@@public, Object, MethodName:get, Object key, @AT@ 5397 @LENGTH@ 34
|
||||
---INS PrefixExpression@@!containsKey(key) @TO@ IfStatement@@if (!containsKey(key)) return null; @AT@ 5400 @LENGTH@ 17
|
||||
------INS Operator@@! @TO@ PrefixExpression@@!containsKey(key) @AT@ 5400 @LENGTH@ 1
|
||||
------INS MethodInvocation@@containsKey(key) @TO@ PrefixExpression@@!containsKey(key) @AT@ 5401 @LENGTH@ 16
|
||||
---------INS SimpleName@@MethodName:containsKey:[key] @TO@ MethodInvocation@@containsKey(key) @AT@ 5401 @LENGTH@ 16
|
||||
------------INS SimpleName@@key @TO@ SimpleName@@MethodName:containsKey:[key] @AT@ 5413 @LENGTH@ 3
|
||||
---INS Block@@ThenBody:return null; @TO@ IfStatement@@if (!containsKey(key)) return null; @AT@ 5419 @LENGTH@ 12
|
||||
------INS ReturnStatement@@NullLiteral:null @TO@ Block@@ThenBody:return null; @AT@ 5419 @LENGTH@ 12
|
||||
---------INS NullLiteral@@null @TO@ ReturnStatement@@NullLiteral:null @AT@ 5426 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD IfStatement@@if (!setNextObject()) { return false;} @TO@ if (!setNextObject()) { return false;} else { clearNextObject();} @AT@ 6731 @LENGTH@ 66
|
||||
---INS Block@@ElseBody:{ clearNextObject();} @TO@ IfStatement@@if (!setNextObject()) { return false;} @AT@ 6803 @LENGTH@ 50
|
||||
------INS ExpressionStatement@@MethodInvocation:clearNextObject() @TO@ Block@@ElseBody:{ clearNextObject();} @AT@ 6821 @LENGTH@ 18
|
||||
---------INS MethodInvocation@@MethodName:clearNextObject:[] @TO@ ExpressionStatement@@MethodInvocation:clearNextObject() @AT@ 6821 @LENGTH@ 17
|
||||
|
||||
|
||||
UPD IfStatement@@if ((this instanceof TestMap.EntrySetSupportsRemove) == false) { return;} @TO@ if ((this instanceof TestMap.EntrySetSupportsRemove) == false || (this instanceof TestMap.SupportsPut) == false) { return;} @AT@ 6750 @LENGTH@ 94
|
||||
---INS InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false || (this instanceof TestMap.SupportsPut) == false @TO@ IfStatement@@if ((this instanceof TestMap.EntrySetSupportsRemove) == false) { return;} @AT@ 6754 @LENGTH@ 119
|
||||
------MOV InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false @TO@ InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false || (this instanceof TestMap.SupportsPut) == false @AT@ 6754 @LENGTH@ 57
|
||||
------INS Operator@@|| @TO@ InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false || (this instanceof TestMap.SupportsPut) == false @AT@ 6811 @LENGTH@ 2
|
||||
------INS InfixExpression@@(this instanceof TestMap.SupportsPut) == false @TO@ InfixExpression@@(this instanceof TestMap.EntrySetSupportsRemove) == false || (this instanceof TestMap.SupportsPut) == false @AT@ 6827 @LENGTH@ 46
|
||||
---------INS ParenthesizedExpression@@(this instanceof TestMap.SupportsPut) @TO@ InfixExpression@@(this instanceof TestMap.SupportsPut) == false @AT@ 6827 @LENGTH@ 37
|
||||
------------INS InstanceofExpression@@this instanceof TestMap.SupportsPut @TO@ ParenthesizedExpression@@(this instanceof TestMap.SupportsPut) @AT@ 6828 @LENGTH@ 35
|
||||
---------------INS ThisExpression@@this @TO@ InstanceofExpression@@this instanceof TestMap.SupportsPut @AT@ 6828 @LENGTH@ 4
|
||||
---------------INS Instanceof@@instanceof @TO@ InstanceofExpression@@this instanceof TestMap.SupportsPut @AT@ 6833 @LENGTH@ 10
|
||||
---------------INS SimpleType@@TestMap.SupportsPut @TO@ InstanceofExpression@@this instanceof TestMap.SupportsPut @AT@ 6844 @LENGTH@ 19
|
||||
---------INS Operator@@== @TO@ InfixExpression@@(this instanceof TestMap.SupportsPut) == false @AT@ 6864 @LENGTH@ 2
|
||||
---------INS BooleanLiteral@@false @TO@ InfixExpression@@(this instanceof TestMap.SupportsPut) == false @AT@ 6868 @LENGTH@ 5
|
||||
|
||||
|
||||
DEL MethodDeclaration@@public, Map, MethodName:makeEmptyMap, @AT@ 3550 @LENGTH@ 90
|
||||
---DEL Modifier@@public @AT@ 3550 @LENGTH@ 6
|
||||
---DEL SimpleType@@Map @AT@ 3557 @LENGTH@ 3
|
||||
---DEL SimpleName@@MethodName:makeEmptyMap @AT@ 3561 @LENGTH@ 12
|
||||
---DEL VariableDeclarationStatement@@TreeMap tm=new TreeMap(); @AT@ 3586 @LENGTH@ 27
|
||||
------DEL SimpleType@@TreeMap @AT@ 3586 @LENGTH@ 7
|
||||
------DEL VariableDeclarationFragment@@tm=new TreeMap() @AT@ 3594 @LENGTH@ 18
|
||||
---------DEL SimpleName@@tm @AT@ 3594 @LENGTH@ 2
|
||||
---------DEL ClassInstanceCreation@@TreeMap[] @AT@ 3599 @LENGTH@ 13
|
||||
------------DEL New@@new @AT@ 3599 @LENGTH@ 3
|
||||
------------DEL SimpleType@@TreeMap @AT@ 3603 @LENGTH@ 7
|
||||
---DEL ReturnStatement@@ParenthesizedExpression:(tm) @AT@ 3622 @LENGTH@ 12
|
||||
------DEL ParenthesizedExpression@@(tm) @AT@ 3629 @LENGTH@ 4
|
||||
---------DEL SimpleName@@tm @AT@ 3630 @LENGTH@ 2
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testRemoveLRU, @TO@ TypeDeclaration@@[public]TestLRUMap, TestHashMap @AT@ 3782 @LENGTH@ 474
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 3782 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 3789 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testRemoveLRU @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 3794 @LENGTH@ 13
|
||||
---INS VariableDeclarationStatement@@LRUMap map2=new LRUMap(4); @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 3820 @LENGTH@ 28
|
||||
------INS SimpleType@@LRUMap @TO@ VariableDeclarationStatement@@LRUMap map2=new LRUMap(4); @AT@ 3820 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@map2=new LRUMap(4) @TO@ VariableDeclarationStatement@@LRUMap map2=new LRUMap(4); @AT@ 3827 @LENGTH@ 20
|
||||
---------INS SimpleName@@map2 @TO@ VariableDeclarationFragment@@map2=new LRUMap(4) @AT@ 3827 @LENGTH@ 4
|
||||
---------INS ClassInstanceCreation@@LRUMap[4] @TO@ VariableDeclarationFragment@@map2=new LRUMap(4) @AT@ 3834 @LENGTH@ 13
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@LRUMap[4] @AT@ 3834 @LENGTH@ 3
|
||||
------------INS SimpleType@@LRUMap @TO@ ClassInstanceCreation@@LRUMap[4] @AT@ 3838 @LENGTH@ 6
|
||||
------------INS NumberLiteral@@4 @TO@ ClassInstanceCreation@@LRUMap[4] @AT@ 3845 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:map2.put(new Integer(1),"foo") @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 3857 @LENGTH@ 31
|
||||
------INS MethodInvocation@@map2.put(new Integer(1),"foo") @TO@ ExpressionStatement@@MethodInvocation:map2.put(new Integer(1),"foo") @AT@ 3857 @LENGTH@ 30
|
||||
---------INS SimpleName@@Name:map2 @TO@ MethodInvocation@@map2.put(new Integer(1),"foo") @AT@ 3857 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:put:[new Integer(1), "foo"] @TO@ MethodInvocation@@map2.put(new Integer(1),"foo") @AT@ 3862 @LENGTH@ 25
|
||||
------------INS ClassInstanceCreation@@Integer[1] @TO@ SimpleName@@MethodName:put:[new Integer(1), "foo"] @AT@ 3866 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[1] @AT@ 3866 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[1] @AT@ 3870 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@1 @TO@ ClassInstanceCreation@@Integer[1] @AT@ 3878 @LENGTH@ 1
|
||||
------------INS StringLiteral@@"foo" @TO@ SimpleName@@MethodName:put:[new Integer(1), "foo"] @AT@ 3881 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@MethodInvocation:map2.put(new Integer(2),"foo") @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 3897 @LENGTH@ 31
|
||||
------INS MethodInvocation@@map2.put(new Integer(2),"foo") @TO@ ExpressionStatement@@MethodInvocation:map2.put(new Integer(2),"foo") @AT@ 3897 @LENGTH@ 30
|
||||
---------INS SimpleName@@Name:map2 @TO@ MethodInvocation@@map2.put(new Integer(2),"foo") @AT@ 3897 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:put:[new Integer(2), "foo"] @TO@ MethodInvocation@@map2.put(new Integer(2),"foo") @AT@ 3902 @LENGTH@ 25
|
||||
------------INS ClassInstanceCreation@@Integer[2] @TO@ SimpleName@@MethodName:put:[new Integer(2), "foo"] @AT@ 3906 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[2] @AT@ 3906 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[2] @AT@ 3910 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@2 @TO@ ClassInstanceCreation@@Integer[2] @AT@ 3918 @LENGTH@ 1
|
||||
------------INS StringLiteral@@"foo" @TO@ SimpleName@@MethodName:put:[new Integer(2), "foo"] @AT@ 3921 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@MethodInvocation:map2.put(new Integer(3),"foo") @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 3937 @LENGTH@ 31
|
||||
------INS MethodInvocation@@map2.put(new Integer(3),"foo") @TO@ ExpressionStatement@@MethodInvocation:map2.put(new Integer(3),"foo") @AT@ 3937 @LENGTH@ 30
|
||||
---------INS SimpleName@@Name:map2 @TO@ MethodInvocation@@map2.put(new Integer(3),"foo") @AT@ 3937 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:put:[new Integer(3), "foo"] @TO@ MethodInvocation@@map2.put(new Integer(3),"foo") @AT@ 3942 @LENGTH@ 25
|
||||
------------INS ClassInstanceCreation@@Integer[3] @TO@ SimpleName@@MethodName:put:[new Integer(3), "foo"] @AT@ 3946 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[3] @AT@ 3946 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[3] @AT@ 3950 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@3 @TO@ ClassInstanceCreation@@Integer[3] @AT@ 3958 @LENGTH@ 1
|
||||
------------INS StringLiteral@@"foo" @TO@ SimpleName@@MethodName:put:[new Integer(3), "foo"] @AT@ 3961 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@MethodInvocation:map2.put(new Integer(4),"foo") @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 3977 @LENGTH@ 31
|
||||
------INS MethodInvocation@@map2.put(new Integer(4),"foo") @TO@ ExpressionStatement@@MethodInvocation:map2.put(new Integer(4),"foo") @AT@ 3977 @LENGTH@ 30
|
||||
---------INS SimpleName@@Name:map2 @TO@ MethodInvocation@@map2.put(new Integer(4),"foo") @AT@ 3977 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:put:[new Integer(4), "foo"] @TO@ MethodInvocation@@map2.put(new Integer(4),"foo") @AT@ 3982 @LENGTH@ 25
|
||||
------------INS ClassInstanceCreation@@Integer[4] @TO@ SimpleName@@MethodName:put:[new Integer(4), "foo"] @AT@ 3986 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[4] @AT@ 3986 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[4] @AT@ 3990 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@4 @TO@ ClassInstanceCreation@@Integer[4] @AT@ 3998 @LENGTH@ 1
|
||||
------------INS StringLiteral@@"foo" @TO@ SimpleName@@MethodName:put:[new Integer(4), "foo"] @AT@ 4001 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@MethodInvocation:map2.removeLRU() @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 4017 @LENGTH@ 17
|
||||
------INS MethodInvocation@@map2.removeLRU() @TO@ ExpressionStatement@@MethodInvocation:map2.removeLRU() @AT@ 4017 @LENGTH@ 16
|
||||
---------INS SimpleName@@Name:map2 @TO@ MethodInvocation@@map2.removeLRU() @AT@ 4017 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:removeLRU:[] @TO@ MethodInvocation@@map2.removeLRU() @AT@ 4022 @LENGTH@ 11
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue("Second to last value should exist",map2.get(new Integer(3)).equals("foo")) @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 4069 @LENGTH@ 87
|
||||
------INS MethodInvocation@@assertTrue("Second to last value should exist",map2.get(new Integer(3)).equals("foo")) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("Second to last value should exist",map2.get(new Integer(3)).equals("foo")) @AT@ 4069 @LENGTH@ 86
|
||||
---------INS SimpleName@@MethodName:assertTrue:["Second to last value should exist", map2.get(new Integer(3)).equals("foo")] @TO@ MethodInvocation@@assertTrue("Second to last value should exist",map2.get(new Integer(3)).equals("foo")) @AT@ 4069 @LENGTH@ 86
|
||||
------------INS StringLiteral@@"Second to last value should exist" @TO@ SimpleName@@MethodName:assertTrue:["Second to last value should exist", map2.get(new Integer(3)).equals("foo")] @AT@ 4080 @LENGTH@ 35
|
||||
------------INS MethodInvocation@@map2.get(new Integer(3)).equals("foo") @TO@ SimpleName@@MethodName:assertTrue:["Second to last value should exist", map2.get(new Integer(3)).equals("foo")] @AT@ 4116 @LENGTH@ 38
|
||||
---------------INS MethodInvocation@@MethodName:get:[new Integer(3)] @TO@ MethodInvocation@@map2.get(new Integer(3)).equals("foo") @AT@ 4116 @LENGTH@ 24
|
||||
------------------INS ClassInstanceCreation@@Integer[3] @TO@ MethodInvocation@@MethodName:get:[new Integer(3)] @AT@ 4125 @LENGTH@ 14
|
||||
---------------------INS New@@new @TO@ ClassInstanceCreation@@Integer[3] @AT@ 4125 @LENGTH@ 3
|
||||
---------------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[3] @AT@ 4129 @LENGTH@ 7
|
||||
---------------------INS NumberLiteral@@3 @TO@ ClassInstanceCreation@@Integer[3] @AT@ 4137 @LENGTH@ 1
|
||||
---------------INS SimpleName@@Name:map2 @TO@ MethodInvocation@@map2.get(new Integer(3)).equals("foo") @AT@ 4116 @LENGTH@ 4
|
||||
---------------INS SimpleName@@MethodName:equals:["foo"] @TO@ MethodInvocation@@map2.get(new Integer(3)).equals("foo") @AT@ 4141 @LENGTH@ 13
|
||||
------------------INS StringLiteral@@"foo" @TO@ SimpleName@@MethodName:equals:["foo"] @AT@ 4148 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue("Last value inserted should not exist",map2.get(new Integer(4)) == null) @TO@ MethodDeclaration@@public, void, MethodName:testRemoveLRU, @AT@ 4165 @LENGTH@ 85
|
||||
------INS MethodInvocation@@assertTrue("Last value inserted should not exist",map2.get(new Integer(4)) == null) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("Last value inserted should not exist",map2.get(new Integer(4)) == null) @AT@ 4165 @LENGTH@ 84
|
||||
---------INS SimpleName@@MethodName:assertTrue:["Last value inserted should not exist", map2.get(new Integer(4)) == null] @TO@ MethodInvocation@@assertTrue("Last value inserted should not exist",map2.get(new Integer(4)) == null) @AT@ 4165 @LENGTH@ 84
|
||||
------------INS StringLiteral@@"Last value inserted should not exist" @TO@ SimpleName@@MethodName:assertTrue:["Last value inserted should not exist", map2.get(new Integer(4)) == null] @AT@ 4176 @LENGTH@ 38
|
||||
------------INS InfixExpression@@map2.get(new Integer(4)) == null @TO@ SimpleName@@MethodName:assertTrue:["Last value inserted should not exist", map2.get(new Integer(4)) == null] @AT@ 4216 @LENGTH@ 32
|
||||
---------------INS MethodInvocation@@map2.get(new Integer(4)) @TO@ InfixExpression@@map2.get(new Integer(4)) == null @AT@ 4216 @LENGTH@ 24
|
||||
------------------INS SimpleName@@Name:map2 @TO@ MethodInvocation@@map2.get(new Integer(4)) @AT@ 4216 @LENGTH@ 4
|
||||
------------------INS SimpleName@@MethodName:get:[new Integer(4)] @TO@ MethodInvocation@@map2.get(new Integer(4)) @AT@ 4221 @LENGTH@ 19
|
||||
---------------------INS ClassInstanceCreation@@Integer[4] @TO@ SimpleName@@MethodName:get:[new Integer(4)] @AT@ 4225 @LENGTH@ 14
|
||||
------------------------INS New@@new @TO@ ClassInstanceCreation@@Integer[4] @AT@ 4225 @LENGTH@ 3
|
||||
------------------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[4] @AT@ 4229 @LENGTH@ 7
|
||||
------------------------INS NumberLiteral@@4 @TO@ ClassInstanceCreation@@Integer[4] @AT@ 4237 @LENGTH@ 1
|
||||
---------------INS Operator@@== @TO@ InfixExpression@@map2.get(new Integer(4)) == null @AT@ 4240 @LENGTH@ 2
|
||||
---------------INS NullLiteral@@null @TO@ InfixExpression@@map2.get(new Integer(4)) == null @AT@ 4244 @LENGTH@ 4
|
||||
|
||||
|
||||
DEL MethodDeclaration@@public, List, MethodName:makeEmptyList, @AT@ 3769 @LENGTH@ 100
|
||||
---DEL Modifier@@public @AT@ 3769 @LENGTH@ 6
|
||||
---DEL SimpleType@@List @AT@ 3776 @LENGTH@ 4
|
||||
---DEL SimpleName@@MethodName:makeEmptyList @AT@ 3781 @LENGTH@ 13
|
||||
---DEL VariableDeclarationStatement@@ArrayList al=new ArrayList(); @AT@ 3811 @LENGTH@ 31
|
||||
------DEL SimpleType@@ArrayList @AT@ 3811 @LENGTH@ 9
|
||||
------DEL VariableDeclarationFragment@@al=new ArrayList() @AT@ 3821 @LENGTH@ 20
|
||||
---------DEL SimpleName@@al @AT@ 3821 @LENGTH@ 2
|
||||
---------DEL ClassInstanceCreation@@ArrayList[] @AT@ 3826 @LENGTH@ 15
|
||||
------------DEL New@@new @AT@ 3826 @LENGTH@ 3
|
||||
------------DEL SimpleType@@ArrayList @AT@ 3830 @LENGTH@ 9
|
||||
---DEL ReturnStatement@@ParenthesizedExpression:(al) @AT@ 3851 @LENGTH@ 12
|
||||
------DEL ParenthesizedExpression@@(al) @AT@ 3858 @LENGTH@ 4
|
||||
---------DEL SimpleName@@al @AT@ 3859 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:map=(HashMap)makeMap() @TO@ Assignment:map=(HashMap)makeEmptyMap() @AT@ 3816 @LENGTH@ 26
|
||||
---UPD Assignment@@map=(HashMap)makeMap() @TO@ map=(HashMap)makeEmptyMap() @AT@ 3816 @LENGTH@ 25
|
||||
------UPD CastExpression@@(HashMap)makeMap() @TO@ (HashMap)makeEmptyMap() @AT@ 3822 @LENGTH@ 19
|
||||
---------UPD MethodInvocation@@MethodName:makeMap:[] @TO@ MethodName:makeEmptyMap:[] @AT@ 3832 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, Map, MethodName:makeMap, @TO@ public, Map, MethodName:makeEmptyMap, @AT@ 3642 @LENGTH@ 85
|
||||
---UPD SimpleName@@MethodName:makeMap @TO@ MethodName:makeEmptyMap @AT@ 3653 @LENGTH@ 7
|
||||
|
||||
|
||||
INS TypeDeclaration@@[public]EntrySetSupportsRemove, @TO@ TypeDeclaration@@[public, abstract]TestMap, TestObject @AT@ 8039 @LENGTH@ 48
|
||||
---INS Modifier@@public @TO@ TypeDeclaration@@[public]EntrySetSupportsRemove, @AT@ 8039 @LENGTH@ 6
|
||||
---INS SimpleName@@ClassName:EntrySetSupportsRemove @TO@ TypeDeclaration@@[public]EntrySetSupportsRemove, @AT@ 8056 @LENGTH@ 22
|
||||
|
||||
|
||||
DEL ExpressionStatement@@MethodInvocation:suite.addTest(TestArrayList.suite()) @AT@ 3419 @LENGTH@ 37
|
||||
---DEL MethodInvocation@@suite.addTest(TestArrayList.suite()) @AT@ 3419 @LENGTH@ 36
|
||||
------DEL SimpleName@@Name:suite @AT@ 3419 @LENGTH@ 5
|
||||
------DEL SimpleName@@MethodName:addTest:[TestArrayList.suite()] @AT@ 3425 @LENGTH@ 30
|
||||
---------DEL MethodInvocation@@TestArrayList.suite() @AT@ 3433 @LENGTH@ 21
|
||||
------------DEL SimpleName@@Name:TestArrayList @AT@ 3433 @LENGTH@ 13
|
||||
------------DEL SimpleName@@MethodName:suite:[] @AT@ 3447 @LENGTH@ 7
|
||||
|
||||
|
||||
DEL MethodDeclaration@@public, void, MethodName:testSequenceMap, @AT@ 4039 @LENGTH@ 94
|
||||
---DEL Modifier@@public @AT@ 4039 @LENGTH@ 6
|
||||
---DEL PrimitiveType@@void @AT@ 4046 @LENGTH@ 4
|
||||
---DEL SimpleName@@MethodName:testSequenceMap @AT@ 4051 @LENGTH@ 15
|
||||
---DEL ExpressionStatement@@MethodInvocation:fail("trying to work out an infinite loop bug") @AT@ 4079 @LENGTH@ 48
|
||||
------DEL MethodInvocation@@fail("trying to work out an infinite loop bug") @AT@ 4079 @LENGTH@ 47
|
||||
---------DEL SimpleName@@MethodName:fail:["trying to work out an infinite loop bug"] @AT@ 4079 @LENGTH@ 47
|
||||
------------DEL StringLiteral@@"trying to work out an infinite loop bug" @AT@ 4084 @LENGTH@ 41
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, Map, MethodName:makeMap, @TO@ public, Map, MethodName:makeEmptyMap, @AT@ 3664 @LENGTH@ 123
|
||||
---UPD SimpleName@@MethodName:makeMap @TO@ MethodName:makeEmptyMap @AT@ 3675 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, List, MethodName:makeList, @TO@ public, List, MethodName:makeEmptyList, @AT@ 3515 @LENGTH@ 63
|
||||
---UPD SimpleName@@MethodName:makeList @TO@ MethodName:makeEmptyList @AT@ 3527 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:map=(TreeMap)makeMap() @TO@ Assignment:map=(TreeMap)makeEmptyMap() @AT@ 3970 @LENGTH@ 26
|
||||
---UPD Assignment@@map=(TreeMap)makeMap() @TO@ map=(TreeMap)makeEmptyMap() @AT@ 3970 @LENGTH@ 25
|
||||
------UPD CastExpression@@(TreeMap)makeMap() @TO@ (TreeMap)makeEmptyMap() @AT@ 3976 @LENGTH@ 19
|
||||
---------UPD MethodInvocation@@MethodName:makeMap:[] @TO@ MethodName:makeEmptyMap:[] @AT@ 3986 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals("Both maps have the same last key",map.getLastKey(),getSampleKeys()[0]) @TO@ MethodInvocation:assertEquals("Both maps have the same last key",map.getLastKey(),getSampleKeys()[getSampleKeys().length - 1]) @AT@ 8042 @LENGTH@ 107
|
||||
---UPD MethodInvocation@@assertEquals("Both maps have the same last key",map.getLastKey(),getSampleKeys()[0]) @TO@ assertEquals("Both maps have the same last key",map.getLastKey(),getSampleKeys()[getSampleKeys().length - 1]) @AT@ 8042 @LENGTH@ 106
|
||||
------UPD SimpleName@@MethodName:assertEquals:["Both maps have the same last key", map.getLastKey(), getSampleKeys()[0]] @TO@ MethodName:assertEquals:["Both maps have the same last key", map.getLastKey(), getSampleKeys()[getSampleKeys().length - 1]] @AT@ 8042 @LENGTH@ 106
|
||||
---------UPD ArrayAccess@@getSampleKeys()[0] @TO@ getSampleKeys()[getSampleKeys().length - 1] @AT@ 8129 @LENGTH@ 18
|
||||
------------INS InfixExpression@@getSampleKeys().length - 1 @TO@ ArrayAccess@@getSampleKeys()[0] @AT@ 8140 @LENGTH@ 26
|
||||
---------------INS FieldAccess@@getSampleKeys().length @TO@ InfixExpression@@getSampleKeys().length - 1 @AT@ 8140 @LENGTH@ 22
|
||||
------------------INS MethodInvocation@@MethodName:getSampleKeys:[] @TO@ FieldAccess@@getSampleKeys().length @AT@ 8140 @LENGTH@ 15
|
||||
------------------INS SimpleName@@length @TO@ FieldAccess@@getSampleKeys().length @AT@ 8156 @LENGTH@ 6
|
||||
---------------INS Operator@@- @TO@ InfixExpression@@getSampleKeys().length - 1 @AT@ 8162 @LENGTH@ 1
|
||||
---------------INS NumberLiteral@@1 @TO@ InfixExpression@@getSampleKeys().length - 1 @AT@ 8165 @LENGTH@ 1
|
||||
------------DEL NumberLiteral@@0 @AT@ 8145 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]TestArrayList, TestList @TO@ [public, abstract]TestArrayList, TestList @AT@ 3250 @LENGTH@ 1283
|
||||
---INS Modifier@@abstract @TO@ TypeDeclaration@@[public]TestArrayList, TestList @AT@ 3257 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:list=(ArrayList)makeList() @TO@ Assignment:list=(ArrayList)makeEmptyList() @AT@ 3715 @LENGTH@ 30
|
||||
---UPD Assignment@@list=(ArrayList)makeList() @TO@ list=(ArrayList)makeEmptyList() @AT@ 3715 @LENGTH@ 29
|
||||
------UPD CastExpression@@(ArrayList)makeList() @TO@ (ArrayList)makeEmptyList() @AT@ 3722 @LENGTH@ 22
|
||||
---------UPD MethodInvocation@@MethodName:makeList:[] @TO@ MethodName:makeEmptyList:[] @AT@ 3734 @LENGTH@ 10
|
||||
@@ -0,0 +1,530 @@
|
||||
UPD TypeDeclaration@@[public]TestSoftRefHashMap, TestHashMap @TO@ [public]TestSoftRefHashMap, TestMap @AT@ 3266 @LENGTH@ 591
|
||||
---UPD SimpleType@@TestHashMap @TO@ TestMap @AT@ 3306 @LENGTH@ 11
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestSequencedHashMap.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestSequencedHashMap.class) @AT@ 3668 @LENGTH@ 49
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestSequencedHashMap.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestSequencedHashMap.class) @AT@ 3675 @LENGTH@ 46
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestSequencedHashMap.class) @AT@ 3675 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestSequencedHashMap.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestSequencedHashMap.class) @AT@ 3684 @LENGTH@ 37
|
||||
---------INS TypeLiteral@@TestSequencedHashMap.class @TO@ SimpleName@@MethodName:makeSuite:[TestSequencedHashMap.class] @AT@ 3694 @LENGTH@ 26
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestSequencedHashMap.class] @AT@ 3675 @LENGTH@ 41
|
||||
------DEL New@@new @AT@ 3675 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3679 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestSequencedHashMap.class @AT@ 3689 @LENGTH@ 26
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, boolean, MethodName:equals, Object map, @TO@ public, boolean, MethodName:equals, Object m, @AT@ 4432 @LENGTH@ 73
|
||||
---UPD SingleVariableDeclaration@@Object map @TO@ Object m @AT@ 4454 @LENGTH@ 10
|
||||
------UPD SimpleName@@map @TO@ m @AT@ 4461 @LENGTH@ 3
|
||||
---UPD ReturnStatement@@MethodInvocation:map.equals(map) @TO@ MethodInvocation:map.equals(m) @AT@ 4476 @LENGTH@ 23
|
||||
------UPD MethodInvocation@@map.equals(map) @TO@ map.equals(m) @AT@ 4483 @LENGTH@ 15
|
||||
---------UPD SimpleName@@MethodName:equals:[map] @TO@ MethodName:equals:[m] @AT@ 4487 @LENGTH@ 11
|
||||
------------UPD SimpleName@@map @TO@ m @AT@ 4494 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestDoubleOrderedMap.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestDoubleOrderedMap.class) @AT@ 3653 @LENGTH@ 49
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestDoubleOrderedMap.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestDoubleOrderedMap.class) @AT@ 3660 @LENGTH@ 46
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestDoubleOrderedMap.class) @AT@ 3660 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestDoubleOrderedMap.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestDoubleOrderedMap.class) @AT@ 3669 @LENGTH@ 37
|
||||
---------INS TypeLiteral@@TestDoubleOrderedMap.class @TO@ SimpleName@@MethodName:makeSuite:[TestDoubleOrderedMap.class] @AT@ 3679 @LENGTH@ 26
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestDoubleOrderedMap.class] @AT@ 3660 @LENGTH@ 41
|
||||
------DEL New@@new @AT@ 3660 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3664 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestDoubleOrderedMap.class @AT@ 3674 @LENGTH@ 26
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @TO@ TypeDeclaration@@[public, abstract]TestMap, TestObject @AT@ 28708 @LENGTH@ 794
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 28708 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 28715 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 28720 @LENGTH@ 54
|
||||
---INS ExpressionStatement@@MethodInvocation:resetFull() @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 28787 @LENGTH@ 12
|
||||
------INS MethodInvocation@@MethodName:resetFull:[] @TO@ ExpressionStatement@@MethodInvocation:resetFull() @AT@ 28787 @LENGTH@ 11
|
||||
---INS VariableDeclarationStatement@@Object[] sampleValues=getSampleValues(); @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 28808 @LENGTH@ 42
|
||||
------INS ArrayType@@Object[] @TO@ VariableDeclarationStatement@@Object[] sampleValues=getSampleValues(); @AT@ 28808 @LENGTH@ 8
|
||||
---------INS SimpleType@@Object @TO@ ArrayType@@Object[] @AT@ 28808 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@sampleValues=getSampleValues() @TO@ VariableDeclarationStatement@@Object[] sampleValues=getSampleValues(); @AT@ 28817 @LENGTH@ 32
|
||||
---------INS SimpleName@@sampleValues @TO@ VariableDeclarationFragment@@sampleValues=getSampleValues() @AT@ 28817 @LENGTH@ 12
|
||||
---------INS MethodInvocation@@MethodName:getSampleValues:[] @TO@ VariableDeclarationFragment@@sampleValues=getSampleValues() @AT@ 28832 @LENGTH@ 17
|
||||
---INS VariableDeclarationStatement@@Collection values=map.values(); @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 28859 @LENGTH@ 33
|
||||
------INS SimpleType@@Collection @TO@ VariableDeclarationStatement@@Collection values=map.values(); @AT@ 28859 @LENGTH@ 10
|
||||
------INS VariableDeclarationFragment@@values=map.values() @TO@ VariableDeclarationStatement@@Collection values=map.values(); @AT@ 28870 @LENGTH@ 21
|
||||
---------INS SimpleName@@values @TO@ VariableDeclarationFragment@@values=map.values() @AT@ 28870 @LENGTH@ 6
|
||||
---------INS MethodInvocation@@map.values() @TO@ VariableDeclarationFragment@@values=map.values() @AT@ 28879 @LENGTH@ 12
|
||||
------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.values() @AT@ 28879 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:values:[] @TO@ MethodInvocation@@map.values() @AT@ 28883 @LENGTH@ 8
|
||||
---INS ForStatement@@for (int i=0; i < sampleValues.length; i++) { if (map.containsValue(sampleValues[i])) { while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])); }} @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 28901 @LENGTH@ 595
|
||||
------INS VariableDeclarationExpression@@int i=0 @TO@ ForStatement@@for (int i=0; i < sampleValues.length; i++) { if (map.containsValue(sampleValues[i])) { while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])); }} @AT@ 28905 @LENGTH@ 7
|
||||
---------INS PrimitiveType@@int @TO@ VariableDeclarationExpression@@int i=0 @AT@ 28905 @LENGTH@ 3
|
||||
---------INS VariableDeclarationFragment@@i=0 @TO@ VariableDeclarationExpression@@int i=0 @AT@ 28909 @LENGTH@ 3
|
||||
------------INS SimpleName@@i @TO@ VariableDeclarationFragment@@i=0 @AT@ 28909 @LENGTH@ 1
|
||||
------------INS NumberLiteral@@0 @TO@ VariableDeclarationFragment@@i=0 @AT@ 28911 @LENGTH@ 1
|
||||
------INS InfixExpression@@i < sampleValues.length @TO@ ForStatement@@for (int i=0; i < sampleValues.length; i++) { if (map.containsValue(sampleValues[i])) { while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])); }} @AT@ 28913 @LENGTH@ 21
|
||||
---------INS SimpleName@@i @TO@ InfixExpression@@i < sampleValues.length @AT@ 28913 @LENGTH@ 1
|
||||
---------INS Operator@@< @TO@ InfixExpression@@i < sampleValues.length @AT@ 28914 @LENGTH@ 1
|
||||
---------INS QualifiedName@@sampleValues.length @TO@ InfixExpression@@i < sampleValues.length @AT@ 28915 @LENGTH@ 19
|
||||
------------INS SimpleName@@sampleValues @TO@ QualifiedName@@sampleValues.length @AT@ 28915 @LENGTH@ 12
|
||||
------------INS SimpleName@@length @TO@ QualifiedName@@sampleValues.length @AT@ 28928 @LENGTH@ 6
|
||||
------INS PostfixExpression@@i++ @TO@ ForStatement@@for (int i=0; i < sampleValues.length; i++) { if (map.containsValue(sampleValues[i])) { while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])); }} @AT@ 28935 @LENGTH@ 3
|
||||
---------INS SimpleName@@i @TO@ PostfixExpression@@i++ @AT@ 28935 @LENGTH@ 1
|
||||
---------INS Operator@@++ @TO@ PostfixExpression@@i++ @AT@ 28937 @LENGTH@ 2
|
||||
------INS IfStatement@@if (map.containsValue(sampleValues[i])) { while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i]));} @TO@ ForStatement@@for (int i=0; i < sampleValues.length; i++) { if (map.containsValue(sampleValues[i])) { while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])); }} @AT@ 28954 @LENGTH@ 532
|
||||
---------INS MethodInvocation@@map.containsValue(sampleValues[i]) @TO@ IfStatement@@if (map.containsValue(sampleValues[i])) { while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i]));} @AT@ 28957 @LENGTH@ 34
|
||||
------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.containsValue(sampleValues[i]) @AT@ 28957 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:containsValue:[sampleValues[i]] @TO@ MethodInvocation@@map.containsValue(sampleValues[i]) @AT@ 28961 @LENGTH@ 30
|
||||
---------------INS ArrayAccess@@sampleValues[i] @TO@ SimpleName@@MethodName:containsValue:[sampleValues[i]] @AT@ 28975 @LENGTH@ 15
|
||||
------------------INS SimpleName@@sampleValues @TO@ ArrayAccess@@sampleValues[i] @AT@ 28975 @LENGTH@ 12
|
||||
------------------INS SimpleName@@i @TO@ ArrayAccess@@sampleValues[i] @AT@ 28988 @LENGTH@ 1
|
||||
---------INS Block@@ThenBody:{ while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i]));} @TO@ IfStatement@@if (map.containsValue(sampleValues[i])) { while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i]));} @AT@ 28993 @LENGTH@ 493
|
||||
------------INS WhileStatement@@while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; }} @TO@ Block@@ThenBody:{ while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i]));} @AT@ 29011 @LENGTH@ 338
|
||||
---------------INS MethodInvocation@@values.contains(sampleValues[i]) @TO@ WhileStatement@@while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; }} @AT@ 29017 @LENGTH@ 32
|
||||
------------------INS SimpleName@@Name:values @TO@ MethodInvocation@@values.contains(sampleValues[i]) @AT@ 29017 @LENGTH@ 6
|
||||
------------------INS SimpleName@@MethodName:contains:[sampleValues[i]] @TO@ MethodInvocation@@values.contains(sampleValues[i]) @AT@ 29024 @LENGTH@ 25
|
||||
---------------------INS ArrayAccess@@sampleValues[i] @TO@ SimpleName@@MethodName:contains:[sampleValues[i]] @AT@ 29033 @LENGTH@ 15
|
||||
------------------------INS SimpleName@@sampleValues @TO@ ArrayAccess@@sampleValues[i] @AT@ 29033 @LENGTH@ 12
|
||||
------------------------INS SimpleName@@i @TO@ ArrayAccess@@sampleValues[i] @AT@ 29046 @LENGTH@ 1
|
||||
---------------INS Block@@WhileBody:{ try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; }} @TO@ WhileStatement@@while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; }} @AT@ 29051 @LENGTH@ 298
|
||||
------------------INS TryStatement@@try { values.remove(sampleValues[i]);} catch (UnsupportedOperationException e) { return;} @TO@ Block@@WhileBody:{ try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; }} @AT@ 29073 @LENGTH@ 258
|
||||
---------------------INS ExpressionStatement@@MethodInvocation:values.remove(sampleValues[i]) @TO@ TryStatement@@try { values.remove(sampleValues[i]);} catch (UnsupportedOperationException e) { return;} @AT@ 29103 @LENGTH@ 31
|
||||
------------------------INS MethodInvocation@@values.remove(sampleValues[i]) @TO@ ExpressionStatement@@MethodInvocation:values.remove(sampleValues[i]) @AT@ 29103 @LENGTH@ 30
|
||||
---------------------------INS SimpleName@@Name:values @TO@ MethodInvocation@@values.remove(sampleValues[i]) @AT@ 29103 @LENGTH@ 6
|
||||
---------------------------INS SimpleName@@MethodName:remove:[sampleValues[i]] @TO@ MethodInvocation@@values.remove(sampleValues[i]) @AT@ 29110 @LENGTH@ 23
|
||||
------------------------------INS ArrayAccess@@sampleValues[i] @TO@ SimpleName@@MethodName:remove:[sampleValues[i]] @AT@ 29117 @LENGTH@ 15
|
||||
---------------------------------INS SimpleName@@sampleValues @TO@ ArrayAccess@@sampleValues[i] @AT@ 29117 @LENGTH@ 12
|
||||
---------------------------------INS SimpleName@@i @TO@ ArrayAccess@@sampleValues[i] @AT@ 29130 @LENGTH@ 1
|
||||
---------------------INS CatchClause@@catch (UnsupportedOperationException e) { return;} @TO@ TryStatement@@try { values.remove(sampleValues[i]);} catch (UnsupportedOperationException e) { return;} @AT@ 29157 @LENGTH@ 174
|
||||
------------------------INS SingleVariableDeclaration@@UnsupportedOperationException e @TO@ CatchClause@@catch (UnsupportedOperationException e) { return;} @AT@ 29163 @LENGTH@ 31
|
||||
---------------------------INS SimpleType@@UnsupportedOperationException @TO@ SingleVariableDeclaration@@UnsupportedOperationException e @AT@ 29163 @LENGTH@ 29
|
||||
---------------------------INS SimpleName@@e @TO@ SingleVariableDeclaration@@UnsupportedOperationException e @AT@ 29193 @LENGTH@ 1
|
||||
------------------------INS ReturnStatement@@ @TO@ CatchClause@@catch (UnsupportedOperationException e) { return;} @AT@ 29302 @LENGTH@ 7
|
||||
------------INS ExpressionStatement@@MethodInvocation:assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])) @TO@ Block@@ThenBody:{ while (values.contains(sampleValues[i])) { try { values.remove(sampleValues[i]); } catch ( UnsupportedOperationException e) { return; } } assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i]));} @AT@ 29366 @LENGTH@ 106
|
||||
---------------INS MethodInvocation@@assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])) @AT@ 29366 @LENGTH@ 105
|
||||
------------------INS SimpleName@@MethodName:assertTrue:["Value should have been removed from the underlying map.", !map.containsValue(sampleValues[i])] @TO@ MethodInvocation@@assertTrue("Value should have been removed from the underlying map.",!map.containsValue(sampleValues[i])) @AT@ 29366 @LENGTH@ 105
|
||||
---------------------INS StringLiteral@@"Value should have been removed from the underlying map." @TO@ SimpleName@@MethodName:assertTrue:["Value should have been removed from the underlying map.", !map.containsValue(sampleValues[i])] @AT@ 29377 @LENGTH@ 57
|
||||
---------------------INS PrefixExpression@@!map.containsValue(sampleValues[i]) @TO@ SimpleName@@MethodName:assertTrue:["Value should have been removed from the underlying map.", !map.containsValue(sampleValues[i])] @AT@ 29435 @LENGTH@ 35
|
||||
------------------------INS Operator@@! @TO@ PrefixExpression@@!map.containsValue(sampleValues[i]) @AT@ 29435 @LENGTH@ 1
|
||||
------------------------INS MethodInvocation@@map.containsValue(sampleValues[i]) @TO@ PrefixExpression@@!map.containsValue(sampleValues[i]) @AT@ 29436 @LENGTH@ 34
|
||||
---------------------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.containsValue(sampleValues[i]) @AT@ 29436 @LENGTH@ 3
|
||||
---------------------------INS SimpleName@@MethodName:containsValue:[sampleValues[i]] @TO@ MethodInvocation@@map.containsValue(sampleValues[i]) @AT@ 29440 @LENGTH@ 30
|
||||
------------------------------INS ArrayAccess@@sampleValues[i] @TO@ SimpleName@@MethodName:containsValue:[sampleValues[i]] @AT@ 29454 @LENGTH@ 15
|
||||
---------------------------------INS SimpleName@@sampleValues @TO@ ArrayAccess@@sampleValues[i] @AT@ 29454 @LENGTH@ 12
|
||||
---------------------------------INS SimpleName@@i @TO@ ArrayAccess@@sampleValues[i] @AT@ 29467 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]TestSequencedHashMap, TestMap[TestMap.SupportsPut] @TO@ [public]TestSequencedHashMap, TestMap @AT@ 3406 @LENGTH@ 5311
|
||||
---DEL SimpleType@@TestMap.SupportsPut @AT@ 3468 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestFastHashMap.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestFastHashMap.class) @AT@ 3429 @LENGTH@ 44
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestFastHashMap.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestFastHashMap.class) @AT@ 3428 @LENGTH@ 41
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestFastHashMap.class) @AT@ 3428 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestFastHashMap.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestFastHashMap.class) @AT@ 3437 @LENGTH@ 32
|
||||
---------INS TypeLiteral@@TestFastHashMap.class @TO@ SimpleName@@MethodName:makeSuite:[TestFastHashMap.class] @AT@ 3447 @LENGTH@ 21
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestFastHashMap.class] @AT@ 3436 @LENGTH@ 36
|
||||
------DEL New@@new @AT@ 3436 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3440 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestFastHashMap.class @AT@ 3450 @LENGTH@ 21
|
||||
|
||||
|
||||
DEL MethodDeclaration@@public, void, MethodName:setUp, @AT@ 3787 @LENGTH@ 67
|
||||
---DEL Modifier@@public @AT@ 3787 @LENGTH@ 6
|
||||
---DEL PrimitiveType@@void @AT@ 3794 @LENGTH@ 4
|
||||
---DEL SimpleName@@MethodName:setUp @AT@ 3799 @LENGTH@ 5
|
||||
---DEL ExpressionStatement@@Assignment:map=(HashMap)makeEmptyMap() @AT@ 3817 @LENGTH@ 31
|
||||
------DEL Assignment@@map=(HashMap)makeEmptyMap() @AT@ 3817 @LENGTH@ 30
|
||||
---------DEL SimpleName@@map @AT@ 3817 @LENGTH@ 3
|
||||
---------DEL Operator@@= @AT@ 3820 @LENGTH@ 1
|
||||
---------DEL CastExpression@@(HashMap)makeEmptyMap() @AT@ 3823 @LENGTH@ 24
|
||||
------------DEL SimpleType@@HashMap @AT@ 3824 @LENGTH@ 7
|
||||
------------DEL MethodInvocation@@MethodName:makeEmptyMap:[] @AT@ 3833 @LENGTH@ 14
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:tearDown, @TO@ public, void, MethodName:tearDown, Exception, @AT@ 3730 @LENGTH@ 55
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:tearDown, @AT@ 3758 @LENGTH@ 9
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(TestStaticBucketMap.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 4776 @LENGTH@ 43
|
||||
---INS MethodInvocation@@suite.addTest(TestStaticBucketMap.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestStaticBucketMap.suite()) @AT@ 4776 @LENGTH@ 42
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestStaticBucketMap.suite()) @AT@ 4776 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[TestStaticBucketMap.suite()] @TO@ MethodInvocation@@suite.addTest(TestStaticBucketMap.suite()) @AT@ 4782 @LENGTH@ 36
|
||||
---------INS MethodInvocation@@TestStaticBucketMap.suite() @TO@ SimpleName@@MethodName:addTest:[TestStaticBucketMap.suite()] @AT@ 4790 @LENGTH@ 27
|
||||
------------INS SimpleName@@Name:TestStaticBucketMap @TO@ MethodInvocation@@TestStaticBucketMap.suite() @AT@ 4790 @LENGTH@ 19
|
||||
------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestStaticBucketMap.suite() @AT@ 4810 @LENGTH@ 7
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, boolean, MethodName:useNullValue, @TO@ TypeDeclaration@@[public]TestFastHashMap, TestMap @AT@ 3932 @LENGTH@ 59
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, boolean, MethodName:useNullValue, @AT@ 3932 @LENGTH@ 6
|
||||
---INS PrimitiveType@@boolean @TO@ MethodDeclaration@@public, boolean, MethodName:useNullValue, @AT@ 3939 @LENGTH@ 7
|
||||
---INS SimpleName@@MethodName:useNullValue @TO@ MethodDeclaration@@public, boolean, MethodName:useNullValue, @AT@ 3947 @LENGTH@ 12
|
||||
---INS ReturnStatement@@BooleanLiteral:false @TO@ MethodDeclaration@@public, boolean, MethodName:useNullValue, @AT@ 3972 @LENGTH@ 13
|
||||
------INS BooleanLiteral@@false @TO@ ReturnStatement@@BooleanLiteral:false @AT@ 3979 @LENGTH@ 5
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, boolean, MethodName:useNullValue, @TO@ TypeDeclaration@@[public]TestFastTreeMap, TestTreeMap @AT@ 4087 @LENGTH@ 58
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, boolean, MethodName:useNullValue, @AT@ 4087 @LENGTH@ 6
|
||||
---INS PrimitiveType@@boolean @TO@ MethodDeclaration@@public, boolean, MethodName:useNullValue, @AT@ 4094 @LENGTH@ 7
|
||||
---INS SimpleName@@MethodName:useNullValue @TO@ MethodDeclaration@@public, boolean, MethodName:useNullValue, @AT@ 4102 @LENGTH@ 12
|
||||
---INS ReturnStatement@@BooleanLiteral:false @TO@ MethodDeclaration@@public, boolean, MethodName:useNullValue, @AT@ 4126 @LENGTH@ 13
|
||||
------INS BooleanLiteral@@false @TO@ ReturnStatement@@BooleanLiteral:false @AT@ 4133 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD MethodDeclaration@@protected, void, MethodName:tearDown, @TO@ protected, void, MethodName:tearDown, Exception, @AT@ 8565 @LENGTH@ 56
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@protected, void, MethodName:tearDown, @AT@ 8603 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD IfStatement@@if (o.equals(elt.value())) { removeListable(elt); return true;} @TO@ if (o != null && o.equals(elt.value())) { removeListable(elt); return true;} @AT@ 20583 @LENGTH@ 107
|
||||
---INS InfixExpression@@o != null && o.equals(elt.value()) @TO@ IfStatement@@if (o.equals(elt.value())) { removeListable(elt); return true;} @AT@ 20615 @LENGTH@ 34
|
||||
------MOV MethodInvocation@@o.equals(elt.value()) @TO@ InfixExpression@@o != null && o.equals(elt.value()) @AT@ 20586 @LENGTH@ 21
|
||||
------MOV MethodInvocation@@o.equals(elt.value()) @TO@ InfixExpression@@o != null && o.equals(elt.value()) @AT@ 20586 @LENGTH@ 21
|
||||
------INS InfixExpression@@o != null @TO@ InfixExpression@@o != null && o.equals(elt.value()) @AT@ 20615 @LENGTH@ 9
|
||||
---------INS SimpleName@@o @TO@ InfixExpression@@o != null @AT@ 20615 @LENGTH@ 1
|
||||
---------INS Operator@@!= @TO@ InfixExpression@@o != null @AT@ 20616 @LENGTH@ 2
|
||||
---------INS NullLiteral@@null @TO@ InfixExpression@@o != null @AT@ 20620 @LENGTH@ 4
|
||||
------INS Operator@@&& @TO@ InfixExpression@@o != null && o.equals(elt.value()) @AT@ 20624 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD IfStatement@@if ((null == o && null == elt.value()) || (o.equals(elt.value()))) { return true;} @TO@ if ((null == o && null == elt.value()) || (o != null && o.equals(elt.value()))) { return true;} @AT@ 10822 @LENGTH@ 110
|
||||
---UPD InfixExpression@@(null == o && null == elt.value()) || (o.equals(elt.value())) @TO@ (null == o && null == elt.value()) || (o != null && o.equals(elt.value())) @AT@ 10825 @LENGTH@ 61
|
||||
------UPD ParenthesizedExpression@@(o.equals(elt.value())) @TO@ (o != null && o.equals(elt.value())) @AT@ 10863 @LENGTH@ 23
|
||||
---------INS InfixExpression@@o != null && o.equals(elt.value()) @TO@ ParenthesizedExpression@@(o.equals(elt.value())) @AT@ 10880 @LENGTH@ 34
|
||||
------------MOV MethodInvocation@@o.equals(elt.value()) @TO@ InfixExpression@@o != null && o.equals(elt.value()) @AT@ 10864 @LENGTH@ 21
|
||||
------------INS InfixExpression@@o != null @TO@ InfixExpression@@o != null && o.equals(elt.value()) @AT@ 10880 @LENGTH@ 9
|
||||
---------------INS SimpleName@@o @TO@ InfixExpression@@o != null @AT@ 10880 @LENGTH@ 1
|
||||
---------------INS Operator@@!= @TO@ InfixExpression@@o != null @AT@ 10881 @LENGTH@ 2
|
||||
---------------INS NullLiteral@@null @TO@ InfixExpression@@o != null @AT@ 10885 @LENGTH@ 4
|
||||
------------INS Operator@@&& @TO@ InfixExpression@@o != null && o.equals(elt.value()) @AT@ 10889 @LENGTH@ 2
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, String[], MethodName:ignoredSimpleTests, @TO@ TypeDeclaration@@[public]TestBeanMap, TestMap @AT@ 10532 @LENGTH@ 744
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, String[], MethodName:ignoredSimpleTests, @AT@ 10532 @LENGTH@ 6
|
||||
---INS ArrayType@@String[] @TO@ MethodDeclaration@@public, String[], MethodName:ignoredSimpleTests, @AT@ 10539 @LENGTH@ 8
|
||||
------INS SimpleType@@String @TO@ ArrayType@@String[] @AT@ 10539 @LENGTH@ 6
|
||||
---INS SimpleName@@MethodName:ignoredSimpleTests @TO@ MethodDeclaration@@public, String[], MethodName:ignoredSimpleTests, @AT@ 10548 @LENGTH@ 18
|
||||
---INS ReturnStatement@@ArrayCreation:new String[]{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @TO@ MethodDeclaration@@public, String[], MethodName:ignoredSimpleTests, @AT@ 10642 @LENGTH@ 628
|
||||
------INS ArrayCreation@@new String[]{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @TO@ ReturnStatement@@ArrayCreation:new String[]{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 10649 @LENGTH@ 620
|
||||
---------INS ArrayType@@String[] @TO@ ArrayCreation@@new String[]{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 10653 @LENGTH@ 8
|
||||
------------INS SimpleType@@String @TO@ ArrayType@@String[] @AT@ 10653 @LENGTH@ 6
|
||||
---------INS ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @TO@ ArrayCreation@@new String[]{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 10662 @LENGTH@ 607
|
||||
------------INS StringLiteral@@"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists" @TO@ ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 10673 @LENGTH@ 68
|
||||
------------INS StringLiteral@@"TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists" @TO@ ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 10752 @LENGTH@ 67
|
||||
------------INS StringLiteral@@"TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists" @TO@ ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 10830 @LENGTH@ 66
|
||||
------------INS StringLiteral@@"TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists" @TO@ ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 10907 @LENGTH@ 65
|
||||
------------INS StringLiteral@@"TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists" @TO@ ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 10983 @LENGTH@ 66
|
||||
------------INS StringLiteral@@"TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists" @TO@ ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 11060 @LENGTH@ 65
|
||||
------------INS StringLiteral@@"TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization" @TO@ ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 11136 @LENGTH@ 57
|
||||
------------INS StringLiteral@@"TestBeanMap.bulkTestMapKeySet.testSimpleSerialization" @TO@ ArrayInitializer@@{"TestBeanMap.bulkTestMapEntrySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapEntrySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapKeySet.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalEmptyCollectionExists","TestBeanMap.bulkTestMapValues.testCanonicalFullCollectionExists","TestBeanMap.bulkTestMapEntrySet.testSimpleSerialization","TestBeanMap.bulkTestMapKeySet.testSimpleSerialization"} @AT@ 11204 @LENGTH@ 55
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestCursorableLinkedList.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestCursorableLinkedList.class) @AT@ 3318 @LENGTH@ 53
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestCursorableLinkedList.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestCursorableLinkedList.class) @AT@ 3317 @LENGTH@ 50
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestCursorableLinkedList.class) @AT@ 3317 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestCursorableLinkedList.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestCursorableLinkedList.class) @AT@ 3326 @LENGTH@ 41
|
||||
---------INS TypeLiteral@@TestCursorableLinkedList.class @TO@ SimpleName@@MethodName:makeSuite:[TestCursorableLinkedList.class] @AT@ 3336 @LENGTH@ 30
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestCursorableLinkedList.class] @AT@ 3325 @LENGTH@ 45
|
||||
------DEL New@@new @AT@ 3325 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3329 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestCursorableLinkedList.class @AT@ 3339 @LENGTH@ 30
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestFastHashMap1.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestFastHashMap1.class) @AT@ 3483 @LENGTH@ 45
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestFastHashMap1.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestFastHashMap1.class) @AT@ 3490 @LENGTH@ 42
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestFastHashMap1.class) @AT@ 3490 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestFastHashMap1.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestFastHashMap1.class) @AT@ 3499 @LENGTH@ 33
|
||||
---------INS TypeLiteral@@TestFastHashMap1.class @TO@ SimpleName@@MethodName:makeSuite:[TestFastHashMap1.class] @AT@ 3509 @LENGTH@ 22
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestFastHashMap1.class] @AT@ 3490 @LENGTH@ 37
|
||||
------DEL New@@new @AT@ 3490 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3494 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestFastHashMap1.class @AT@ 3504 @LENGTH@ 22
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:map.remove(key) @TO@ MethodInvocation:i.remove() @AT@ 4789 @LENGTH@ 18
|
||||
---UPD MethodInvocation@@map.remove(key) @TO@ i.remove() @AT@ 4789 @LENGTH@ 17
|
||||
------UPD SimpleName@@Name:map @TO@ Name:i @AT@ 4789 @LENGTH@ 3
|
||||
------UPD SimpleName@@MethodName:remove:[key] @TO@ MethodName:remove:[] @AT@ 4793 @LENGTH@ 13
|
||||
---------DEL SimpleName@@key @AT@ 4801 @LENGTH@ 3
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @TO@ TypeDeclaration@@[public]TestMultiHashMap, TestMap @AT@ 8900 @LENGTH@ 195
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 8900 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 8907 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap @TO@ MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 8912 @LENGTH@ 54
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, BulkTest, MethodName:bulkTestPredicatedCollection1, @TO@ TypeDeclaration@@[public]TestCollectionUtils, TestCase @AT@ 13275 @LENGTH@ 1265
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, BulkTest, MethodName:bulkTestPredicatedCollection1, @AT@ 13275 @LENGTH@ 6
|
||||
---INS SimpleType@@BulkTest @TO@ MethodDeclaration@@public, BulkTest, MethodName:bulkTestPredicatedCollection1, @AT@ 13282 @LENGTH@ 8
|
||||
---INS SimpleName@@MethodName:bulkTestPredicatedCollection1 @TO@ MethodDeclaration@@public, BulkTest, MethodName:bulkTestPredicatedCollection1, @AT@ 13291 @LENGTH@ 29
|
||||
---INS ReturnStatement@@ClassInstanceCreation:new TestPredicatedCollection(""){
|
||||
public Collection predicatedCollection(){
|
||||
Predicate p=getPredicate();
|
||||
return CollectionUtils.predicatedCollection(new ArrayList(),p);
|
||||
}
|
||||
public BulkTest bulkTestAll(){
|
||||
return new TestCollection(""){
|
||||
public Collection makeCollection(){
|
||||
return predicatedCollection();
|
||||
}
|
||||
public Collection makeConfirmedCollection(){
|
||||
return new ArrayList();
|
||||
}
|
||||
public Collection makeConfirmedFullCollection(){
|
||||
ArrayList list=new ArrayList();
|
||||
list.addAll(java.util.Arrays.asList(getFullElements()));
|
||||
return list;
|
||||
}
|
||||
public Object[] getFullElements(){
|
||||
return getFullNonNullStringElements();
|
||||
}
|
||||
public Object[] getOtherElements(){
|
||||
return getOtherNonNullStringElements();
|
||||
}
|
||||
}
|
||||
;
|
||||
}
|
||||
}
|
||||
@TO@ MethodDeclaration@@public, BulkTest, MethodName:bulkTestPredicatedCollection1, @AT@ 13333 @LENGTH@ 1201
|
||||
------INS ClassInstanceCreation@@TestPredicatedCollection[""] @TO@ ReturnStatement@@ClassInstanceCreation:new TestPredicatedCollection(""){
|
||||
public Collection predicatedCollection(){
|
||||
Predicate p=getPredicate();
|
||||
return CollectionUtils.predicatedCollection(new ArrayList(),p);
|
||||
}
|
||||
public BulkTest bulkTestAll(){
|
||||
return new TestCollection(""){
|
||||
public Collection makeCollection(){
|
||||
return predicatedCollection();
|
||||
}
|
||||
public Collection makeConfirmedCollection(){
|
||||
return new ArrayList();
|
||||
}
|
||||
public Collection makeConfirmedFullCollection(){
|
||||
ArrayList list=new ArrayList();
|
||||
list.addAll(java.util.Arrays.asList(getFullElements()));
|
||||
return list;
|
||||
}
|
||||
public Object[] getFullElements(){
|
||||
return getFullNonNullStringElements();
|
||||
}
|
||||
public Object[] getOtherElements(){
|
||||
return getOtherNonNullStringElements();
|
||||
}
|
||||
}
|
||||
;
|
||||
}
|
||||
}
|
||||
@AT@ 13340 @LENGTH@ 1193
|
||||
---------INS New@@new @TO@ ClassInstanceCreation@@TestPredicatedCollection[""] @AT@ 13340 @LENGTH@ 3
|
||||
---------INS SimpleType@@TestPredicatedCollection @TO@ ClassInstanceCreation@@TestPredicatedCollection[""] @AT@ 13344 @LENGTH@ 24
|
||||
---------INS StringLiteral@@"" @TO@ ClassInstanceCreation@@TestPredicatedCollection[""] @AT@ 13369 @LENGTH@ 2
|
||||
---------INS AnonymousClassDeclaration@@AnonymousClass @TO@ ClassInstanceCreation@@TestPredicatedCollection[""] @AT@ 13373 @LENGTH@ 1160
|
||||
------------INS MethodDeclaration@@public, Collection, MethodName:predicatedCollection, @TO@ AnonymousClassDeclaration@@AnonymousClass @AT@ 13387 @LENGTH@ 183
|
||||
---------------INS Modifier@@public @TO@ MethodDeclaration@@public, Collection, MethodName:predicatedCollection, @AT@ 13387 @LENGTH@ 6
|
||||
---------------INS SimpleType@@Collection @TO@ MethodDeclaration@@public, Collection, MethodName:predicatedCollection, @AT@ 13394 @LENGTH@ 10
|
||||
---------------INS SimpleName@@MethodName:predicatedCollection @TO@ MethodDeclaration@@public, Collection, MethodName:predicatedCollection, @AT@ 13405 @LENGTH@ 20
|
||||
---------------INS VariableDeclarationStatement@@Predicate p=getPredicate(); @TO@ MethodDeclaration@@public, Collection, MethodName:predicatedCollection, @AT@ 13446 @LENGTH@ 29
|
||||
------------------INS SimpleType@@Predicate @TO@ VariableDeclarationStatement@@Predicate p=getPredicate(); @AT@ 13446 @LENGTH@ 9
|
||||
------------------INS VariableDeclarationFragment@@p=getPredicate() @TO@ VariableDeclarationStatement@@Predicate p=getPredicate(); @AT@ 13456 @LENGTH@ 18
|
||||
---------------------INS SimpleName@@p @TO@ VariableDeclarationFragment@@p=getPredicate() @AT@ 13456 @LENGTH@ 1
|
||||
---------------------INS MethodInvocation@@MethodName:getPredicate:[] @TO@ VariableDeclarationFragment@@p=getPredicate() @AT@ 13460 @LENGTH@ 14
|
||||
---------------INS ReturnStatement@@MethodInvocation:CollectionUtils.predicatedCollection(new ArrayList(),p) @TO@ MethodDeclaration@@public, Collection, MethodName:predicatedCollection, @AT@ 13492 @LENGTH@ 64
|
||||
------------------INS MethodInvocation@@CollectionUtils.predicatedCollection(new ArrayList(),p) @TO@ ReturnStatement@@MethodInvocation:CollectionUtils.predicatedCollection(new ArrayList(),p) @AT@ 13499 @LENGTH@ 56
|
||||
---------------------INS SimpleName@@Name:CollectionUtils @TO@ MethodInvocation@@CollectionUtils.predicatedCollection(new ArrayList(),p) @AT@ 13499 @LENGTH@ 15
|
||||
---------------------INS SimpleName@@MethodName:predicatedCollection:[new ArrayList(), p] @TO@ MethodInvocation@@CollectionUtils.predicatedCollection(new ArrayList(),p) @AT@ 13515 @LENGTH@ 40
|
||||
------------------------INS ClassInstanceCreation@@ArrayList[] @TO@ SimpleName@@MethodName:predicatedCollection:[new ArrayList(), p] @AT@ 13536 @LENGTH@ 15
|
||||
---------------------------INS New@@new @TO@ ClassInstanceCreation@@ArrayList[] @AT@ 13536 @LENGTH@ 3
|
||||
---------------------------INS SimpleType@@ArrayList @TO@ ClassInstanceCreation@@ArrayList[] @AT@ 13540 @LENGTH@ 9
|
||||
------------------------INS SimpleName@@p @TO@ SimpleName@@MethodName:predicatedCollection:[new ArrayList(), p] @AT@ 13553 @LENGTH@ 1
|
||||
------------INS MethodDeclaration@@public, BulkTest, MethodName:bulkTestAll, @TO@ AnonymousClassDeclaration@@AnonymousClass @AT@ 13584 @LENGTH@ 939
|
||||
---------------INS Modifier@@public @TO@ MethodDeclaration@@public, BulkTest, MethodName:bulkTestAll, @AT@ 13584 @LENGTH@ 6
|
||||
---------------INS SimpleType@@BulkTest @TO@ MethodDeclaration@@public, BulkTest, MethodName:bulkTestAll, @AT@ 13591 @LENGTH@ 8
|
||||
---------------INS SimpleName@@MethodName:bulkTestAll @TO@ MethodDeclaration@@public, BulkTest, MethodName:bulkTestAll, @AT@ 13600 @LENGTH@ 11
|
||||
---------------INS ReturnStatement@@ClassInstanceCreation:new TestCollection(""){
|
||||
public Collection makeCollection(){
|
||||
return predicatedCollection();
|
||||
}
|
||||
public Collection makeConfirmedCollection(){
|
||||
return new ArrayList();
|
||||
}
|
||||
public Collection makeConfirmedFullCollection(){
|
||||
ArrayList list=new ArrayList();
|
||||
list.addAll(java.util.Arrays.asList(getFullElements()));
|
||||
return list;
|
||||
}
|
||||
public Object[] getFullElements(){
|
||||
return getFullNonNullStringElements();
|
||||
}
|
||||
public Object[] getOtherElements(){
|
||||
return getOtherNonNullStringElements();
|
||||
}
|
||||
}
|
||||
@TO@ MethodDeclaration@@public, BulkTest, MethodName:bulkTestAll, @AT@ 13632 @LENGTH@ 877
|
||||
------------------INS ClassInstanceCreation@@TestCollection[""] @TO@ ReturnStatement@@ClassInstanceCreation:new TestCollection(""){
|
||||
public Collection makeCollection(){
|
||||
return predicatedCollection();
|
||||
}
|
||||
public Collection makeConfirmedCollection(){
|
||||
return new ArrayList();
|
||||
}
|
||||
public Collection makeConfirmedFullCollection(){
|
||||
ArrayList list=new ArrayList();
|
||||
list.addAll(java.util.Arrays.asList(getFullElements()));
|
||||
return list;
|
||||
}
|
||||
public Object[] getFullElements(){
|
||||
return getFullNonNullStringElements();
|
||||
}
|
||||
public Object[] getOtherElements(){
|
||||
return getOtherNonNullStringElements();
|
||||
}
|
||||
}
|
||||
@AT@ 13639 @LENGTH@ 869
|
||||
---------------------INS New@@new @TO@ ClassInstanceCreation@@TestCollection[""] @AT@ 13639 @LENGTH@ 3
|
||||
---------------------INS SimpleType@@TestCollection @TO@ ClassInstanceCreation@@TestCollection[""] @AT@ 13643 @LENGTH@ 14
|
||||
---------------------INS StringLiteral@@"" @TO@ ClassInstanceCreation@@TestCollection[""] @AT@ 13658 @LENGTH@ 2
|
||||
---------------------INS AnonymousClassDeclaration@@AnonymousClass @TO@ ClassInstanceCreation@@TestCollection[""] @AT@ 13662 @LENGTH@ 846
|
||||
------------------------INS MethodDeclaration@@public, Collection, MethodName:makeCollection, @TO@ AnonymousClassDeclaration@@AnonymousClass @AT@ 13684 @LENGTH@ 113
|
||||
---------------------------INS Modifier@@public @TO@ MethodDeclaration@@public, Collection, MethodName:makeCollection, @AT@ 13684 @LENGTH@ 6
|
||||
---------------------------INS SimpleType@@Collection @TO@ MethodDeclaration@@public, Collection, MethodName:makeCollection, @AT@ 13691 @LENGTH@ 10
|
||||
---------------------------INS SimpleName@@MethodName:makeCollection @TO@ MethodDeclaration@@public, Collection, MethodName:makeCollection, @AT@ 13702 @LENGTH@ 14
|
||||
---------------------------INS ReturnStatement@@MethodInvocation:predicatedCollection() @TO@ MethodDeclaration@@public, Collection, MethodName:makeCollection, @AT@ 13745 @LENGTH@ 30
|
||||
------------------------------INS MethodInvocation@@MethodName:predicatedCollection:[] @TO@ ReturnStatement@@MethodInvocation:predicatedCollection() @AT@ 13752 @LENGTH@ 22
|
||||
------------------------INS MethodDeclaration@@public, Collection, MethodName:makeConfirmedCollection, @TO@ AnonymousClassDeclaration@@AnonymousClass @AT@ 13819 @LENGTH@ 115
|
||||
---------------------------INS Modifier@@public @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedCollection, @AT@ 13819 @LENGTH@ 6
|
||||
---------------------------INS SimpleType@@Collection @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedCollection, @AT@ 13826 @LENGTH@ 10
|
||||
---------------------------INS SimpleName@@MethodName:makeConfirmedCollection @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedCollection, @AT@ 13837 @LENGTH@ 23
|
||||
---------------------------INS ReturnStatement@@ClassInstanceCreation:new ArrayList() @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedCollection, @AT@ 13889 @LENGTH@ 23
|
||||
------------------------------INS ClassInstanceCreation@@ArrayList[] @TO@ ReturnStatement@@ClassInstanceCreation:new ArrayList() @AT@ 13896 @LENGTH@ 15
|
||||
---------------------------------INS New@@new @TO@ ClassInstanceCreation@@ArrayList[] @AT@ 13896 @LENGTH@ 3
|
||||
---------------------------------INS SimpleType@@ArrayList @TO@ ClassInstanceCreation@@ArrayList[] @AT@ 13900 @LENGTH@ 9
|
||||
------------------------INS MethodDeclaration@@public, Collection, MethodName:makeConfirmedFullCollection, @TO@ AnonymousClassDeclaration@@AnonymousClass @AT@ 13956 @LENGTH@ 247
|
||||
---------------------------INS Modifier@@public @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedFullCollection, @AT@ 13956 @LENGTH@ 6
|
||||
---------------------------INS SimpleType@@Collection @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedFullCollection, @AT@ 13963 @LENGTH@ 10
|
||||
---------------------------INS SimpleName@@MethodName:makeConfirmedFullCollection @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedFullCollection, @AT@ 13974 @LENGTH@ 27
|
||||
---------------------------INS VariableDeclarationStatement@@ArrayList list=new ArrayList(); @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedFullCollection, @AT@ 14030 @LENGTH@ 33
|
||||
------------------------------INS SimpleType@@ArrayList @TO@ VariableDeclarationStatement@@ArrayList list=new ArrayList(); @AT@ 14030 @LENGTH@ 9
|
||||
------------------------------INS VariableDeclarationFragment@@list=new ArrayList() @TO@ VariableDeclarationStatement@@ArrayList list=new ArrayList(); @AT@ 14040 @LENGTH@ 22
|
||||
---------------------------------INS SimpleName@@list @TO@ VariableDeclarationFragment@@list=new ArrayList() @AT@ 14040 @LENGTH@ 4
|
||||
---------------------------------INS ClassInstanceCreation@@ArrayList[] @TO@ VariableDeclarationFragment@@list=new ArrayList() @AT@ 14047 @LENGTH@ 15
|
||||
------------------------------------INS New@@new @TO@ ClassInstanceCreation@@ArrayList[] @AT@ 14047 @LENGTH@ 3
|
||||
------------------------------------INS SimpleType@@ArrayList @TO@ ClassInstanceCreation@@ArrayList[] @AT@ 14051 @LENGTH@ 9
|
||||
---------------------------INS ExpressionStatement@@MethodInvocation:list.addAll(java.util.Arrays.asList(getFullElements())) @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedFullCollection, @AT@ 14088 @LENGTH@ 56
|
||||
------------------------------INS MethodInvocation@@list.addAll(java.util.Arrays.asList(getFullElements())) @TO@ ExpressionStatement@@MethodInvocation:list.addAll(java.util.Arrays.asList(getFullElements())) @AT@ 14088 @LENGTH@ 55
|
||||
---------------------------------INS SimpleName@@Name:list @TO@ MethodInvocation@@list.addAll(java.util.Arrays.asList(getFullElements())) @AT@ 14088 @LENGTH@ 4
|
||||
---------------------------------INS SimpleName@@MethodName:addAll:[java.util.Arrays.asList(getFullElements())] @TO@ MethodInvocation@@list.addAll(java.util.Arrays.asList(getFullElements())) @AT@ 14093 @LENGTH@ 50
|
||||
------------------------------------INS MethodInvocation@@java.util.Arrays.asList(getFullElements()) @TO@ SimpleName@@MethodName:addAll:[java.util.Arrays.asList(getFullElements())] @AT@ 14100 @LENGTH@ 42
|
||||
---------------------------------------INS QualifiedName@@Name:java.util.Arrays @TO@ MethodInvocation@@java.util.Arrays.asList(getFullElements()) @AT@ 14100 @LENGTH@ 16
|
||||
---------------------------------------INS SimpleName@@MethodName:asList:[getFullElements()] @TO@ MethodInvocation@@java.util.Arrays.asList(getFullElements()) @AT@ 14117 @LENGTH@ 25
|
||||
------------------------------------------INS MethodInvocation@@MethodName:getFullElements:[] @TO@ SimpleName@@MethodName:asList:[getFullElements()] @AT@ 14124 @LENGTH@ 17
|
||||
---------------------------INS ReturnStatement@@SimpleName:list @TO@ MethodDeclaration@@public, Collection, MethodName:makeConfirmedFullCollection, @AT@ 14169 @LENGTH@ 12
|
||||
------------------------------INS SimpleName@@list @TO@ ReturnStatement@@SimpleName:list @AT@ 14176 @LENGTH@ 4
|
||||
------------------------INS MethodDeclaration@@public, Object[], MethodName:getFullElements, @TO@ AnonymousClassDeclaration@@AnonymousClass @AT@ 14225 @LENGTH@ 120
|
||||
---------------------------INS Modifier@@public @TO@ MethodDeclaration@@public, Object[], MethodName:getFullElements, @AT@ 14225 @LENGTH@ 6
|
||||
---------------------------INS ArrayType@@Object[] @TO@ MethodDeclaration@@public, Object[], MethodName:getFullElements, @AT@ 14232 @LENGTH@ 8
|
||||
------------------------------INS SimpleType@@Object @TO@ ArrayType@@Object[] @AT@ 14232 @LENGTH@ 6
|
||||
---------------------------INS SimpleName@@MethodName:getFullElements @TO@ MethodDeclaration@@public, Object[], MethodName:getFullElements, @AT@ 14241 @LENGTH@ 15
|
||||
---------------------------INS ReturnStatement@@MethodInvocation:getFullNonNullStringElements() @TO@ MethodDeclaration@@public, Object[], MethodName:getFullElements, @AT@ 14285 @LENGTH@ 38
|
||||
------------------------------INS MethodInvocation@@MethodName:getFullNonNullStringElements:[] @TO@ ReturnStatement@@MethodInvocation:getFullNonNullStringElements() @AT@ 14292 @LENGTH@ 30
|
||||
------------------------INS MethodDeclaration@@public, Object[], MethodName:getOtherElements, @TO@ AnonymousClassDeclaration@@AnonymousClass @AT@ 14367 @LENGTH@ 122
|
||||
---------------------------INS Modifier@@public @TO@ MethodDeclaration@@public, Object[], MethodName:getOtherElements, @AT@ 14367 @LENGTH@ 6
|
||||
---------------------------INS ArrayType@@Object[] @TO@ MethodDeclaration@@public, Object[], MethodName:getOtherElements, @AT@ 14374 @LENGTH@ 8
|
||||
------------------------------INS SimpleType@@Object @TO@ ArrayType@@Object[] @AT@ 14374 @LENGTH@ 6
|
||||
---------------------------INS SimpleName@@MethodName:getOtherElements @TO@ MethodDeclaration@@public, Object[], MethodName:getOtherElements, @AT@ 14383 @LENGTH@ 16
|
||||
---------------------------INS ReturnStatement@@MethodInvocation:getOtherNonNullStringElements() @TO@ MethodDeclaration@@public, Object[], MethodName:getOtherElements, @AT@ 14428 @LENGTH@ 39
|
||||
------------------------------INS MethodInvocation@@MethodName:getOtherNonNullStringElements:[] @TO@ ReturnStatement@@MethodInvocation:getOtherNonNullStringElements() @AT@ 14435 @LENGTH@ 31
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:tearDown, @TO@ public, void, MethodName:tearDown, Exception, @AT@ 5798 @LENGTH@ 312
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:tearDown, @AT@ 5826 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD IfStatement@@if (getFullElements().length < 10) return null; @TO@ if (getFullElements().length - 6 < 10) return null; @AT@ 30221 @LENGTH@ 47
|
||||
---UPD InfixExpression@@getFullElements().length < 10 @TO@ getFullElements().length - 6 < 10 @AT@ 30225 @LENGTH@ 29
|
||||
------INS InfixExpression@@getFullElements().length - 6 @TO@ InfixExpression@@getFullElements().length < 10 @AT@ 30229 @LENGTH@ 28
|
||||
---------MOV FieldAccess@@getFullElements().length @TO@ InfixExpression@@getFullElements().length - 6 @AT@ 30225 @LENGTH@ 24
|
||||
---------INS Operator@@- @TO@ InfixExpression@@getFullElements().length - 6 @AT@ 30253 @LENGTH@ 1
|
||||
---------INS NumberLiteral@@6 @TO@ InfixExpression@@getFullElements().length - 6 @AT@ 30256 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD IfStatement@@if (currentIterator == null) { currentIterator=(Iterator)iteratorChain.get(0); lastUsedIterator=currentIterator; return;} @TO@ if (currentIterator == null) { currentIterator=(Iterator)iteratorChain.get(0); lastUsedIterator=currentIterator;} @AT@ 9758 @LENGTH@ 321
|
||||
---UPD Block@@ThenBody:{ currentIterator=(Iterator)iteratorChain.get(0); lastUsedIterator=currentIterator; return;} @TO@ ThenBody:{ currentIterator=(Iterator)iteratorChain.get(0); lastUsedIterator=currentIterator;} @AT@ 9787 @LENGTH@ 292
|
||||
------DEL ReturnStatement@@ @AT@ 10062 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestBeanMap.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestBeanMap.class) @AT@ 3262 @LENGTH@ 40
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestBeanMap.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestBeanMap.class) @AT@ 3269 @LENGTH@ 37
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestBeanMap.class) @AT@ 3269 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestBeanMap.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestBeanMap.class) @AT@ 3278 @LENGTH@ 28
|
||||
---------INS TypeLiteral@@TestBeanMap.class @TO@ SimpleName@@MethodName:makeSuite:[TestBeanMap.class] @AT@ 3288 @LENGTH@ 17
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestBeanMap.class] @AT@ 3269 @LENGTH@ 32
|
||||
------DEL New@@new @AT@ 3269 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3273 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestBeanMap.class @AT@ 3283 @LENGTH@ 17
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]TestSequencedHashMap, TestMap[TestMap.SupportsPut, TestMap.EntrySetSupportsRemove] @TO@ [public]TestSequencedHashMap, TestMap[TestMap.SupportsPut] @AT@ 3406 @LENGTH@ 5343
|
||||
---DEL SimpleType@@TestMap.EntrySetSupportsRemove @AT@ 3489 @LENGTH@ 30
|
||||
|
||||
|
||||
DEL MethodDeclaration@@public, void, MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap, @AT@ 8900 @LENGTH@ 195
|
||||
---DEL Modifier@@public @AT@ 8900 @LENGTH@ 6
|
||||
---DEL PrimitiveType@@void @AT@ 8907 @LENGTH@ 4
|
||||
---DEL SimpleName@@MethodName:testValuesRemovedFromValuesCollectionAreRemovedFromMap @AT@ 8912 @LENGTH@ 54
|
||||
|
||||
|
||||
INS TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @TO@ MethodDeclaration@@public, static, void, MethodName:main, final String[] args, @AT@ 856 @LENGTH@ 639
|
||||
---MOV IfStatement@@if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1);} @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 839 @LENGTH@ 147
|
||||
---MOV VariableDeclarationStatement@@final File source=new File(args[0]); @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 995 @LENGTH@ 42
|
||||
---MOV VariableDeclarationStatement@@final File destination=new File(args[1]); @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1046 @LENGTH@ 47
|
||||
---MOV VariableDeclarationStatement@@final FileOutputStream output=new FileOutputStream(destination); @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1102 @LENGTH@ 80
|
||||
---MOV VariableDeclarationStatement@@final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1191 @LENGTH@ 87
|
||||
---MOV ExpressionStatement@@MethodInvocation:copy(input,output) @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1287 @LENGTH@ 22
|
||||
---MOV ExpressionStatement@@MethodInvocation:input.close() @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1318 @LENGTH@ 14
|
||||
---MOV ExpressionStatement@@MethodInvocation:output.close() @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1341 @LENGTH@ 15
|
||||
---INS CatchClause@@catch (Exception e) { e.printStackTrace(); System.exit(1);} @TO@ TryStatement@@try { if (2 != args.length) { System.out.println("java Bzip2Uncompress <input> <output>"); System.exit(1); } final File source=new File(args[0]); final File destination=new File(args[1]); final FileOutputStream output=new FileOutputStream(destination); final CBZip2InputStream input=new CBZip2InputStream(new FileInputStream(source)); copy(input,output); input.close(); output.close();} catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1401 @LENGTH@ 94
|
||||
------INS SingleVariableDeclaration@@Exception e @TO@ CatchClause@@catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1407 @LENGTH@ 11
|
||||
---------INS SimpleType@@Exception @TO@ SingleVariableDeclaration@@Exception e @AT@ 1407 @LENGTH@ 9
|
||||
---------INS SimpleName@@e @TO@ SingleVariableDeclaration@@Exception e @AT@ 1417 @LENGTH@ 1
|
||||
------INS ExpressionStatement@@MethodInvocation:e.printStackTrace() @TO@ CatchClause@@catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1429 @LENGTH@ 20
|
||||
---------INS MethodInvocation@@e.printStackTrace() @TO@ ExpressionStatement@@MethodInvocation:e.printStackTrace() @AT@ 1429 @LENGTH@ 19
|
||||
------------INS SimpleName@@Name:e @TO@ MethodInvocation@@e.printStackTrace() @AT@ 1429 @LENGTH@ 1
|
||||
------------INS SimpleName@@MethodName:printStackTrace:[] @TO@ MethodInvocation@@e.printStackTrace() @AT@ 1431 @LENGTH@ 17
|
||||
------INS ExpressionStatement@@MethodInvocation:System.exit(1) @TO@ CatchClause@@catch (Exception e) { e.printStackTrace(); System.exit(1);} @AT@ 1458 @LENGTH@ 15
|
||||
---------INS MethodInvocation@@System.exit(1) @TO@ ExpressionStatement@@MethodInvocation:System.exit(1) @AT@ 1458 @LENGTH@ 14
|
||||
------------INS SimpleName@@Name:System @TO@ MethodInvocation@@System.exit(1) @AT@ 1458 @LENGTH@ 6
|
||||
------------INS SimpleName@@MethodName:exit:[1] @TO@ MethodInvocation@@System.exit(1) @AT@ 1465 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@1 @TO@ SimpleName@@MethodName:exit:[1] @AT@ 1470 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestLRUMap.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestLRUMap.class) @AT@ 3558 @LENGTH@ 39
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestLRUMap.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestLRUMap.class) @AT@ 3565 @LENGTH@ 36
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestLRUMap.class) @AT@ 3565 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestLRUMap.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestLRUMap.class) @AT@ 3574 @LENGTH@ 27
|
||||
---------INS TypeLiteral@@TestLRUMap.class @TO@ SimpleName@@MethodName:makeSuite:[TestLRUMap.class] @AT@ 3584 @LENGTH@ 16
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestLRUMap.class] @AT@ 3565 @LENGTH@ 31
|
||||
------DEL New@@new @AT@ 3565 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3569 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestLRUMap.class @AT@ 3579 @LENGTH@ 16
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestFastTreeMap.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestFastTreeMap.class) @AT@ 3429 @LENGTH@ 44
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestFastTreeMap.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestFastTreeMap.class) @AT@ 3428 @LENGTH@ 41
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestFastTreeMap.class) @AT@ 3428 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestFastTreeMap.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestFastTreeMap.class) @AT@ 3437 @LENGTH@ 32
|
||||
---------INS TypeLiteral@@TestFastTreeMap.class @TO@ SimpleName@@MethodName:makeSuite:[TestFastTreeMap.class] @AT@ 3447 @LENGTH@ 21
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestFastTreeMap.class] @AT@ 3436 @LENGTH@ 36
|
||||
------DEL New@@new @AT@ 3436 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3440 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestFastTreeMap.class @AT@ 3450 @LENGTH@ 21
|
||||
|
||||
|
||||
UPD MethodDeclaration@@protected, void, MethodName:tearDown, @TO@ protected, void, MethodName:tearDown, Exception, @AT@ 40031 @LENGTH@ 150
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@protected, void, MethodName:tearDown, @AT@ 40046 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new TestSuite(TestFastTreeMap1.class) @TO@ MethodInvocation:BulkTest.makeSuite(TestFastTreeMap1.class) @AT@ 3483 @LENGTH@ 45
|
||||
---INS MethodInvocation@@BulkTest.makeSuite(TestFastTreeMap1.class) @TO@ ReturnStatement@@ClassInstanceCreation:new TestSuite(TestFastTreeMap1.class) @AT@ 3490 @LENGTH@ 42
|
||||
------INS SimpleName@@Name:BulkTest @TO@ MethodInvocation@@BulkTest.makeSuite(TestFastTreeMap1.class) @AT@ 3490 @LENGTH@ 8
|
||||
------INS SimpleName@@MethodName:makeSuite:[TestFastTreeMap1.class] @TO@ MethodInvocation@@BulkTest.makeSuite(TestFastTreeMap1.class) @AT@ 3499 @LENGTH@ 33
|
||||
---------INS TypeLiteral@@TestFastTreeMap1.class @TO@ SimpleName@@MethodName:makeSuite:[TestFastTreeMap1.class] @AT@ 3509 @LENGTH@ 22
|
||||
---DEL ClassInstanceCreation@@TestSuite[TestFastTreeMap1.class] @AT@ 3490 @LENGTH@ 37
|
||||
------DEL New@@new @AT@ 3490 @LENGTH@ 3
|
||||
------DEL SimpleType@@TestSuite @AT@ 3494 @LENGTH@ 9
|
||||
------DEL TypeLiteral@@TestFastTreeMap1.class @AT@ 3504 @LENGTH@ 22
|
||||
@@ -0,0 +1,556 @@
|
||||
UPD ExpressionStatement@@MethodInvocation:assertFiltering(filter,new File("test"),true) @TO@ MethodInvocation:assertFiltering(filter,new File("test"),false) @AT@ 5088 @LENGTH@ 49
|
||||
---UPD MethodInvocation@@assertFiltering(filter,new File("test"),true) @TO@ assertFiltering(filter,new File("test"),false) @AT@ 5088 @LENGTH@ 48
|
||||
------UPD SimpleName@@MethodName:assertFiltering:[filter, new File("test"), true] @TO@ MethodName:assertFiltering:[filter, new File("test"), false] @AT@ 5088 @LENGTH@ 48
|
||||
---------UPD BooleanLiteral@@true @TO@ false @AT@ 5131 @LENGTH@ 4
|
||||
|
||||
|
||||
DEL ExpressionStatement@@MethodInvocation:suite.addTest(TestArrayIntList.suite()) @AT@ 3526 @LENGTH@ 40
|
||||
---DEL MethodInvocation@@suite.addTest(TestArrayIntList.suite()) @AT@ 3526 @LENGTH@ 39
|
||||
------DEL SimpleName@@Name:suite @AT@ 3526 @LENGTH@ 5
|
||||
------DEL SimpleName@@MethodName:addTest:[TestArrayIntList.suite()] @AT@ 3532 @LENGTH@ 33
|
||||
---------DEL MethodInvocation@@TestArrayIntList.suite() @AT@ 3540 @LENGTH@ 24
|
||||
------------DEL SimpleName@@Name:TestArrayIntList @AT@ 3540 @LENGTH@ 16
|
||||
------------DEL SimpleName@@MethodName:suite:[] @AT@ 3557 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals(value,list.get(i),0f) @TO@ MethodInvocation:assertEquals(value,list.get(i)) @AT@ 5527 @LENGTH@ 37
|
||||
---UPD MethodInvocation@@assertEquals(value,list.get(i),0f) @TO@ assertEquals(value,list.get(i)) @AT@ 5527 @LENGTH@ 36
|
||||
------UPD SimpleName@@MethodName:assertEquals:[value, list.get(i), 0f] @TO@ MethodName:assertEquals:[value, list.get(i)] @AT@ 5527 @LENGTH@ 36
|
||||
---------DEL NumberLiteral@@0f @AT@ 5560 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD ThrowStatement@@ClassInstanceCreation:new NoSuchElementException("No value has been returned yet.") @TO@ ClassInstanceCreation:new IllegalStateException("No value can be removed at present") @AT@ 11083 @LENGTH@ 68
|
||||
---UPD ClassInstanceCreation@@NoSuchElementException["No value has been returned yet."] @TO@ IllegalStateException["No value can be removed at present"] @AT@ 11089 @LENGTH@ 61
|
||||
------UPD SimpleType@@NoSuchElementException @TO@ IllegalStateException @AT@ 11093 @LENGTH@ 22
|
||||
------UPD StringLiteral@@"No value has been returned yet." @TO@ "No value can be removed at present" @AT@ 11116 @LENGTH@ 33
|
||||
|
||||
|
||||
MOV MethodDeclaration@@public, static, Test, MethodName:suite, @TO@ TypeDeclaration@@[public]TestAll, TestCase @AT@ 3305 @LENGTH@ 148
|
||||
---INS ExpressionStatement@@MethodInvocation:suite.addTest(TestFixedSizeList.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3554 @LENGTH@ 41
|
||||
------INS MethodInvocation@@suite.addTest(TestFixedSizeList.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestFixedSizeList.suite()) @AT@ 3554 @LENGTH@ 40
|
||||
---------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestFixedSizeList.suite()) @AT@ 3554 @LENGTH@ 5
|
||||
---------INS SimpleName@@MethodName:addTest:[TestFixedSizeList.suite()] @TO@ MethodInvocation@@suite.addTest(TestFixedSizeList.suite()) @AT@ 3560 @LENGTH@ 34
|
||||
------------INS MethodInvocation@@TestFixedSizeList.suite() @TO@ SimpleName@@MethodName:addTest:[TestFixedSizeList.suite()] @AT@ 3568 @LENGTH@ 25
|
||||
---------------INS SimpleName@@Name:TestFixedSizeList @TO@ MethodInvocation@@TestFixedSizeList.suite() @AT@ 3568 @LENGTH@ 17
|
||||
---------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestFixedSizeList.suite() @AT@ 3586 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:suite.addTest(TestFixedSizeMap.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3604 @LENGTH@ 40
|
||||
------INS MethodInvocation@@suite.addTest(TestFixedSizeMap.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestFixedSizeMap.suite()) @AT@ 3604 @LENGTH@ 39
|
||||
---------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestFixedSizeMap.suite()) @AT@ 3604 @LENGTH@ 5
|
||||
---------INS SimpleName@@MethodName:addTest:[TestFixedSizeMap.suite()] @TO@ MethodInvocation@@suite.addTest(TestFixedSizeMap.suite()) @AT@ 3610 @LENGTH@ 33
|
||||
------------INS MethodInvocation@@TestFixedSizeMap.suite() @TO@ SimpleName@@MethodName:addTest:[TestFixedSizeMap.suite()] @AT@ 3618 @LENGTH@ 24
|
||||
---------------INS SimpleName@@Name:TestFixedSizeMap @TO@ MethodInvocation@@TestFixedSizeMap.suite() @AT@ 3618 @LENGTH@ 16
|
||||
---------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestFixedSizeMap.suite() @AT@ 3635 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:suite.addTest(TestFixedSizeSortedMap.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3653 @LENGTH@ 46
|
||||
------INS MethodInvocation@@suite.addTest(TestFixedSizeSortedMap.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestFixedSizeSortedMap.suite()) @AT@ 3653 @LENGTH@ 45
|
||||
---------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestFixedSizeSortedMap.suite()) @AT@ 3653 @LENGTH@ 5
|
||||
---------INS SimpleName@@MethodName:addTest:[TestFixedSizeSortedMap.suite()] @TO@ MethodInvocation@@suite.addTest(TestFixedSizeSortedMap.suite()) @AT@ 3659 @LENGTH@ 39
|
||||
------------INS MethodInvocation@@TestFixedSizeSortedMap.suite() @TO@ SimpleName@@MethodName:addTest:[TestFixedSizeSortedMap.suite()] @AT@ 3667 @LENGTH@ 30
|
||||
---------------INS SimpleName@@Name:TestFixedSizeSortedMap @TO@ MethodInvocation@@TestFixedSizeSortedMap.suite() @AT@ 3667 @LENGTH@ 22
|
||||
---------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestFixedSizeSortedMap.suite() @AT@ 3690 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD IfStatement@@if (orderingBits.get(comparatorIndex) == true) { retval*=-1;} @TO@ if (orderingBits.get(comparatorIndex) == true) { if (Integer.MIN_VALUE == retval) { retval=Integer.MAX_VALUE; } else { retval*=-1; }} @AT@ 11529 @LENGTH@ 100
|
||||
---UPD Block@@ThenBody:{ retval*=-1;} @TO@ ElseBody:{ retval*=-1;} @AT@ 11576 @LENGTH@ 53
|
||||
---INS Block@@ThenBody:{ if (Integer.MIN_VALUE == retval) { retval=Integer.MAX_VALUE; } else { retval*=-1; }} @TO@ IfStatement@@if (orderingBits.get(comparatorIndex) == true) { retval*=-1;} @AT@ 11605 @LENGTH@ 238
|
||||
------INS IfStatement@@if (Integer.MIN_VALUE == retval) { retval=Integer.MAX_VALUE;} else { retval*=-1;} @TO@ Block@@ThenBody:{ if (Integer.MIN_VALUE == retval) { retval=Integer.MAX_VALUE; } else { retval*=-1; }} @AT@ 11627 @LENGTH@ 198
|
||||
---------MOV Block@@ThenBody:{ retval*=-1;} @TO@ IfStatement@@if (Integer.MIN_VALUE == retval) { retval=Integer.MAX_VALUE;} else { retval*=-1;} @AT@ 11576 @LENGTH@ 53
|
||||
---------INS InfixExpression@@Integer.MIN_VALUE == retval @TO@ IfStatement@@if (Integer.MIN_VALUE == retval) { retval=Integer.MAX_VALUE;} else { retval*=-1;} @AT@ 11630 @LENGTH@ 27
|
||||
------------INS QualifiedName@@Integer.MIN_VALUE @TO@ InfixExpression@@Integer.MIN_VALUE == retval @AT@ 11630 @LENGTH@ 17
|
||||
---------------INS SimpleName@@Integer @TO@ QualifiedName@@Integer.MIN_VALUE @AT@ 11630 @LENGTH@ 7
|
||||
---------------INS SimpleName@@MIN_VALUE @TO@ QualifiedName@@Integer.MIN_VALUE @AT@ 11638 @LENGTH@ 9
|
||||
------------INS Operator@@== @TO@ InfixExpression@@Integer.MIN_VALUE == retval @AT@ 11647 @LENGTH@ 2
|
||||
------------INS SimpleName@@retval @TO@ InfixExpression@@Integer.MIN_VALUE == retval @AT@ 11651 @LENGTH@ 6
|
||||
---------INS Block@@ThenBody:{ retval=Integer.MAX_VALUE;} @TO@ IfStatement@@if (Integer.MIN_VALUE == retval) { retval=Integer.MAX_VALUE;} else { retval*=-1;} @AT@ 11659 @LENGTH@ 75
|
||||
------------INS ExpressionStatement@@Assignment:retval=Integer.MAX_VALUE @TO@ Block@@ThenBody:{ retval=Integer.MAX_VALUE;} @AT@ 11685 @LENGTH@ 27
|
||||
---------------INS Assignment@@retval=Integer.MAX_VALUE @TO@ ExpressionStatement@@Assignment:retval=Integer.MAX_VALUE @AT@ 11685 @LENGTH@ 26
|
||||
------------------INS SimpleName@@retval @TO@ Assignment@@retval=Integer.MAX_VALUE @AT@ 11685 @LENGTH@ 6
|
||||
------------------INS Operator@@= @TO@ Assignment@@retval=Integer.MAX_VALUE @AT@ 11691 @LENGTH@ 1
|
||||
------------------INS QualifiedName@@Integer.MAX_VALUE @TO@ Assignment@@retval=Integer.MAX_VALUE @AT@ 11694 @LENGTH@ 17
|
||||
---------------------INS SimpleName@@Integer @TO@ QualifiedName@@Integer.MAX_VALUE @AT@ 11694 @LENGTH@ 7
|
||||
---------------------INS SimpleName@@MAX_VALUE @TO@ QualifiedName@@Integer.MAX_VALUE @AT@ 11702 @LENGTH@ 9
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(TestArrayUnsignedByteList.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3662 @LENGTH@ 49
|
||||
---INS MethodInvocation@@suite.addTest(TestArrayUnsignedByteList.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestArrayUnsignedByteList.suite()) @AT@ 3662 @LENGTH@ 48
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestArrayUnsignedByteList.suite()) @AT@ 3662 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[TestArrayUnsignedByteList.suite()] @TO@ MethodInvocation@@suite.addTest(TestArrayUnsignedByteList.suite()) @AT@ 3668 @LENGTH@ 42
|
||||
---------INS MethodInvocation@@TestArrayUnsignedByteList.suite() @TO@ SimpleName@@MethodName:addTest:[TestArrayUnsignedByteList.suite()] @AT@ 3676 @LENGTH@ 33
|
||||
------------INS SimpleName@@Name:TestArrayUnsignedByteList @TO@ MethodInvocation@@TestArrayUnsignedByteList.suite() @AT@ 3676 @LENGTH@ 25
|
||||
------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestArrayUnsignedByteList.suite() @AT@ 3702 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertFiltering(filter,new File("test/"),true) @TO@ MethodInvocation:assertFiltering(filter,new File("test/"),false) @AT@ 5146 @LENGTH@ 50
|
||||
---UPD MethodInvocation@@assertFiltering(filter,new File("test/"),true) @TO@ assertFiltering(filter,new File("test/"),false) @AT@ 5146 @LENGTH@ 49
|
||||
------UPD SimpleName@@MethodName:assertFiltering:[filter, new File("test/"), true] @TO@ MethodName:assertFiltering:[filter, new File("test/"), false] @AT@ 5146 @LENGTH@ 49
|
||||
---------UPD BooleanLiteral@@true @TO@ false @AT@ 5190 @LENGTH@ 4
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testMethodAccessor, Exception, @TO@ TypeDeclaration@@[public]TestBeanMap, TestMap @AT@ 11836 @LENGTH@ 270
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testMethodAccessor, Exception, @AT@ 11836 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testMethodAccessor, Exception, @AT@ 11843 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testMethodAccessor @TO@ MethodDeclaration@@public, void, MethodName:testMethodAccessor, Exception, @AT@ 11848 @LENGTH@ 18
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testMethodAccessor, Exception, @AT@ 11876 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @TO@ MethodDeclaration@@public, void, MethodName:testMethodAccessor, Exception, @AT@ 11896 @LENGTH@ 38
|
||||
------INS SimpleType@@BeanMap @TO@ VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @AT@ 11896 @LENGTH@ 7
|
||||
------INS VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @TO@ VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @AT@ 11904 @LENGTH@ 29
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @AT@ 11904 @LENGTH@ 3
|
||||
---------INS CastExpression@@(BeanMap)makeFullMap() @TO@ VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @AT@ 11910 @LENGTH@ 23
|
||||
------------INS SimpleType@@BeanMap @TO@ CastExpression@@(BeanMap)makeFullMap() @AT@ 11911 @LENGTH@ 7
|
||||
------------INS MethodInvocation@@MethodName:makeFullMap:[] @TO@ CastExpression@@(BeanMap)makeFullMap() @AT@ 11920 @LENGTH@ 13
|
||||
---INS VariableDeclarationStatement@@Method method=BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null); @TO@ MethodDeclaration@@public, void, MethodName:testMethodAccessor, Exception, @AT@ 11943 @LENGTH@ 88
|
||||
------INS SimpleType@@Method @TO@ VariableDeclarationStatement@@Method method=BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null); @AT@ 11943 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@method=BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null) @TO@ VariableDeclarationStatement@@Method method=BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null); @AT@ 11950 @LENGTH@ 80
|
||||
---------INS SimpleName@@method @TO@ VariableDeclarationFragment@@method=BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null) @AT@ 11950 @LENGTH@ 6
|
||||
---------INS MethodInvocation@@BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null) @TO@ VariableDeclarationFragment@@method=BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null) @AT@ 11959 @LENGTH@ 71
|
||||
------------INS TypeLiteral@@BeanWithProperties.class @TO@ MethodInvocation@@BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null) @AT@ 11959 @LENGTH@ 24
|
||||
------------INS SimpleName@@MethodName:getDeclaredMethod:["getSomeIntegerValue", null] @TO@ MethodInvocation@@BeanWithProperties.class.getDeclaredMethod("getSomeIntegerValue",null) @AT@ 11984 @LENGTH@ 46
|
||||
---------------INS StringLiteral@@"getSomeIntegerValue" @TO@ SimpleName@@MethodName:getDeclaredMethod:["getSomeIntegerValue", null] @AT@ 12002 @LENGTH@ 21
|
||||
---------------INS NullLiteral@@null @TO@ SimpleName@@MethodName:getDeclaredMethod:["getSomeIntegerValue", null] @AT@ 12025 @LENGTH@ 4
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(method,map.getReadMethod("someIntegerValue")) @TO@ MethodDeclaration@@public, void, MethodName:testMethodAccessor, Exception, @AT@ 12040 @LENGTH@ 60
|
||||
------INS MethodInvocation@@assertEquals(method,map.getReadMethod("someIntegerValue")) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(method,map.getReadMethod("someIntegerValue")) @AT@ 12040 @LENGTH@ 59
|
||||
---------INS SimpleName@@MethodName:assertEquals:[method, map.getReadMethod("someIntegerValue")] @TO@ MethodInvocation@@assertEquals(method,map.getReadMethod("someIntegerValue")) @AT@ 12040 @LENGTH@ 59
|
||||
------------INS SimpleName@@method @TO@ SimpleName@@MethodName:assertEquals:[method, map.getReadMethod("someIntegerValue")] @AT@ 12053 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@map.getReadMethod("someIntegerValue") @TO@ SimpleName@@MethodName:assertEquals:[method, map.getReadMethod("someIntegerValue")] @AT@ 12061 @LENGTH@ 37
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.getReadMethod("someIntegerValue") @AT@ 12061 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:getReadMethod:["someIntegerValue"] @TO@ MethodInvocation@@map.getReadMethod("someIntegerValue") @AT@ 12065 @LENGTH@ 33
|
||||
------------------INS StringLiteral@@"someIntegerValue" @TO@ SimpleName@@MethodName:getReadMethod:["someIntegerValue"] @AT@ 12079 @LENGTH@ 18
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(FileUtilTestCase.class)) @TO@ MethodInvocation:suite.addTest(new TestSuite(FileUtilsTestCase.class)) @AT@ 3194 @LENGTH@ 57
|
||||
---UPD MethodInvocation@@suite.addTest(new TestSuite(FileUtilTestCase.class)) @TO@ suite.addTest(new TestSuite(FileUtilsTestCase.class)) @AT@ 3194 @LENGTH@ 56
|
||||
------UPD SimpleName@@MethodName:addTest:[new TestSuite(FileUtilTestCase.class)] @TO@ MethodName:addTest:[new TestSuite(FileUtilsTestCase.class)] @AT@ 3200 @LENGTH@ 50
|
||||
---------UPD ClassInstanceCreation@@TestSuite[FileUtilTestCase.class] @TO@ TestSuite[FileUtilsTestCase.class] @AT@ 3209 @LENGTH@ 39
|
||||
------------UPD TypeLiteral@@FileUtilTestCase.class @TO@ FileUtilsTestCase.class @AT@ 3224 @LENGTH@ 22
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@int oldval=_data[index]; @TO@ int oldval=toInt(_data[index]); @AT@ 6464 @LENGTH@ 26
|
||||
---UPD VariableDeclarationFragment@@oldval=_data[index] @TO@ oldval=toInt(_data[index]) @AT@ 6468 @LENGTH@ 21
|
||||
------INS MethodInvocation@@toInt(_data[index]) @TO@ VariableDeclarationFragment@@oldval=_data[index] @AT@ 6477 @LENGTH@ 19
|
||||
---------INS SimpleName@@MethodName:toInt:[_data[index]] @TO@ MethodInvocation@@toInt(_data[index]) @AT@ 6477 @LENGTH@ 19
|
||||
------------INS ArrayAccess@@_data[index] @TO@ SimpleName@@MethodName:toInt:[_data[index]] @AT@ 6483 @LENGTH@ 12
|
||||
---------------MOV SimpleName@@_data @TO@ ArrayAccess@@_data[index] @AT@ 6477 @LENGTH@ 5
|
||||
---------------MOV SimpleName@@_data @TO@ ArrayAccess@@_data[index] @AT@ 6477 @LENGTH@ 5
|
||||
---------------MOV SimpleName@@index @TO@ ArrayAccess@@_data[index] @AT@ 6483 @LENGTH@ 5
|
||||
------DEL ArrayAccess@@_data[index] @AT@ 6477 @LENGTH@ 12
|
||||
|
||||
|
||||
UPD IfStatement@@if (that instanceof List) { try { return _list.equals(ListIntList.wrap((List)that)); } catch ( ClassCastException e) { return false; }catch ( NullPointerException e) { return false; }} else { return super.equals(that);} @TO@ if (that instanceof IntList) { return _list.equals(IntListList.wrap((IntList)that));} else { return super.equals(that);} @AT@ 4595 @LENGTH@ 341
|
||||
---UPD InstanceofExpression@@that instanceof List @TO@ that instanceof IntList @AT@ 4598 @LENGTH@ 20
|
||||
------UPD SimpleType@@List @TO@ IntList @AT@ 4614 @LENGTH@ 4
|
||||
---UPD Block@@ThenBody:{ try { return _list.equals(ListIntList.wrap((List)that)); } catch ( ClassCastException e) { return false; }catch ( NullPointerException e) { return false; }} @TO@ ThenBody:{ return _list.equals(IntListList.wrap((IntList)that));} @AT@ 4620 @LENGTH@ 260
|
||||
------DEL TryStatement@@try { return _list.equals(ListIntList.wrap((List)that));} catch (ClassCastException e) { return false;}catch (NullPointerException e) { return false;} @AT@ 4634 @LENGTH@ 236
|
||||
---------DEL ReturnStatement@@MethodInvocation:_list.equals(ListIntList.wrap((List)that)) @AT@ 4656 @LENGTH@ 50
|
||||
---------DEL CatchClause@@catch (ClassCastException e) { return false;} @AT@ 4721 @LENGTH@ 73
|
||||
------------DEL SingleVariableDeclaration@@ClassCastException e @AT@ 4727 @LENGTH@ 20
|
||||
---------------DEL SimpleType@@ClassCastException @AT@ 4727 @LENGTH@ 18
|
||||
---------------DEL SimpleName@@e @AT@ 4746 @LENGTH@ 1
|
||||
------------DEL ReturnStatement@@BooleanLiteral:false @AT@ 4767 @LENGTH@ 13
|
||||
---------------DEL BooleanLiteral@@false @AT@ 4774 @LENGTH@ 5
|
||||
---------DEL CatchClause@@catch (NullPointerException e) { return false;} @AT@ 4795 @LENGTH@ 75
|
||||
------------DEL SingleVariableDeclaration@@NullPointerException e @AT@ 4801 @LENGTH@ 22
|
||||
---------------DEL SimpleType@@NullPointerException @AT@ 4801 @LENGTH@ 20
|
||||
---------------DEL SimpleName@@e @AT@ 4822 @LENGTH@ 1
|
||||
------------DEL ReturnStatement@@BooleanLiteral:false @AT@ 4843 @LENGTH@ 13
|
||||
---------------DEL BooleanLiteral@@false @AT@ 4850 @LENGTH@ 5
|
||||
------INS ReturnStatement@@MethodInvocation:_list.equals(IntListList.wrap((IntList)that)) @TO@ Block@@ThenBody:{ try { return _list.equals(ListIntList.wrap((List)that)); } catch ( ClassCastException e) { return false; }catch ( NullPointerException e) { return false; }} @AT@ 4637 @LENGTH@ 53
|
||||
---------MOV MethodInvocation@@_list.equals(ListIntList.wrap((List)that)) @TO@ ReturnStatement@@MethodInvocation:_list.equals(IntListList.wrap((IntList)that)) @AT@ 4663 @LENGTH@ 42
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(org.apache.commons.collections.primitives.TestAll.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 4927 @LENGTH@ 73
|
||||
---INS MethodInvocation@@suite.addTest(org.apache.commons.collections.primitives.TestAll.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(org.apache.commons.collections.primitives.TestAll.suite()) @AT@ 4927 @LENGTH@ 72
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(org.apache.commons.collections.primitives.TestAll.suite()) @AT@ 4927 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[org.apache.commons.collections.primitives.TestAll.suite()] @TO@ MethodInvocation@@suite.addTest(org.apache.commons.collections.primitives.TestAll.suite()) @AT@ 4933 @LENGTH@ 66
|
||||
---------INS MethodInvocation@@org.apache.commons.collections.primitives.TestAll.suite() @TO@ SimpleName@@MethodName:addTest:[org.apache.commons.collections.primitives.TestAll.suite()] @AT@ 4941 @LENGTH@ 57
|
||||
------------INS QualifiedName@@Name:org.apache.commons.collections.primitives.TestAll @TO@ MethodInvocation@@org.apache.commons.collections.primitives.TestAll.suite() @AT@ 4941 @LENGTH@ 49
|
||||
------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@org.apache.commons.collections.primitives.TestAll.suite() @AT@ 4991 @LENGTH@ 7
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @TO@ TypeDeclaration@@[public]TestMapUtils, BulkTest @AT@ 7157 @LENGTH@ 562
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7157 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7164 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testLazyMapFactory @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7169 @LENGTH@ 18
|
||||
---INS VariableDeclarationStatement@@Map map=MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
); @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7200 @LENGTH@ 159
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@Map map=MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
); @AT@ 7200 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@map=MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
) @TO@ VariableDeclarationStatement@@Map map=MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
); @AT@ 7204 @LENGTH@ 154
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
) @AT@ 7204 @LENGTH@ 3
|
||||
---------INS MethodInvocation@@MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
) @TO@ VariableDeclarationFragment@@map=MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
) @AT@ 7210 @LENGTH@ 148
|
||||
------------INS SimpleName@@Name:MapUtils @TO@ MethodInvocation@@MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
) @AT@ 7210 @LENGTH@ 8
|
||||
------------INS SimpleName@@MethodName:lazyMap:[new HashMap(), new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
] @TO@ MethodInvocation@@MapUtils.lazyMap(new HashMap(),new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
) @AT@ 7219 @LENGTH@ 139
|
||||
---------------INS ClassInstanceCreation@@HashMap[] @TO@ SimpleName@@MethodName:lazyMap:[new HashMap(), new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
] @AT@ 7227 @LENGTH@ 13
|
||||
------------------INS New@@new @TO@ ClassInstanceCreation@@HashMap[] @AT@ 7227 @LENGTH@ 3
|
||||
------------------INS SimpleType@@HashMap @TO@ ClassInstanceCreation@@HashMap[] @AT@ 7231 @LENGTH@ 7
|
||||
---------------INS ClassInstanceCreation@@Factory[] @TO@ SimpleName@@MethodName:lazyMap:[new HashMap(), new Factory(){
|
||||
public Object create(){
|
||||
return new Integer(5);
|
||||
}
|
||||
}
|
||||
] @AT@ 7242 @LENGTH@ 115
|
||||
------------------INS New@@new @TO@ ClassInstanceCreation@@Factory[] @AT@ 7242 @LENGTH@ 3
|
||||
------------------INS SimpleType@@Factory @TO@ ClassInstanceCreation@@Factory[] @AT@ 7246 @LENGTH@ 7
|
||||
------------------INS AnonymousClassDeclaration@@AnonymousClass @TO@ ClassInstanceCreation@@Factory[] @AT@ 7256 @LENGTH@ 101
|
||||
---------------------INS MethodDeclaration@@public, Object, MethodName:create, @TO@ AnonymousClassDeclaration@@AnonymousClass @AT@ 7270 @LENGTH@ 77
|
||||
------------------------INS Modifier@@public @TO@ MethodDeclaration@@public, Object, MethodName:create, @AT@ 7270 @LENGTH@ 6
|
||||
------------------------INS SimpleType@@Object @TO@ MethodDeclaration@@public, Object, MethodName:create, @AT@ 7277 @LENGTH@ 6
|
||||
------------------------INS SimpleName@@MethodName:create @TO@ MethodDeclaration@@public, Object, MethodName:create, @AT@ 7284 @LENGTH@ 6
|
||||
------------------------INS ReturnStatement@@ClassInstanceCreation:new Integer(5) @TO@ MethodDeclaration@@public, Object, MethodName:create, @AT@ 7311 @LENGTH@ 22
|
||||
---------------------------INS ClassInstanceCreation@@Integer[5] @TO@ ReturnStatement@@ClassInstanceCreation:new Integer(5) @AT@ 7318 @LENGTH@ 14
|
||||
------------------------------INS New@@new @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7318 @LENGTH@ 3
|
||||
------------------------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7322 @LENGTH@ 7
|
||||
------------------------------INS NumberLiteral@@5 @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7330 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(0,map.size()) @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7369 @LENGTH@ 28
|
||||
------INS MethodInvocation@@assertEquals(0,map.size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(0,map.size()) @AT@ 7369 @LENGTH@ 27
|
||||
---------INS SimpleName@@MethodName:assertEquals:[0, map.size()] @TO@ MethodInvocation@@assertEquals(0,map.size()) @AT@ 7369 @LENGTH@ 27
|
||||
------------INS NumberLiteral@@0 @TO@ SimpleName@@MethodName:assertEquals:[0, map.size()] @AT@ 7382 @LENGTH@ 1
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[0, map.size()] @AT@ 7385 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 7385 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 7389 @LENGTH@ 6
|
||||
---INS VariableDeclarationStatement@@Integer i1=(Integer)map.get("Five"); @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7406 @LENGTH@ 39
|
||||
------INS SimpleType@@Integer @TO@ VariableDeclarationStatement@@Integer i1=(Integer)map.get("Five"); @AT@ 7406 @LENGTH@ 7
|
||||
------INS VariableDeclarationFragment@@i1=(Integer)map.get("Five") @TO@ VariableDeclarationStatement@@Integer i1=(Integer)map.get("Five"); @AT@ 7414 @LENGTH@ 30
|
||||
---------INS SimpleName@@i1 @TO@ VariableDeclarationFragment@@i1=(Integer)map.get("Five") @AT@ 7414 @LENGTH@ 2
|
||||
---------INS CastExpression@@(Integer)map.get("Five") @TO@ VariableDeclarationFragment@@i1=(Integer)map.get("Five") @AT@ 7419 @LENGTH@ 25
|
||||
------------INS SimpleType@@Integer @TO@ CastExpression@@(Integer)map.get("Five") @AT@ 7420 @LENGTH@ 7
|
||||
------------INS MethodInvocation@@map.get("Five") @TO@ CastExpression@@(Integer)map.get("Five") @AT@ 7429 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.get("Five") @AT@ 7429 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:get:["Five"] @TO@ MethodInvocation@@map.get("Five") @AT@ 7433 @LENGTH@ 11
|
||||
------------------INS StringLiteral@@"Five" @TO@ SimpleName@@MethodName:get:["Five"] @AT@ 7437 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(new Integer(5),i1) @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7454 @LENGTH@ 33
|
||||
------INS MethodInvocation@@assertEquals(new Integer(5),i1) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(new Integer(5),i1) @AT@ 7454 @LENGTH@ 32
|
||||
---------INS SimpleName@@MethodName:assertEquals:[new Integer(5), i1] @TO@ MethodInvocation@@assertEquals(new Integer(5),i1) @AT@ 7454 @LENGTH@ 32
|
||||
------------INS ClassInstanceCreation@@Integer[5] @TO@ SimpleName@@MethodName:assertEquals:[new Integer(5), i1] @AT@ 7467 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7467 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7471 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@5 @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7479 @LENGTH@ 1
|
||||
------------INS SimpleName@@i1 @TO@ SimpleName@@MethodName:assertEquals:[new Integer(5), i1] @AT@ 7483 @LENGTH@ 2
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(1,map.size()) @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7496 @LENGTH@ 28
|
||||
------INS MethodInvocation@@assertEquals(1,map.size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(1,map.size()) @AT@ 7496 @LENGTH@ 27
|
||||
---------INS SimpleName@@MethodName:assertEquals:[1, map.size()] @TO@ MethodInvocation@@assertEquals(1,map.size()) @AT@ 7496 @LENGTH@ 27
|
||||
------------INS NumberLiteral@@1 @TO@ SimpleName@@MethodName:assertEquals:[1, map.size()] @AT@ 7509 @LENGTH@ 1
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[1, map.size()] @AT@ 7512 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 7512 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 7516 @LENGTH@ 6
|
||||
---INS VariableDeclarationStatement@@Integer i2=(Integer)map.get(new String(new char[]{'F','i','v','e'})); @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7533 @LENGTH@ 73
|
||||
------INS SimpleType@@Integer @TO@ VariableDeclarationStatement@@Integer i2=(Integer)map.get(new String(new char[]{'F','i','v','e'})); @AT@ 7533 @LENGTH@ 7
|
||||
------INS VariableDeclarationFragment@@i2=(Integer)map.get(new String(new char[]{'F','i','v','e'})) @TO@ VariableDeclarationStatement@@Integer i2=(Integer)map.get(new String(new char[]{'F','i','v','e'})); @AT@ 7541 @LENGTH@ 64
|
||||
---------INS SimpleName@@i2 @TO@ VariableDeclarationFragment@@i2=(Integer)map.get(new String(new char[]{'F','i','v','e'})) @AT@ 7541 @LENGTH@ 2
|
||||
---------INS CastExpression@@(Integer)map.get(new String(new char[]{'F','i','v','e'})) @TO@ VariableDeclarationFragment@@i2=(Integer)map.get(new String(new char[]{'F','i','v','e'})) @AT@ 7546 @LENGTH@ 59
|
||||
------------INS SimpleType@@Integer @TO@ CastExpression@@(Integer)map.get(new String(new char[]{'F','i','v','e'})) @AT@ 7547 @LENGTH@ 7
|
||||
------------INS MethodInvocation@@map.get(new String(new char[]{'F','i','v','e'})) @TO@ CastExpression@@(Integer)map.get(new String(new char[]{'F','i','v','e'})) @AT@ 7556 @LENGTH@ 49
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.get(new String(new char[]{'F','i','v','e'})) @AT@ 7556 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:get:[new String(new char[]{'F','i','v','e'})] @TO@ MethodInvocation@@map.get(new String(new char[]{'F','i','v','e'})) @AT@ 7560 @LENGTH@ 45
|
||||
------------------INS ClassInstanceCreation@@String[new char[]{'F','i','v','e'}] @TO@ SimpleName@@MethodName:get:[new String(new char[]{'F','i','v','e'})] @AT@ 7564 @LENGTH@ 40
|
||||
---------------------INS New@@new @TO@ ClassInstanceCreation@@String[new char[]{'F','i','v','e'}] @AT@ 7564 @LENGTH@ 3
|
||||
---------------------INS SimpleType@@String @TO@ ClassInstanceCreation@@String[new char[]{'F','i','v','e'}] @AT@ 7568 @LENGTH@ 6
|
||||
---------------------INS ArrayCreation@@new char[]{'F','i','v','e'} @TO@ ClassInstanceCreation@@String[new char[]{'F','i','v','e'}] @AT@ 7575 @LENGTH@ 28
|
||||
------------------------INS ArrayType@@char[] @TO@ ArrayCreation@@new char[]{'F','i','v','e'} @AT@ 7579 @LENGTH@ 6
|
||||
---------------------------INS PrimitiveType@@char @TO@ ArrayType@@char[] @AT@ 7579 @LENGTH@ 4
|
||||
------------------------INS ArrayInitializer@@{'F','i','v','e'} @TO@ ArrayCreation@@new char[]{'F','i','v','e'} @AT@ 7586 @LENGTH@ 17
|
||||
---------------------------INS CharacterLiteral@@'F' @TO@ ArrayInitializer@@{'F','i','v','e'} @AT@ 7587 @LENGTH@ 3
|
||||
---------------------------INS CharacterLiteral@@'i' @TO@ ArrayInitializer@@{'F','i','v','e'} @AT@ 7591 @LENGTH@ 3
|
||||
---------------------------INS CharacterLiteral@@'v' @TO@ ArrayInitializer@@{'F','i','v','e'} @AT@ 7595 @LENGTH@ 3
|
||||
---------------------------INS CharacterLiteral@@'e' @TO@ ArrayInitializer@@{'F','i','v','e'} @AT@ 7599 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(new Integer(5),i2) @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7615 @LENGTH@ 33
|
||||
------INS MethodInvocation@@assertEquals(new Integer(5),i2) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(new Integer(5),i2) @AT@ 7615 @LENGTH@ 32
|
||||
---------INS SimpleName@@MethodName:assertEquals:[new Integer(5), i2] @TO@ MethodInvocation@@assertEquals(new Integer(5),i2) @AT@ 7615 @LENGTH@ 32
|
||||
------------INS ClassInstanceCreation@@Integer[5] @TO@ SimpleName@@MethodName:assertEquals:[new Integer(5), i2] @AT@ 7628 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7628 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7632 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@5 @TO@ ClassInstanceCreation@@Integer[5] @AT@ 7640 @LENGTH@ 1
|
||||
------------INS SimpleName@@i2 @TO@ SimpleName@@MethodName:assertEquals:[new Integer(5), i2] @AT@ 7644 @LENGTH@ 2
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(1,map.size()) @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7657 @LENGTH@ 28
|
||||
------INS MethodInvocation@@assertEquals(1,map.size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(1,map.size()) @AT@ 7657 @LENGTH@ 27
|
||||
---------INS SimpleName@@MethodName:assertEquals:[1, map.size()] @TO@ MethodInvocation@@assertEquals(1,map.size()) @AT@ 7657 @LENGTH@ 27
|
||||
------------INS NumberLiteral@@1 @TO@ SimpleName@@MethodName:assertEquals:[1, map.size()] @AT@ 7670 @LENGTH@ 1
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[1, map.size()] @AT@ 7673 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 7673 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 7677 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertSame(i1,i2) @TO@ MethodDeclaration@@public, void, MethodName:testLazyMapFactory, @AT@ 7694 @LENGTH@ 19
|
||||
------INS MethodInvocation@@assertSame(i1,i2) @TO@ ExpressionStatement@@MethodInvocation:assertSame(i1,i2) @AT@ 7694 @LENGTH@ 18
|
||||
---------INS SimpleName@@MethodName:assertSame:[i1, i2] @TO@ MethodInvocation@@assertSame(i1,i2) @AT@ 7694 @LENGTH@ 18
|
||||
------------INS SimpleName@@i1 @TO@ SimpleName@@MethodName:assertSame:[i1, i2] @AT@ 7705 @LENGTH@ 2
|
||||
------------INS SimpleName@@i2 @TO@ SimpleName@@MethodName:assertSame:[i1, i2] @AT@ 7709 @LENGTH@ 2
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, String, MethodName:toString, @TO@ TypeDeclaration@@[public]BeanMap, AbstractMap[Cloneable] @AT@ 7194 @LENGTH@ 88
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 7194 @LENGTH@ 6
|
||||
---INS SimpleType@@String @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 7201 @LENGTH@ 6
|
||||
---INS SimpleName@@MethodName:toString @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 7208 @LENGTH@ 8
|
||||
---INS ReturnStatement@@InfixExpression:"BeanMap<" + String.valueOf(bean) + ">" @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 7229 @LENGTH@ 47
|
||||
------INS InfixExpression@@"BeanMap<" + String.valueOf(bean) + ">" @TO@ ReturnStatement@@InfixExpression:"BeanMap<" + String.valueOf(bean) + ">" @AT@ 7236 @LENGTH@ 39
|
||||
---------INS StringLiteral@@"BeanMap<" @TO@ InfixExpression@@"BeanMap<" + String.valueOf(bean) + ">" @AT@ 7236 @LENGTH@ 10
|
||||
---------INS Operator@@+ @TO@ InfixExpression@@"BeanMap<" + String.valueOf(bean) + ">" @AT@ 7246 @LENGTH@ 1
|
||||
---------INS MethodInvocation@@String.valueOf(bean) @TO@ InfixExpression@@"BeanMap<" + String.valueOf(bean) + ">" @AT@ 7249 @LENGTH@ 20
|
||||
------------INS SimpleName@@Name:String @TO@ MethodInvocation@@String.valueOf(bean) @AT@ 7249 @LENGTH@ 6
|
||||
------------INS SimpleName@@MethodName:valueOf:[bean] @TO@ MethodInvocation@@String.valueOf(bean) @AT@ 7256 @LENGTH@ 13
|
||||
---------------INS SimpleName@@bean @TO@ SimpleName@@MethodName:valueOf:[bean] @AT@ 7264 @LENGTH@ 4
|
||||
---------INS StringLiteral@@">" @TO@ InfixExpression@@"BeanMap<" + String.valueOf(bean) + ">" @AT@ 7272 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD IfStatement@@if (that instanceof IntList) { return _list.equals(ListIntList.wrap((List)that));} else { return super.equals(that);} @TO@ if (that instanceof List) { try { return _list.equals(ListIntList.wrap((List)that)); } catch ( NullPointerException e) { return false; }catch ( ClassCastException e) { return false; }} else { return super.equals(that);} @AT@ 4634 @LENGTH@ 158
|
||||
---UPD InstanceofExpression@@that instanceof IntList @TO@ that instanceof List @AT@ 4637 @LENGTH@ 23
|
||||
------UPD SimpleType@@IntList @TO@ List @AT@ 4653 @LENGTH@ 7
|
||||
---UPD Block@@ThenBody:{ return _list.equals(ListIntList.wrap((List)that));} @TO@ ThenBody:{ try { return _list.equals(ListIntList.wrap((List)that)); } catch ( NullPointerException e) { return false; }catch ( ClassCastException e) { return false; }} @AT@ 4662 @LENGTH@ 74
|
||||
------INS TryStatement@@try { return _list.equals(ListIntList.wrap((List)that));} catch (NullPointerException e) { return false;}catch (ClassCastException e) { return false;} @TO@ Block@@ThenBody:{ return _list.equals(ListIntList.wrap((List)that));} @AT@ 4673 @LENGTH@ 236
|
||||
---------MOV ReturnStatement@@MethodInvocation:_list.equals(ListIntList.wrap((List)that)) @TO@ TryStatement@@try { return _list.equals(ListIntList.wrap((List)that));} catch (NullPointerException e) { return false;}catch (ClassCastException e) { return false;} @AT@ 4676 @LENGTH@ 50
|
||||
---------INS CatchClause@@catch (NullPointerException e) { return false;} @TO@ TryStatement@@try { return _list.equals(ListIntList.wrap((List)that));} catch (NullPointerException e) { return false;}catch (ClassCastException e) { return false;} @AT@ 4760 @LENGTH@ 75
|
||||
------------INS SingleVariableDeclaration@@NullPointerException e @TO@ CatchClause@@catch (NullPointerException e) { return false;} @AT@ 4766 @LENGTH@ 22
|
||||
---------------INS SimpleType@@NullPointerException @TO@ SingleVariableDeclaration@@NullPointerException e @AT@ 4766 @LENGTH@ 20
|
||||
---------------INS SimpleName@@e @TO@ SingleVariableDeclaration@@NullPointerException e @AT@ 4787 @LENGTH@ 1
|
||||
------------INS ReturnStatement@@BooleanLiteral:false @TO@ CatchClause@@catch (NullPointerException e) { return false;} @AT@ 4808 @LENGTH@ 13
|
||||
---------------INS BooleanLiteral@@false @TO@ ReturnStatement@@BooleanLiteral:false @AT@ 4815 @LENGTH@ 5
|
||||
---------INS CatchClause@@catch (ClassCastException e) { return false;} @TO@ TryStatement@@try { return _list.equals(ListIntList.wrap((List)that));} catch (NullPointerException e) { return false;}catch (ClassCastException e) { return false;} @AT@ 4836 @LENGTH@ 73
|
||||
------------INS SingleVariableDeclaration@@ClassCastException e @TO@ CatchClause@@catch (ClassCastException e) { return false;} @AT@ 4842 @LENGTH@ 20
|
||||
---------------INS SimpleType@@ClassCastException @TO@ SingleVariableDeclaration@@ClassCastException e @AT@ 4842 @LENGTH@ 18
|
||||
---------------INS SimpleName@@e @TO@ SingleVariableDeclaration@@ClassCastException e @AT@ 4861 @LENGTH@ 1
|
||||
------------INS ReturnStatement@@BooleanLiteral:false @TO@ CatchClause@@catch (ClassCastException e) { return false;} @AT@ 4882 @LENGTH@ 13
|
||||
---------------INS BooleanLiteral@@false @TO@ ReturnStatement@@BooleanLiteral:false @AT@ 4889 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD ForStatement@@for (int j=0; j < 3; j++) { assertTrue(list.isEmpty()); list.trimToSize(); assertTrue(list.isEmpty()); for (int i=0; i < 10; i++) { list.add((byte)i); } for (int i=0; i < 10; i++) { assertEquals((byte)i,list.get(i),0f); } list.trimToSize(); for (int i=0; i < 10; i++) { assertEquals((byte)i,list.get(i),0f); } for (int i=0; i < 10; i+=2) { list.removeElement((byte)i); } for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i),0f); } list.trimToSize(); for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i),0f); } list.trimToSize(); for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i),0f); } list.clear();} @TO@ for (int j=0; j < 3; j++) { assertTrue(list.isEmpty()); list.trimToSize(); assertTrue(list.isEmpty()); for (int i=0; i < 10; i++) { list.add((byte)i); } for (int i=0; i < 10; i++) { assertEquals((byte)i,list.get(i)); } list.trimToSize(); for (int i=0; i < 10; i++) { assertEquals((byte)i,list.get(i)); } for (int i=0; i < 10; i+=2) { list.removeElement((byte)i); } for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i)); } list.trimToSize(); for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i)); } list.trimToSize(); for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i)); } list.clear();} @AT@ 6619 @LENGTH@ 1108
|
||||
---UPD ForStatement@@for (int i=0; i < 10; i++) { assertEquals((byte)i,list.get(i),0f);} @TO@ for (int i=0; i < 10; i++) { assertEquals((byte)i,list.get(i));} @AT@ 6886 @LENGTH@ 92
|
||||
------UPD ExpressionStatement@@MethodInvocation:assertEquals((byte)i,list.get(i),0f) @TO@ MethodInvocation:assertEquals((byte)i,list.get(i)) @AT@ 6926 @LENGTH@ 38
|
||||
---------UPD MethodInvocation@@assertEquals((byte)i,list.get(i),0f) @TO@ assertEquals((byte)i,list.get(i)) @AT@ 6926 @LENGTH@ 37
|
||||
------------UPD SimpleName@@MethodName:assertEquals:[(byte)i, list.get(i), 0f] @TO@ MethodName:assertEquals:[(byte)i, list.get(i)] @AT@ 6926 @LENGTH@ 37
|
||||
---------------DEL NumberLiteral@@0f @AT@ 6960 @LENGTH@ 2
|
||||
---UPD ForStatement@@for (int i=0; i < 10; i++) { assertEquals((byte)i,list.get(i),0f);} @TO@ for (int i=0; i < 10; i++) { assertEquals((byte)i,list.get(i));} @AT@ 7040 @LENGTH@ 92
|
||||
------UPD ExpressionStatement@@MethodInvocation:assertEquals((byte)i,list.get(i),0f) @TO@ MethodInvocation:assertEquals((byte)i,list.get(i)) @AT@ 7080 @LENGTH@ 38
|
||||
---------UPD MethodInvocation@@assertEquals((byte)i,list.get(i),0f) @TO@ assertEquals((byte)i,list.get(i)) @AT@ 7080 @LENGTH@ 37
|
||||
------------UPD SimpleName@@MethodName:assertEquals:[(byte)i, list.get(i), 0f] @TO@ MethodName:assertEquals:[(byte)i, list.get(i)] @AT@ 7080 @LENGTH@ 37
|
||||
---------------DEL NumberLiteral@@0f @AT@ 7114 @LENGTH@ 2
|
||||
---UPD ForStatement@@for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i),0f);} @TO@ for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i));} @AT@ 7259 @LENGTH@ 97
|
||||
------UPD ExpressionStatement@@MethodInvocation:assertEquals((byte)(2 * i) + 1,list.get(i),0f) @TO@ MethodInvocation:assertEquals((byte)(2 * i) + 1,list.get(i)) @AT@ 7298 @LENGTH@ 44
|
||||
---------UPD MethodInvocation@@assertEquals((byte)(2 * i) + 1,list.get(i),0f) @TO@ assertEquals((byte)(2 * i) + 1,list.get(i)) @AT@ 7298 @LENGTH@ 43
|
||||
------------UPD SimpleName@@MethodName:assertEquals:[(byte)(2 * i) + 1, list.get(i), 0f] @TO@ MethodName:assertEquals:[(byte)(2 * i) + 1, list.get(i)] @AT@ 7298 @LENGTH@ 43
|
||||
---------------DEL NumberLiteral@@0f @AT@ 7338 @LENGTH@ 2
|
||||
---UPD ForStatement@@for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i),0f);} @TO@ for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i));} @AT@ 7426 @LENGTH@ 97
|
||||
------UPD ExpressionStatement@@MethodInvocation:assertEquals((byte)(2 * i) + 1,list.get(i),0f) @TO@ MethodInvocation:assertEquals((byte)(2 * i) + 1,list.get(i)) @AT@ 7465 @LENGTH@ 44
|
||||
---------UPD MethodInvocation@@assertEquals((byte)(2 * i) + 1,list.get(i),0f) @TO@ assertEquals((byte)(2 * i) + 1,list.get(i)) @AT@ 7465 @LENGTH@ 43
|
||||
------------UPD SimpleName@@MethodName:assertEquals:[(byte)(2 * i) + 1, list.get(i), 0f] @TO@ MethodName:assertEquals:[(byte)(2 * i) + 1, list.get(i)] @AT@ 7465 @LENGTH@ 43
|
||||
---------------DEL NumberLiteral@@0f @AT@ 7505 @LENGTH@ 2
|
||||
---UPD ForStatement@@for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i),0f);} @TO@ for (int i=0; i < 5; i++) { assertEquals((byte)(2 * i) + 1,list.get(i));} @AT@ 7589 @LENGTH@ 97
|
||||
------UPD ExpressionStatement@@MethodInvocation:assertEquals((byte)(2 * i) + 1,list.get(i),0f) @TO@ MethodInvocation:assertEquals((byte)(2 * i) + 1,list.get(i)) @AT@ 7628 @LENGTH@ 44
|
||||
---------UPD MethodInvocation@@assertEquals((byte)(2 * i) + 1,list.get(i),0f) @TO@ assertEquals((byte)(2 * i) + 1,list.get(i)) @AT@ 7628 @LENGTH@ 43
|
||||
------------UPD SimpleName@@MethodName:assertEquals:[(byte)(2 * i) + 1, list.get(i), 0f] @TO@ MethodName:assertEquals:[(byte)(2 * i) + 1, list.get(i)] @AT@ 7628 @LENGTH@ 43
|
||||
---------------DEL NumberLiteral@@0f @AT@ 7668 @LENGTH@ 2
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(TestFixedOrderComparator.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3526 @LENGTH@ 48
|
||||
---INS MethodInvocation@@suite.addTest(TestFixedOrderComparator.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestFixedOrderComparator.suite()) @AT@ 3526 @LENGTH@ 47
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestFixedOrderComparator.suite()) @AT@ 3526 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[TestFixedOrderComparator.suite()] @TO@ MethodInvocation@@suite.addTest(TestFixedOrderComparator.suite()) @AT@ 3532 @LENGTH@ 41
|
||||
---------INS MethodInvocation@@TestFixedOrderComparator.suite() @TO@ SimpleName@@MethodName:addTest:[TestFixedOrderComparator.suite()] @AT@ 3540 @LENGTH@ 32
|
||||
------------INS SimpleName@@Name:TestFixedOrderComparator @TO@ MethodInvocation@@TestFixedOrderComparator.suite() @AT@ 3540 @LENGTH@ 24
|
||||
------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestFixedOrderComparator.suite() @AT@ 3565 @LENGTH@ 7
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, String, MethodName:toString, @TO@ TypeDeclaration@@[public, abstract]AbstractRandomAccessIntList, AbstractIntCollection[IntList] @AT@ 6446 @LENGTH@ 350
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 6446 @LENGTH@ 6
|
||||
---INS SimpleType@@String @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 6453 @LENGTH@ 6
|
||||
---INS SimpleName@@MethodName:toString @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 6460 @LENGTH@ 8
|
||||
---INS VariableDeclarationStatement@@StringBuffer buf=new StringBuffer(); @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 6481 @LENGTH@ 38
|
||||
------INS SimpleType@@StringBuffer @TO@ VariableDeclarationStatement@@StringBuffer buf=new StringBuffer(); @AT@ 6481 @LENGTH@ 12
|
||||
------INS VariableDeclarationFragment@@buf=new StringBuffer() @TO@ VariableDeclarationStatement@@StringBuffer buf=new StringBuffer(); @AT@ 6494 @LENGTH@ 24
|
||||
---------INS SimpleName@@buf @TO@ VariableDeclarationFragment@@buf=new StringBuffer() @AT@ 6494 @LENGTH@ 3
|
||||
---------INS ClassInstanceCreation@@StringBuffer[] @TO@ VariableDeclarationFragment@@buf=new StringBuffer() @AT@ 6500 @LENGTH@ 18
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@StringBuffer[] @AT@ 6500 @LENGTH@ 3
|
||||
------------INS SimpleType@@StringBuffer @TO@ ClassInstanceCreation@@StringBuffer[] @AT@ 6504 @LENGTH@ 12
|
||||
---INS ExpressionStatement@@MethodInvocation:buf.append("[") @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 6528 @LENGTH@ 16
|
||||
------INS MethodInvocation@@buf.append("[") @TO@ ExpressionStatement@@MethodInvocation:buf.append("[") @AT@ 6528 @LENGTH@ 15
|
||||
---------INS SimpleName@@Name:buf @TO@ MethodInvocation@@buf.append("[") @AT@ 6528 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:append:["["] @TO@ MethodInvocation@@buf.append("[") @AT@ 6532 @LENGTH@ 11
|
||||
------------INS StringLiteral@@"[" @TO@ SimpleName@@MethodName:append:["["] @AT@ 6539 @LENGTH@ 3
|
||||
---INS ForStatement@@for (IntIterator iter=iterator(); iter.hasNext(); ) { buf.append(iter.next()); if (iter.hasNext()) { buf.append(", "); }} @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 6553 @LENGTH@ 181
|
||||
------INS VariableDeclarationExpression@@IntIterator iter=iterator() @TO@ ForStatement@@for (IntIterator iter=iterator(); iter.hasNext(); ) { buf.append(iter.next()); if (iter.hasNext()) { buf.append(", "); }} @AT@ 6557 @LENGTH@ 29
|
||||
---------INS SimpleType@@IntIterator @TO@ VariableDeclarationExpression@@IntIterator iter=iterator() @AT@ 6557 @LENGTH@ 11
|
||||
---------INS VariableDeclarationFragment@@iter=iterator() @TO@ VariableDeclarationExpression@@IntIterator iter=iterator() @AT@ 6569 @LENGTH@ 17
|
||||
------------INS SimpleName@@iter @TO@ VariableDeclarationFragment@@iter=iterator() @AT@ 6569 @LENGTH@ 4
|
||||
------------INS MethodInvocation@@MethodName:iterator:[] @TO@ VariableDeclarationFragment@@iter=iterator() @AT@ 6576 @LENGTH@ 10
|
||||
------INS MethodInvocation@@iter.hasNext() @TO@ ForStatement@@for (IntIterator iter=iterator(); iter.hasNext(); ) { buf.append(iter.next()); if (iter.hasNext()) { buf.append(", "); }} @AT@ 6588 @LENGTH@ 14
|
||||
---------INS SimpleName@@Name:iter @TO@ MethodInvocation@@iter.hasNext() @AT@ 6588 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@iter.hasNext() @AT@ 6593 @LENGTH@ 9
|
||||
------INS ExpressionStatement@@MethodInvocation:buf.append(iter.next()) @TO@ ForStatement@@for (IntIterator iter=iterator(); iter.hasNext(); ) { buf.append(iter.next()); if (iter.hasNext()) { buf.append(", "); }} @AT@ 6619 @LENGTH@ 24
|
||||
---------INS MethodInvocation@@buf.append(iter.next()) @TO@ ExpressionStatement@@MethodInvocation:buf.append(iter.next()) @AT@ 6619 @LENGTH@ 23
|
||||
------------INS SimpleName@@Name:buf @TO@ MethodInvocation@@buf.append(iter.next()) @AT@ 6619 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:append:[iter.next()] @TO@ MethodInvocation@@buf.append(iter.next()) @AT@ 6623 @LENGTH@ 19
|
||||
---------------INS MethodInvocation@@iter.next() @TO@ SimpleName@@MethodName:append:[iter.next()] @AT@ 6630 @LENGTH@ 11
|
||||
------------------INS SimpleName@@Name:iter @TO@ MethodInvocation@@iter.next() @AT@ 6630 @LENGTH@ 4
|
||||
------------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@iter.next() @AT@ 6635 @LENGTH@ 6
|
||||
------INS IfStatement@@if (iter.hasNext()) { buf.append(", ");} @TO@ ForStatement@@for (IntIterator iter=iterator(); iter.hasNext(); ) { buf.append(iter.next()); if (iter.hasNext()) { buf.append(", "); }} @AT@ 6656 @LENGTH@ 68
|
||||
---------INS MethodInvocation@@iter.hasNext() @TO@ IfStatement@@if (iter.hasNext()) { buf.append(", ");} @AT@ 6659 @LENGTH@ 14
|
||||
------------INS SimpleName@@Name:iter @TO@ MethodInvocation@@iter.hasNext() @AT@ 6659 @LENGTH@ 4
|
||||
------------INS SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@iter.hasNext() @AT@ 6664 @LENGTH@ 9
|
||||
---------INS Block@@ThenBody:{ buf.append(", ");} @TO@ IfStatement@@if (iter.hasNext()) { buf.append(", ");} @AT@ 6675 @LENGTH@ 49
|
||||
------------INS ExpressionStatement@@MethodInvocation:buf.append(", ") @TO@ Block@@ThenBody:{ buf.append(", ");} @AT@ 6693 @LENGTH@ 17
|
||||
---------------INS MethodInvocation@@buf.append(", ") @TO@ ExpressionStatement@@MethodInvocation:buf.append(", ") @AT@ 6693 @LENGTH@ 16
|
||||
------------------INS SimpleName@@Name:buf @TO@ MethodInvocation@@buf.append(", ") @AT@ 6693 @LENGTH@ 3
|
||||
------------------INS SimpleName@@MethodName:append:[", "] @TO@ MethodInvocation@@buf.append(", ") @AT@ 6697 @LENGTH@ 12
|
||||
---------------------INS StringLiteral@@", " @TO@ SimpleName@@MethodName:append:[", "] @AT@ 6704 @LENGTH@ 4
|
||||
---INS ExpressionStatement@@MethodInvocation:buf.append("]") @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 6743 @LENGTH@ 16
|
||||
------INS MethodInvocation@@buf.append("]") @TO@ ExpressionStatement@@MethodInvocation:buf.append("]") @AT@ 6743 @LENGTH@ 15
|
||||
---------INS SimpleName@@Name:buf @TO@ MethodInvocation@@buf.append("]") @AT@ 6743 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:append:["]"] @TO@ MethodInvocation@@buf.append("]") @AT@ 6747 @LENGTH@ 11
|
||||
------------INS StringLiteral@@"]" @TO@ SimpleName@@MethodName:append:["]"] @AT@ 6754 @LENGTH@ 3
|
||||
---INS ReturnStatement@@MethodInvocation:buf.toString() @TO@ MethodDeclaration@@public, String, MethodName:toString, @AT@ 6768 @LENGTH@ 22
|
||||
------INS MethodInvocation@@buf.toString() @TO@ ReturnStatement@@MethodInvocation:buf.toString() @AT@ 6775 @LENGTH@ 14
|
||||
---------INS SimpleName@@Name:buf @TO@ MethodInvocation@@buf.toString() @AT@ 6775 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:toString:[] @TO@ MethodInvocation@@buf.toString() @AT@ 6779 @LENGTH@ 10
|
||||
|
||||
|
||||
MOV FieldDeclaration@@private, Comparator, [comparator] @TO@ TypeDeclaration@@[public]ReverseComparator, [Comparator, Serializable] @AT@ 3391 @LENGTH@ 30
|
||||
|
||||
|
||||
UPD ForStatement@@for (int i=0; i < 1000; i++) { assertEquals((short)i,list.get(i));} @TO@ for (int i=0; i < 255; i++) { assertEquals((short)i,list.get(i));} @AT@ 11741 @LENGTH@ 91
|
||||
---UPD InfixExpression@@i < 1000 @TO@ i < 255 @AT@ 11757 @LENGTH@ 8
|
||||
------UPD NumberLiteral@@1000 @TO@ 255 @AT@ 11761 @LENGTH@ 4
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(TestArrayIntList.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3535 @LENGTH@ 40
|
||||
---INS MethodInvocation@@suite.addTest(TestArrayIntList.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestArrayIntList.suite()) @AT@ 3535 @LENGTH@ 39
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestArrayIntList.suite()) @AT@ 3535 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[TestArrayIntList.suite()] @TO@ MethodInvocation@@suite.addTest(TestArrayIntList.suite()) @AT@ 3541 @LENGTH@ 33
|
||||
---------INS MethodInvocation@@TestArrayIntList.suite() @TO@ SimpleName@@MethodName:addTest:[TestArrayIntList.suite()] @AT@ 3549 @LENGTH@ 24
|
||||
------------INS SimpleName@@Name:TestArrayIntList @TO@ MethodInvocation@@TestArrayIntList.suite() @AT@ 3549 @LENGTH@ 16
|
||||
------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestArrayIntList.suite() @AT@ 3566 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD ForStatement@@for (int i=0; i < 1000; i++) { list.add((short)i);} @TO@ for (int i=0; i < 255; i++) { list.add((short)i);} @AT@ 11658 @LENGTH@ 74
|
||||
---UPD InfixExpression@@i < 1000 @TO@ i < 255 @AT@ 11674 @LENGTH@ 8
|
||||
------UPD NumberLiteral@@1000 @TO@ 255 @AT@ 11678 @LENGTH@ 4
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testZeroInitialCapacityIsValid, @TO@ TypeDeclaration@@[public]TestArrayIntList, TestList @AT@ 6192 @LENGTH@ 101
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testZeroInitialCapacityIsValid, @AT@ 6192 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testZeroInitialCapacityIsValid, @AT@ 6199 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testZeroInitialCapacityIsValid @TO@ MethodDeclaration@@public, void, MethodName:testZeroInitialCapacityIsValid, @AT@ 6204 @LENGTH@ 30
|
||||
---INS VariableDeclarationStatement@@ArrayIntList list=new ArrayIntList(0); @TO@ MethodDeclaration@@public, void, MethodName:testZeroInitialCapacityIsValid, @AT@ 6247 @LENGTH@ 40
|
||||
------INS SimpleType@@ArrayIntList @TO@ VariableDeclarationStatement@@ArrayIntList list=new ArrayIntList(0); @AT@ 6247 @LENGTH@ 12
|
||||
------INS VariableDeclarationFragment@@list=new ArrayIntList(0) @TO@ VariableDeclarationStatement@@ArrayIntList list=new ArrayIntList(0); @AT@ 6260 @LENGTH@ 26
|
||||
---------INS SimpleName@@list @TO@ VariableDeclarationFragment@@list=new ArrayIntList(0) @AT@ 6260 @LENGTH@ 4
|
||||
---------INS ClassInstanceCreation@@ArrayIntList[0] @TO@ VariableDeclarationFragment@@list=new ArrayIntList(0) @AT@ 6267 @LENGTH@ 19
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@ArrayIntList[0] @AT@ 6267 @LENGTH@ 3
|
||||
------------INS SimpleType@@ArrayIntList @TO@ ClassInstanceCreation@@ArrayIntList[0] @AT@ 6271 @LENGTH@ 12
|
||||
------------INS NumberLiteral@@0 @TO@ ClassInstanceCreation@@ArrayIntList[0] @AT@ 6284 @LENGTH@ 1
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testMethodMutator, Exception, @TO@ TypeDeclaration@@[public]TestBeanMap, TestMap @AT@ 12116 @LENGTH@ 293
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testMethodMutator, Exception, @AT@ 12116 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testMethodMutator, Exception, @AT@ 12123 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testMethodMutator @TO@ MethodDeclaration@@public, void, MethodName:testMethodMutator, Exception, @AT@ 12128 @LENGTH@ 17
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testMethodMutator, Exception, @AT@ 12155 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @TO@ MethodDeclaration@@public, void, MethodName:testMethodMutator, Exception, @AT@ 12175 @LENGTH@ 38
|
||||
------INS SimpleType@@BeanMap @TO@ VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @AT@ 12175 @LENGTH@ 7
|
||||
------INS VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @TO@ VariableDeclarationStatement@@BeanMap map=(BeanMap)makeFullMap(); @AT@ 12183 @LENGTH@ 29
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @AT@ 12183 @LENGTH@ 3
|
||||
---------INS CastExpression@@(BeanMap)makeFullMap() @TO@ VariableDeclarationFragment@@map=(BeanMap)makeFullMap() @AT@ 12189 @LENGTH@ 23
|
||||
------------INS SimpleType@@BeanMap @TO@ CastExpression@@(BeanMap)makeFullMap() @AT@ 12190 @LENGTH@ 7
|
||||
------------INS MethodInvocation@@MethodName:makeFullMap:[] @TO@ CastExpression@@(BeanMap)makeFullMap() @AT@ 12199 @LENGTH@ 13
|
||||
---INS VariableDeclarationStatement@@Method method=BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}); @TO@ MethodDeclaration@@public, void, MethodName:testMethodMutator, Exception, @AT@ 12222 @LENGTH@ 111
|
||||
------INS SimpleType@@Method @TO@ VariableDeclarationStatement@@Method method=BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}); @AT@ 12222 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@method=BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}) @TO@ VariableDeclarationStatement@@Method method=BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}); @AT@ 12229 @LENGTH@ 103
|
||||
---------INS SimpleName@@method @TO@ VariableDeclarationFragment@@method=BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}) @AT@ 12229 @LENGTH@ 6
|
||||
---------INS MethodInvocation@@BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}) @TO@ VariableDeclarationFragment@@method=BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}) @AT@ 12238 @LENGTH@ 94
|
||||
------------INS TypeLiteral@@BeanWithProperties.class @TO@ MethodInvocation@@BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}) @AT@ 12238 @LENGTH@ 24
|
||||
------------INS SimpleName@@MethodName:getDeclaredMethod:["setSomeIntegerValue", new Class[]{Integer.class}] @TO@ MethodInvocation@@BeanWithProperties.class.getDeclaredMethod("setSomeIntegerValue",new Class[]{Integer.class}) @AT@ 12263 @LENGTH@ 69
|
||||
---------------INS StringLiteral@@"setSomeIntegerValue" @TO@ SimpleName@@MethodName:getDeclaredMethod:["setSomeIntegerValue", new Class[]{Integer.class}] @AT@ 12281 @LENGTH@ 21
|
||||
---------------INS ArrayCreation@@new Class[]{Integer.class} @TO@ SimpleName@@MethodName:getDeclaredMethod:["setSomeIntegerValue", new Class[]{Integer.class}] @AT@ 12304 @LENGTH@ 27
|
||||
------------------INS ArrayType@@Class[] @TO@ ArrayCreation@@new Class[]{Integer.class} @AT@ 12308 @LENGTH@ 7
|
||||
---------------------INS SimpleType@@Class @TO@ ArrayType@@Class[] @AT@ 12308 @LENGTH@ 5
|
||||
------------------INS ArrayInitializer@@{Integer.class} @TO@ ArrayCreation@@new Class[]{Integer.class} @AT@ 12316 @LENGTH@ 15
|
||||
---------------------INS TypeLiteral@@Integer.class @TO@ ArrayInitializer@@{Integer.class} @AT@ 12317 @LENGTH@ 13
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(method,map.getWriteMethod("someIntegerValue")) @TO@ MethodDeclaration@@public, void, MethodName:testMethodMutator, Exception, @AT@ 12342 @LENGTH@ 61
|
||||
------INS MethodInvocation@@assertEquals(method,map.getWriteMethod("someIntegerValue")) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(method,map.getWriteMethod("someIntegerValue")) @AT@ 12342 @LENGTH@ 60
|
||||
---------INS SimpleName@@MethodName:assertEquals:[method, map.getWriteMethod("someIntegerValue")] @TO@ MethodInvocation@@assertEquals(method,map.getWriteMethod("someIntegerValue")) @AT@ 12342 @LENGTH@ 60
|
||||
------------INS SimpleName@@method @TO@ SimpleName@@MethodName:assertEquals:[method, map.getWriteMethod("someIntegerValue")] @AT@ 12355 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@map.getWriteMethod("someIntegerValue") @TO@ SimpleName@@MethodName:assertEquals:[method, map.getWriteMethod("someIntegerValue")] @AT@ 12363 @LENGTH@ 38
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.getWriteMethod("someIntegerValue") @AT@ 12363 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:getWriteMethod:["someIntegerValue"] @TO@ MethodInvocation@@map.getWriteMethod("someIntegerValue") @AT@ 12367 @LENGTH@ 34
|
||||
------------------INS StringLiteral@@"someIntegerValue" @TO@ SimpleName@@MethodName:getWriteMethod:["someIntegerValue"] @AT@ 12382 @LENGTH@ 18
|
||||
|
||||
|
||||
UPD IfStatement@@if (reader == null) { reader=new PropertiesReader(new InputStreamReader(input));} @TO@ if (reader == null) { try { reader=new PropertiesReader(new InputStreamReader(input,"8859_1")); } catch ( UnsupportedEncodingException e) { reader=new PropertiesReader(new InputStreamReader(input)); }} @AT@ 14821 @LENGTH@ 128
|
||||
---UPD Block@@ThenBody:{ reader=new PropertiesReader(new InputStreamReader(input));} @TO@ ThenBody:{ try { reader=new PropertiesReader(new InputStreamReader(input,"8859_1")); } catch ( UnsupportedEncodingException e) { reader=new PropertiesReader(new InputStreamReader(input)); }} @AT@ 14849 @LENGTH@ 100
|
||||
------INS TryStatement@@try { reader=new PropertiesReader(new InputStreamReader(input,"8859_1"));} catch (UnsupportedEncodingException e) { reader=new PropertiesReader(new InputStreamReader(input));} @TO@ Block@@ThenBody:{ reader=new PropertiesReader(new InputStreamReader(input));} @AT@ 14852 @LENGTH@ 444
|
||||
---------INS ExpressionStatement@@Assignment:reader=new PropertiesReader(new InputStreamReader(input,"8859_1")) @TO@ TryStatement@@try { reader=new PropertiesReader(new InputStreamReader(input,"8859_1"));} catch (UnsupportedEncodingException e) { reader=new PropertiesReader(new InputStreamReader(input));} @AT@ 14887 @LENGTH@ 89
|
||||
------------INS Assignment@@reader=new PropertiesReader(new InputStreamReader(input,"8859_1")) @TO@ ExpressionStatement@@Assignment:reader=new PropertiesReader(new InputStreamReader(input,"8859_1")) @AT@ 14887 @LENGTH@ 88
|
||||
---------------INS SimpleName@@reader @TO@ Assignment@@reader=new PropertiesReader(new InputStreamReader(input,"8859_1")) @AT@ 14887 @LENGTH@ 6
|
||||
---------------INS Operator@@= @TO@ Assignment@@reader=new PropertiesReader(new InputStreamReader(input,"8859_1")) @AT@ 14893 @LENGTH@ 1
|
||||
---------------INS ClassInstanceCreation@@PropertiesReader[new InputStreamReader(input,"8859_1")] @TO@ Assignment@@reader=new PropertiesReader(new InputStreamReader(input,"8859_1")) @AT@ 14916 @LENGTH@ 59
|
||||
------------------INS New@@new @TO@ ClassInstanceCreation@@PropertiesReader[new InputStreamReader(input,"8859_1")] @AT@ 14916 @LENGTH@ 3
|
||||
------------------INS SimpleType@@PropertiesReader @TO@ ClassInstanceCreation@@PropertiesReader[new InputStreamReader(input,"8859_1")] @AT@ 14920 @LENGTH@ 16
|
||||
------------------INS ClassInstanceCreation@@InputStreamReader[input, "8859_1"] @TO@ ClassInstanceCreation@@PropertiesReader[new InputStreamReader(input,"8859_1")] @AT@ 14937 @LENGTH@ 37
|
||||
---------------------INS New@@new @TO@ ClassInstanceCreation@@InputStreamReader[input, "8859_1"] @AT@ 14937 @LENGTH@ 3
|
||||
---------------------INS SimpleType@@InputStreamReader @TO@ ClassInstanceCreation@@InputStreamReader[input, "8859_1"] @AT@ 14941 @LENGTH@ 17
|
||||
---------------------INS SimpleName@@input @TO@ ClassInstanceCreation@@InputStreamReader[input, "8859_1"] @AT@ 14959 @LENGTH@ 5
|
||||
---------------------INS StringLiteral@@"8859_1" @TO@ ClassInstanceCreation@@InputStreamReader[input, "8859_1"] @AT@ 14965 @LENGTH@ 8
|
||||
---------INS CatchClause@@catch (UnsupportedEncodingException e) { reader=new PropertiesReader(new InputStreamReader(input));} @TO@ TryStatement@@try { reader=new PropertiesReader(new InputStreamReader(input,"8859_1"));} catch (UnsupportedEncodingException e) { reader=new PropertiesReader(new InputStreamReader(input));} @AT@ 15004 @LENGTH@ 292
|
||||
------------MOV ExpressionStatement@@Assignment:reader=new PropertiesReader(new InputStreamReader(input)) @TO@ CatchClause@@catch (UnsupportedEncodingException e) { reader=new PropertiesReader(new InputStreamReader(input));} @AT@ 14863 @LENGTH@ 76
|
||||
------------INS SingleVariableDeclaration@@UnsupportedEncodingException e @TO@ CatchClause@@catch (UnsupportedEncodingException e) { reader=new PropertiesReader(new InputStreamReader(input));} @AT@ 15011 @LENGTH@ 30
|
||||
---------------INS SimpleType@@UnsupportedEncodingException @TO@ SingleVariableDeclaration@@UnsupportedEncodingException e @AT@ 15011 @LENGTH@ 28
|
||||
---------------INS SimpleName@@e @TO@ SingleVariableDeclaration@@UnsupportedEncodingException e @AT@ 15040 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@int oldval=_data[index]; @TO@ long oldval=toLong(_data[index]); @AT@ 6457 @LENGTH@ 26
|
||||
---UPD PrimitiveType@@int @TO@ long @AT@ 6457 @LENGTH@ 3
|
||||
---UPD VariableDeclarationFragment@@oldval=_data[index] @TO@ oldval=toLong(_data[index]) @AT@ 6461 @LENGTH@ 21
|
||||
------DEL ArrayAccess@@_data[index] @AT@ 6470 @LENGTH@ 12
|
||||
------INS MethodInvocation@@toLong(_data[index]) @TO@ VariableDeclarationFragment@@oldval=_data[index] @AT@ 6471 @LENGTH@ 20
|
||||
---------INS SimpleName@@MethodName:toLong:[_data[index]] @TO@ MethodInvocation@@toLong(_data[index]) @AT@ 6471 @LENGTH@ 20
|
||||
------------INS ArrayAccess@@_data[index] @TO@ SimpleName@@MethodName:toLong:[_data[index]] @AT@ 6478 @LENGTH@ 12
|
||||
---------------MOV SimpleName@@_data @TO@ ArrayAccess@@_data[index] @AT@ 6470 @LENGTH@ 5
|
||||
---------------MOV SimpleName@@index @TO@ ArrayAccess@@_data[index] @AT@ 6476 @LENGTH@ 5
|
||||
---------------MOV SimpleName@@index @TO@ ArrayAccess@@_data[index] @AT@ 6476 @LENGTH@ 5
|
||||
@@ -0,0 +1,582 @@
|
||||
UPD ReturnStatement@@InfixExpression:CollectionUtils.isSubCollection(a,b) && (!(CollectionUtils.isEqualCollection(a,b))) @TO@ InfixExpression:(a.size() < b.size()) && CollectionUtils.isSubCollection(a,b) @AT@ 11559 @LENGTH@ 91
|
||||
---UPD InfixExpression@@CollectionUtils.isSubCollection(a,b) && (!(CollectionUtils.isEqualCollection(a,b))) @TO@ (a.size() < b.size()) && CollectionUtils.isSubCollection(a,b) @AT@ 11566 @LENGTH@ 83
|
||||
------MOV MethodInvocation@@CollectionUtils.isSubCollection(a,b) @TO@ InfixExpression@@CollectionUtils.isSubCollection(a,b) && (!(CollectionUtils.isEqualCollection(a,b))) @AT@ 11566 @LENGTH@ 36
|
||||
------DEL Operator@@&& @AT@ 11602 @LENGTH@ 2
|
||||
------UPD ParenthesizedExpression@@(!(CollectionUtils.isEqualCollection(a,b))) @TO@ (a.size() < b.size()) @AT@ 11606 @LENGTH@ 43
|
||||
---------DEL PrefixExpression@@!(CollectionUtils.isEqualCollection(a,b)) @AT@ 11607 @LENGTH@ 41
|
||||
------------DEL Operator@@! @AT@ 11607 @LENGTH@ 1
|
||||
------------DEL ParenthesizedExpression@@(CollectionUtils.isEqualCollection(a,b)) @AT@ 11608 @LENGTH@ 40
|
||||
---------------DEL MethodInvocation@@CollectionUtils.isEqualCollection(a,b) @AT@ 11609 @LENGTH@ 38
|
||||
---------INS InfixExpression@@a.size() < b.size() @TO@ ParenthesizedExpression@@(!(CollectionUtils.isEqualCollection(a,b))) @AT@ 11812 @LENGTH@ 19
|
||||
------------INS MethodInvocation@@a.size() @TO@ InfixExpression@@a.size() < b.size() @AT@ 11812 @LENGTH@ 8
|
||||
---------------INS SimpleName@@Name:a @TO@ MethodInvocation@@a.size() @AT@ 11812 @LENGTH@ 1
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@a.size() @AT@ 11814 @LENGTH@ 6
|
||||
------------INS Operator@@< @TO@ InfixExpression@@a.size() < b.size() @AT@ 11820 @LENGTH@ 1
|
||||
------------INS MethodInvocation@@b.size() @TO@ InfixExpression@@a.size() < b.size() @AT@ 11823 @LENGTH@ 8
|
||||
---------------MOV SimpleName@@Name:CollectionUtils @TO@ MethodInvocation@@b.size() @AT@ 11609 @LENGTH@ 15
|
||||
---------------MOV SimpleName@@MethodName:isEqualCollection:[a, b] @TO@ MethodInvocation@@b.size() @AT@ 11625 @LENGTH@ 22
|
||||
------------------DEL SimpleName@@a @AT@ 11643 @LENGTH@ 1
|
||||
------------------DEL SimpleName@@b @AT@ 11645 @LENGTH@ 1
|
||||
------INS Operator@@&& @TO@ InfixExpression@@CollectionUtils.isSubCollection(a,b) && (!(CollectionUtils.isEqualCollection(a,b))) @AT@ 11832 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD IfStatement@@if (last == null) { return "MapIterator[" + getKey() + "="+ getValue()+ "]";} else { return "MapIterator[]";} @TO@ if (last != null) { return "MapIterator[" + getKey() + "="+ getValue()+ "]";} else { return "MapIterator[]";} @AT@ 7459 @LENGTH@ 153
|
||||
---UPD InfixExpression@@last == null @TO@ last != null @AT@ 7463 @LENGTH@ 12
|
||||
------UPD Operator@@== @TO@ != @AT@ 7467 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD IfStatement@@if (coll1.size() > coll2.size()) { for (Iterator it=coll1.iterator(); it.hasNext(); ) { if (coll2.contains(it.next())) { return true; } }} else { for (Iterator it=coll2.iterator(); it.hasNext(); ) { if (coll1.contains(it.next())) { return true; } }} @TO@ if (coll1.size() < coll2.size()) { for (Iterator it=coll1.iterator(); it.hasNext(); ) { if (coll2.contains(it.next())) { return true; } }} else { for (Iterator it=coll2.iterator(); it.hasNext(); ) { if (coll1.contains(it.next())) { return true; } }} @AT@ 9991 @LENGTH@ 421
|
||||
---UPD InfixExpression@@coll1.size() > coll2.size() @TO@ coll1.size() < coll2.size() @AT@ 9995 @LENGTH@ 27
|
||||
------UPD Operator@@> @TO@ < @AT@ 10007 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]ObjectArrayListIterator, ObjectArrayIterator[ResetableListIterator] @TO@ [public]ObjectArrayListIterator, ObjectArrayIterator[ListIterator, ResetableListIterator] @AT@ 3722 @LENGTH@ 5541
|
||||
---INS SimpleType@@ListIterator @TO@ TypeDeclaration@@[public]ObjectArrayListIterator, ObjectArrayIterator[ResetableListIterator] @AT@ 3835 @LENGTH@ 12
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(TestSetList.suite()) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3969 @LENGTH@ 35
|
||||
---INS MethodInvocation@@suite.addTest(TestSetList.suite()) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(TestSetList.suite()) @AT@ 3969 @LENGTH@ 34
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(TestSetList.suite()) @AT@ 3969 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[TestSetList.suite()] @TO@ MethodInvocation@@suite.addTest(TestSetList.suite()) @AT@ 3975 @LENGTH@ 28
|
||||
---------INS MethodInvocation@@TestSetList.suite() @TO@ SimpleName@@MethodName:addTest:[TestSetList.suite()] @AT@ 3983 @LENGTH@ 19
|
||||
------------INS SimpleName@@Name:TestSetList @TO@ MethodInvocation@@TestSetList.suite() @AT@ 3983 @LENGTH@ 11
|
||||
------------INS SimpleName@@MethodName:suite:[] @TO@ MethodInvocation@@TestSetList.suite() @AT@ 3995 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD IfStatement@@if (last == null) { return "MapIterator[" + getKey() + "="+ getValue()+ "]";} else { return "MapIterator[]";} @TO@ if (last != null) { return "MapIterator[" + getKey() + "="+ getValue()+ "]";} else { return "MapIterator[]";} @AT@ 12580 @LENGTH@ 169
|
||||
---UPD InfixExpression@@last == null @TO@ last != null @AT@ 12584 @LENGTH@ 12
|
||||
------UPD Operator@@== @TO@ != @AT@ 12588 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD ThrowStatement@@ClassInstanceCreation:new EncoderException("Parameter supplied to " + "Soundex " + "encode is not of type "+ "java.lang.String") @TO@ ClassInstanceCreation:new EncoderException("Parameter supplied to Soundex encode is not of type java.lang.String") @AT@ 6298 @LENGTH@ 234
|
||||
---UPD ClassInstanceCreation@@EncoderException["Parameter supplied to " + "Soundex " + "encode is not of type "+ "java.lang.String"] @TO@ EncoderException["Parameter supplied to Soundex encode is not of type java.lang.String"] @AT@ 6304 @LENGTH@ 227
|
||||
------INS StringLiteral@@"Parameter supplied to Soundex encode is not of type java.lang.String" @TO@ ClassInstanceCreation@@EncoderException["Parameter supplied to " + "Soundex " + "encode is not of type "+ "java.lang.String"] @AT@ 6295 @LENGTH@ 70
|
||||
------DEL InfixExpression@@"Parameter supplied to " + "Soundex " + "encode is not of type "+ "java.lang.String" @AT@ 6325 @LENGTH@ 205
|
||||
---------DEL StringLiteral@@"Parameter supplied to " @AT@ 6325 @LENGTH@ 24
|
||||
---------DEL Operator@@+ @AT@ 6349 @LENGTH@ 1
|
||||
---------DEL StringLiteral@@"Soundex " @AT@ 6392 @LENGTH@ 10
|
||||
---------DEL StringLiteral@@"encode is not of type " @AT@ 6445 @LENGTH@ 24
|
||||
---------DEL StringLiteral@@"java.lang.String" @AT@ 6512 @LENGTH@ 18
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals(FixedOrderComparator.UNKNOWN_BEFORE,comparator.getUnkownObjectBehavior()) @TO@ MethodInvocation:assertEquals(FixedOrderComparator.UNKNOWN_BEFORE,comparator.getUnknownObjectBehavior()) @AT@ 7778 @LENGTH@ 88
|
||||
---UPD MethodInvocation@@assertEquals(FixedOrderComparator.UNKNOWN_BEFORE,comparator.getUnkownObjectBehavior()) @TO@ assertEquals(FixedOrderComparator.UNKNOWN_BEFORE,comparator.getUnknownObjectBehavior()) @AT@ 7778 @LENGTH@ 87
|
||||
------UPD SimpleName@@MethodName:assertEquals:[FixedOrderComparator.UNKNOWN_BEFORE, comparator.getUnkownObjectBehavior()] @TO@ MethodName:assertEquals:[FixedOrderComparator.UNKNOWN_BEFORE, comparator.getUnknownObjectBehavior()] @AT@ 7778 @LENGTH@ 87
|
||||
---------UPD MethodInvocation@@comparator.getUnkownObjectBehavior() @TO@ comparator.getUnknownObjectBehavior() @AT@ 7828 @LENGTH@ 36
|
||||
------------UPD SimpleName@@MethodName:getUnkownObjectBehavior:[] @TO@ MethodName:getUnknownObjectBehavior:[] @AT@ 7839 @LENGTH@ 25
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertTrue(!FileUtils.contentEquals(getTestDirectory(),getTestDirectory())) @TO@ MethodInvocation:FileUtils.contentEquals(getTestDirectory(),getTestDirectory()) @AT@ 6383 @LENGTH@ 90
|
||||
|
||||
|
||||
UPD ReturnStatement@@ParenthesizedExpression:(metaphone(pString)) @TO@ MethodInvocation:metaphone(pString) @AT@ 14828 @LENGTH@ 28
|
||||
---DEL ParenthesizedExpression@@(metaphone(pString)) @AT@ 14835 @LENGTH@ 20
|
||||
---MOV MethodInvocation@@metaphone(pString) @TO@ ReturnStatement@@ParenthesizedExpression:(metaphone(pString)) @AT@ 14836 @LENGTH@ 18
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:modificationOccurring, StandardModificationEvent event, @TO@ public, void, MethodName:modificationOccurring, StandardPreModificationEvent event, @AT@ 3791 @LENGTH@ 67
|
||||
---UPD SingleVariableDeclaration@@StandardModificationEvent event @TO@ StandardPreModificationEvent event @AT@ 3825 @LENGTH@ 31
|
||||
------UPD SimpleType@@StandardModificationEvent @TO@ StandardPreModificationEvent @AT@ 3825 @LENGTH@ 25
|
||||
|
||||
|
||||
UPD ReturnStatement@@InfixExpression:this.index - 1 @TO@ InfixExpression:this.index - this.startIndex - 1 @AT@ 7947 @LENGTH@ 22
|
||||
---UPD InfixExpression@@this.index - 1 @TO@ this.index - this.startIndex - 1 @AT@ 7954 @LENGTH@ 14
|
||||
------INS FieldAccess@@this.startIndex @TO@ InfixExpression@@this.index - 1 @AT@ 8004 @LENGTH@ 15
|
||||
---------INS ThisExpression@@this @TO@ FieldAccess@@this.startIndex @AT@ 8004 @LENGTH@ 4
|
||||
---------INS SimpleName@@startIndex @TO@ FieldAccess@@this.startIndex @AT@ 8009 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals(FixedOrderComparator.UNKNOWN_THROW_EXCEPTION,comparator.getUnkownObjectBehavior()) @TO@ MethodInvocation:assertEquals(FixedOrderComparator.UNKNOWN_THROW_EXCEPTION,comparator.getUnknownObjectBehavior()) @AT@ 7531 @LENGTH@ 97
|
||||
---UPD MethodInvocation@@assertEquals(FixedOrderComparator.UNKNOWN_THROW_EXCEPTION,comparator.getUnkownObjectBehavior()) @TO@ assertEquals(FixedOrderComparator.UNKNOWN_THROW_EXCEPTION,comparator.getUnknownObjectBehavior()) @AT@ 7531 @LENGTH@ 96
|
||||
------UPD SimpleName@@MethodName:assertEquals:[FixedOrderComparator.UNKNOWN_THROW_EXCEPTION, comparator.getUnkownObjectBehavior()] @TO@ MethodName:assertEquals:[FixedOrderComparator.UNKNOWN_THROW_EXCEPTION, comparator.getUnknownObjectBehavior()] @AT@ 7531 @LENGTH@ 96
|
||||
---------UPD MethodInvocation@@comparator.getUnkownObjectBehavior() @TO@ comparator.getUnknownObjectBehavior() @AT@ 7590 @LENGTH@ 36
|
||||
------------UPD SimpleName@@MethodName:getUnkownObjectBehavior:[] @TO@ MethodName:getUnknownObjectBehavior:[] @AT@ 7601 @LENGTH@ 25
|
||||
|
||||
|
||||
MOV ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(FileUtilsTestCase.class)) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3443 @LENGTH@ 58
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, String, MethodName:decode, String pString, String charset, DecoderException, UnsupportedEncodingException, @TO@ public, String, MethodName:decode, String pString, String encoding, DecoderException, UnsupportedEncodingException, @AT@ 10539 @LENGTH@ 276
|
||||
---UPD SingleVariableDeclaration@@String charset @TO@ String encoding @AT@ 10576 @LENGTH@ 14
|
||||
------UPD SimpleName@@charset @TO@ encoding @AT@ 10583 @LENGTH@ 7
|
||||
---UPD ReturnStatement@@ClassInstanceCreation:new String(decode(pString.getBytes(this.getEncoding())),charset) @TO@ ClassInstanceCreation:new String(decode(pString.getBytes(this.getEncoding())),encoding) @AT@ 10736 @LENGTH@ 73
|
||||
------UPD ClassInstanceCreation@@String[decode(pString.getBytes(this.getEncoding())), charset] @TO@ String[decode(pString.getBytes(this.getEncoding())), encoding] @AT@ 10743 @LENGTH@ 65
|
||||
---------UPD SimpleName@@charset @TO@ encoding @AT@ 10800 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, String, MethodName:encode, String pString, String charset, UnsupportedEncodingException, @TO@ public, String, MethodName:encode, String pString, String encoding, UnsupportedEncodingException, @AT@ 9151 @LENGTH@ 259
|
||||
---UPD SingleVariableDeclaration@@String charset @TO@ String encoding @AT@ 9188 @LENGTH@ 14
|
||||
------UPD SimpleName@@charset @TO@ encoding @AT@ 9195 @LENGTH@ 7
|
||||
---UPD ReturnStatement@@ClassInstanceCreation:new String(encode(pString.getBytes(charset)),this.getEncoding()) @TO@ ClassInstanceCreation:new String(encode(pString.getBytes(encoding)),this.getEncoding()) @AT@ 9331 @LENGTH@ 73
|
||||
------UPD ClassInstanceCreation@@String[encode(pString.getBytes(charset)), this.getEncoding()] @TO@ String[encode(pString.getBytes(encoding)), this.getEncoding()] @AT@ 9338 @LENGTH@ 65
|
||||
---------UPD MethodInvocation@@encode(pString.getBytes(charset)) @TO@ encode(pString.getBytes(encoding)) @AT@ 9349 @LENGTH@ 33
|
||||
------------UPD SimpleName@@MethodName:encode:[pString.getBytes(charset)] @TO@ MethodName:encode:[pString.getBytes(encoding)] @AT@ 9349 @LENGTH@ 33
|
||||
---------------UPD MethodInvocation@@pString.getBytes(charset) @TO@ pString.getBytes(encoding) @AT@ 9356 @LENGTH@ 25
|
||||
------------------UPD SimpleName@@MethodName:getBytes:[charset] @TO@ MethodName:getBytes:[encoding] @AT@ 9364 @LENGTH@ 17
|
||||
---------------------UPD SimpleName@@charset @TO@ encoding @AT@ 9373 @LENGTH@ 7
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:assertEquals("S460",this.getEncoder().encode("Sgler")) @TO@ MethodDeclaration@@public, void, MethodName:testMaxLength, Exception, @AT@ 11141 @LENGTH@ 56
|
||||
---INS MethodInvocation@@assertEquals("S460",this.getEncoder().encode("Sgler")) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("S460",this.getEncoder().encode("Sgler")) @AT@ 11141 @LENGTH@ 55
|
||||
------INS SimpleName@@MethodName:assertEquals:["S460", this.getEncoder().encode("Sgler")] @TO@ MethodInvocation@@assertEquals("S460",this.getEncoder().encode("Sgler")) @AT@ 11141 @LENGTH@ 55
|
||||
---------INS StringLiteral@@"S460" @TO@ SimpleName@@MethodName:assertEquals:["S460", this.getEncoder().encode("Sgler")] @AT@ 11154 @LENGTH@ 6
|
||||
---------INS MethodInvocation@@this.getEncoder().encode("Sgler") @TO@ SimpleName@@MethodName:assertEquals:["S460", this.getEncoder().encode("Sgler")] @AT@ 11162 @LENGTH@ 33
|
||||
------------INS MethodInvocation@@MethodName:getEncoder:[] @TO@ MethodInvocation@@this.getEncoder().encode("Sgler") @AT@ 11162 @LENGTH@ 17
|
||||
------------INS ThisExpression@@this @TO@ MethodInvocation@@this.getEncoder().encode("Sgler") @AT@ 11162 @LENGTH@ 4
|
||||
------------INS SimpleName@@MethodName:encode:["Sgler"] @TO@ MethodInvocation@@this.getEncoder().encode("Sgler") @AT@ 11180 @LENGTH@ 15
|
||||
---------------INS StringLiteral@@"Sgler" @TO@ SimpleName@@MethodName:encode:["Sgler"] @AT@ 11187 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:modificationOccurred, StandardModificationEvent event, @TO@ public, void, MethodName:modificationOccurred, StandardPostModificationEvent event, @AT@ 3703 @LENGTH@ 66
|
||||
---UPD SingleVariableDeclaration@@StandardModificationEvent event @TO@ StandardPostModificationEvent event @AT@ 3736 @LENGTH@ 31
|
||||
------UPD SimpleType@@StandardModificationEvent @TO@ StandardPostModificationEvent @AT@ 3736 @LENGTH@ 25
|
||||
|
||||
|
||||
MOV MethodDeclaration@@protected, String[], MethodName:ignoredTests, @TO@ TypeDeclaration@@[public, abstract]TestBidiMap, AbstractTestMap @AT@ 4969 @LENGTH@ 128
|
||||
|
||||
|
||||
UPD IfStatement@@if (urlsafe.get(b)) { if (b == ' ') { b='+'; } buffer.write(b);} else { buffer.write('%'); char hex1=Character.toUpperCase(Character.forDigit((b >> 4) & 0xF,16)); char hex2=Character.toUpperCase(Character.forDigit(b & 0xF,16)); buffer.write(hex1); buffer.write(hex2);} @TO@ if (b >= 0 && urlsafe.get(b)) { if (b == ' ') { b='+'; } buffer.write(b);} else { buffer.write('%'); char hex1=Character.toUpperCase(Character.forDigit((b >> 4) & 0xF,16)); char hex2=Character.toUpperCase(Character.forDigit(b & 0xF,16)); buffer.write(hex1); buffer.write(hex2);} @AT@ 5886 @LENGTH@ 488
|
||||
---INS InfixExpression@@b >= 0 && urlsafe.get(b) @TO@ IfStatement@@if (urlsafe.get(b)) { if (b == ' ') { b='+'; } buffer.write(b);} else { buffer.write('%'); char hex1=Character.toUpperCase(Character.forDigit((b >> 4) & 0xF,16)); char hex2=Character.toUpperCase(Character.forDigit(b & 0xF,16)); buffer.write(hex1); buffer.write(hex2);} @AT@ 5888 @LENGTH@ 24
|
||||
------INS InfixExpression@@b >= 0 @TO@ InfixExpression@@b >= 0 && urlsafe.get(b) @AT@ 5888 @LENGTH@ 6
|
||||
---------INS SimpleName@@b @TO@ InfixExpression@@b >= 0 @AT@ 5888 @LENGTH@ 1
|
||||
---------INS Operator@@>= @TO@ InfixExpression@@b >= 0 @AT@ 5889 @LENGTH@ 2
|
||||
---------INS NumberLiteral@@0 @TO@ InfixExpression@@b >= 0 @AT@ 5893 @LENGTH@ 1
|
||||
------MOV MethodInvocation@@urlsafe.get(b) @TO@ InfixExpression@@b >= 0 && urlsafe.get(b) @AT@ 5890 @LENGTH@ 14
|
||||
------INS Operator@@&& @TO@ InfixExpression@@b >= 0 && urlsafe.get(b) @AT@ 5894 @LENGTH@ 2
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @TO@ TypeDeclaration@@[public]TestMapUtils, BulkTest @AT@ 10510 @LENGTH@ 646
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10510 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10517 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testDebugAndVerbosePrintCasting @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10522 @LENGTH@ 31
|
||||
---INS VariableDeclarationStatement@@final Map inner=new HashMap(2,1); @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10566 @LENGTH@ 36
|
||||
------INS Modifier@@final @TO@ VariableDeclarationStatement@@final Map inner=new HashMap(2,1); @AT@ 10566 @LENGTH@ 5
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@final Map inner=new HashMap(2,1); @AT@ 10572 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@inner=new HashMap(2,1) @TO@ VariableDeclarationStatement@@final Map inner=new HashMap(2,1); @AT@ 10576 @LENGTH@ 25
|
||||
---------INS SimpleName@@inner @TO@ VariableDeclarationFragment@@inner=new HashMap(2,1) @AT@ 10576 @LENGTH@ 5
|
||||
---------INS ClassInstanceCreation@@HashMap[2, 1] @TO@ VariableDeclarationFragment@@inner=new HashMap(2,1) @AT@ 10584 @LENGTH@ 17
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@HashMap[2, 1] @AT@ 10584 @LENGTH@ 3
|
||||
------------INS SimpleType@@HashMap @TO@ ClassInstanceCreation@@HashMap[2, 1] @AT@ 10588 @LENGTH@ 7
|
||||
------------INS NumberLiteral@@2 @TO@ ClassInstanceCreation@@HashMap[2, 1] @AT@ 10596 @LENGTH@ 1
|
||||
------------INS NumberLiteral@@1 @TO@ ClassInstanceCreation@@HashMap[2, 1] @AT@ 10599 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:inner.put(new Integer(2),"B") @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10611 @LENGTH@ 34
|
||||
------INS MethodInvocation@@inner.put(new Integer(2),"B") @TO@ ExpressionStatement@@MethodInvocation:inner.put(new Integer(2),"B") @AT@ 10611 @LENGTH@ 33
|
||||
---------INS SimpleName@@Name:inner @TO@ MethodInvocation@@inner.put(new Integer(2),"B") @AT@ 10611 @LENGTH@ 5
|
||||
---------INS SimpleName@@MethodName:put:[new Integer(2), "B"] @TO@ MethodInvocation@@inner.put(new Integer(2),"B") @AT@ 10617 @LENGTH@ 27
|
||||
------------INS ClassInstanceCreation@@Integer[2] @TO@ SimpleName@@MethodName:put:[new Integer(2), "B"] @AT@ 10622 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[2] @AT@ 10622 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[2] @AT@ 10626 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@2 @TO@ ClassInstanceCreation@@Integer[2] @AT@ 10634 @LENGTH@ 1
|
||||
------------INS StringLiteral@@"B" @TO@ SimpleName@@MethodName:put:[new Integer(2), "B"] @AT@ 10639 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:inner.put(new Integer(3),"C") @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10654 @LENGTH@ 34
|
||||
------INS MethodInvocation@@inner.put(new Integer(3),"C") @TO@ ExpressionStatement@@MethodInvocation:inner.put(new Integer(3),"C") @AT@ 10654 @LENGTH@ 33
|
||||
---------INS SimpleName@@Name:inner @TO@ MethodInvocation@@inner.put(new Integer(3),"C") @AT@ 10654 @LENGTH@ 5
|
||||
---------INS SimpleName@@MethodName:put:[new Integer(3), "C"] @TO@ MethodInvocation@@inner.put(new Integer(3),"C") @AT@ 10660 @LENGTH@ 27
|
||||
------------INS ClassInstanceCreation@@Integer[3] @TO@ SimpleName@@MethodName:put:[new Integer(3), "C"] @AT@ 10665 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[3] @AT@ 10665 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[3] @AT@ 10669 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@3 @TO@ ClassInstanceCreation@@Integer[3] @AT@ 10677 @LENGTH@ 1
|
||||
------------INS StringLiteral@@"C" @TO@ SimpleName@@MethodName:put:[new Integer(3), "C"] @AT@ 10682 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@final Map outer=new HashMap(2,1); @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10698 @LENGTH@ 36
|
||||
------INS Modifier@@final @TO@ VariableDeclarationStatement@@final Map outer=new HashMap(2,1); @AT@ 10698 @LENGTH@ 5
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@final Map outer=new HashMap(2,1); @AT@ 10704 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@outer=new HashMap(2,1) @TO@ VariableDeclarationStatement@@final Map outer=new HashMap(2,1); @AT@ 10708 @LENGTH@ 25
|
||||
---------INS SimpleName@@outer @TO@ VariableDeclarationFragment@@outer=new HashMap(2,1) @AT@ 10708 @LENGTH@ 5
|
||||
---------INS ClassInstanceCreation@@HashMap[2, 1] @TO@ VariableDeclarationFragment@@outer=new HashMap(2,1) @AT@ 10716 @LENGTH@ 17
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@HashMap[2, 1] @AT@ 10716 @LENGTH@ 3
|
||||
------------INS SimpleType@@HashMap @TO@ ClassInstanceCreation@@HashMap[2, 1] @AT@ 10720 @LENGTH@ 7
|
||||
------------INS NumberLiteral@@2 @TO@ ClassInstanceCreation@@HashMap[2, 1] @AT@ 10728 @LENGTH@ 1
|
||||
------------INS NumberLiteral@@1 @TO@ ClassInstanceCreation@@HashMap[2, 1] @AT@ 10731 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:outer.put(new Integer(0),inner) @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10743 @LENGTH@ 36
|
||||
------INS MethodInvocation@@outer.put(new Integer(0),inner) @TO@ ExpressionStatement@@MethodInvocation:outer.put(new Integer(0),inner) @AT@ 10743 @LENGTH@ 35
|
||||
---------INS SimpleName@@Name:outer @TO@ MethodInvocation@@outer.put(new Integer(0),inner) @AT@ 10743 @LENGTH@ 5
|
||||
---------INS SimpleName@@MethodName:put:[new Integer(0), inner] @TO@ MethodInvocation@@outer.put(new Integer(0),inner) @AT@ 10749 @LENGTH@ 29
|
||||
------------INS ClassInstanceCreation@@Integer[0] @TO@ SimpleName@@MethodName:put:[new Integer(0), inner] @AT@ 10754 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[0] @AT@ 10754 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[0] @AT@ 10758 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@0 @TO@ ClassInstanceCreation@@Integer[0] @AT@ 10766 @LENGTH@ 1
|
||||
------------INS SimpleName@@inner @TO@ SimpleName@@MethodName:put:[new Integer(0), inner] @AT@ 10771 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@MethodInvocation:outer.put(new Integer(1),"A") @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10788 @LENGTH@ 33
|
||||
------INS MethodInvocation@@outer.put(new Integer(1),"A") @TO@ ExpressionStatement@@MethodInvocation:outer.put(new Integer(1),"A") @AT@ 10788 @LENGTH@ 32
|
||||
---------INS SimpleName@@Name:outer @TO@ MethodInvocation@@outer.put(new Integer(1),"A") @AT@ 10788 @LENGTH@ 5
|
||||
---------INS SimpleName@@MethodName:put:[new Integer(1), "A"] @TO@ MethodInvocation@@outer.put(new Integer(1),"A") @AT@ 10794 @LENGTH@ 26
|
||||
------------INS ClassInstanceCreation@@Integer[1] @TO@ SimpleName@@MethodName:put:[new Integer(1), "A"] @AT@ 10799 @LENGTH@ 14
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Integer[1] @AT@ 10799 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Integer @TO@ ClassInstanceCreation@@Integer[1] @AT@ 10803 @LENGTH@ 7
|
||||
---------------INS NumberLiteral@@1 @TO@ ClassInstanceCreation@@Integer[1] @AT@ 10811 @LENGTH@ 1
|
||||
------------INS StringLiteral@@"A" @TO@ SimpleName@@MethodName:put:[new Integer(1), "A"] @AT@ 10816 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@final ByteArrayOutputStream out=new ByteArrayOutputStream(); @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10833 @LENGTH@ 62
|
||||
------INS Modifier@@final @TO@ VariableDeclarationStatement@@final ByteArrayOutputStream out=new ByteArrayOutputStream(); @AT@ 10833 @LENGTH@ 5
|
||||
------INS SimpleType@@ByteArrayOutputStream @TO@ VariableDeclarationStatement@@final ByteArrayOutputStream out=new ByteArrayOutputStream(); @AT@ 10839 @LENGTH@ 21
|
||||
------INS VariableDeclarationFragment@@out=new ByteArrayOutputStream() @TO@ VariableDeclarationStatement@@final ByteArrayOutputStream out=new ByteArrayOutputStream(); @AT@ 10861 @LENGTH@ 33
|
||||
---------INS SimpleName@@out @TO@ VariableDeclarationFragment@@out=new ByteArrayOutputStream() @AT@ 10861 @LENGTH@ 3
|
||||
---------INS ClassInstanceCreation@@ByteArrayOutputStream[] @TO@ VariableDeclarationFragment@@out=new ByteArrayOutputStream() @AT@ 10867 @LENGTH@ 27
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@ByteArrayOutputStream[] @AT@ 10867 @LENGTH@ 3
|
||||
------------INS SimpleType@@ByteArrayOutputStream @TO@ ClassInstanceCreation@@ByteArrayOutputStream[] @AT@ 10871 @LENGTH@ 21
|
||||
---INS VariableDeclarationStatement@@final PrintStream outPrint=new PrintStream(out); @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10904 @LENGTH@ 50
|
||||
------INS Modifier@@final @TO@ VariableDeclarationStatement@@final PrintStream outPrint=new PrintStream(out); @AT@ 10904 @LENGTH@ 5
|
||||
------INS SimpleType@@PrintStream @TO@ VariableDeclarationStatement@@final PrintStream outPrint=new PrintStream(out); @AT@ 10910 @LENGTH@ 11
|
||||
------INS VariableDeclarationFragment@@outPrint=new PrintStream(out) @TO@ VariableDeclarationStatement@@final PrintStream outPrint=new PrintStream(out); @AT@ 10922 @LENGTH@ 31
|
||||
---------INS SimpleName@@outPrint @TO@ VariableDeclarationFragment@@outPrint=new PrintStream(out) @AT@ 10922 @LENGTH@ 8
|
||||
---------INS ClassInstanceCreation@@PrintStream[out] @TO@ VariableDeclarationFragment@@outPrint=new PrintStream(out) @AT@ 10933 @LENGTH@ 20
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@PrintStream[out] @AT@ 10933 @LENGTH@ 3
|
||||
------------INS SimpleType@@PrintStream @TO@ ClassInstanceCreation@@PrintStream[out] @AT@ 10937 @LENGTH@ 11
|
||||
------------INS SimpleName@@out @TO@ ClassInstanceCreation@@PrintStream[out] @AT@ 10949 @LENGTH@ 3
|
||||
---INS TryStatement@@try { MapUtils.debugPrint(outPrint,"Print Map",outer);} catch (final ClassCastException e) { fail("No Casting should be occurring!");} @TO@ MethodDeclaration@@public, void, MethodName:testDebugAndVerbosePrintCasting, @AT@ 10972 @LENGTH@ 178
|
||||
------INS ExpressionStatement@@MethodInvocation:MapUtils.debugPrint(outPrint,"Print Map",outer) @TO@ TryStatement@@try { MapUtils.debugPrint(outPrint,"Print Map",outer);} catch (final ClassCastException e) { fail("No Casting should be occurring!");} @AT@ 10990 @LENGTH@ 50
|
||||
---------INS MethodInvocation@@MapUtils.debugPrint(outPrint,"Print Map",outer) @TO@ ExpressionStatement@@MethodInvocation:MapUtils.debugPrint(outPrint,"Print Map",outer) @AT@ 10990 @LENGTH@ 49
|
||||
------------INS SimpleName@@Name:MapUtils @TO@ MethodInvocation@@MapUtils.debugPrint(outPrint,"Print Map",outer) @AT@ 10990 @LENGTH@ 8
|
||||
------------INS SimpleName@@MethodName:debugPrint:[outPrint, "Print Map", outer] @TO@ MethodInvocation@@MapUtils.debugPrint(outPrint,"Print Map",outer) @AT@ 10999 @LENGTH@ 40
|
||||
---------------INS SimpleName@@outPrint @TO@ SimpleName@@MethodName:debugPrint:[outPrint, "Print Map", outer] @AT@ 11010 @LENGTH@ 8
|
||||
---------------INS StringLiteral@@"Print Map" @TO@ SimpleName@@MethodName:debugPrint:[outPrint, "Print Map", outer] @AT@ 11020 @LENGTH@ 11
|
||||
---------------INS SimpleName@@outer @TO@ SimpleName@@MethodName:debugPrint:[outPrint, "Print Map", outer] @AT@ 11033 @LENGTH@ 5
|
||||
------INS CatchClause@@catch (final ClassCastException e) { fail("No Casting should be occurring!");} @TO@ TryStatement@@try { MapUtils.debugPrint(outPrint,"Print Map",outer);} catch (final ClassCastException e) { fail("No Casting should be occurring!");} @AT@ 11051 @LENGTH@ 99
|
||||
---------INS SingleVariableDeclaration@@final ClassCastException e @TO@ CatchClause@@catch (final ClassCastException e) { fail("No Casting should be occurring!");} @AT@ 11058 @LENGTH@ 26
|
||||
------------INS Modifier@@final @TO@ SingleVariableDeclaration@@final ClassCastException e @AT@ 11058 @LENGTH@ 5
|
||||
------------INS SimpleType@@ClassCastException @TO@ SingleVariableDeclaration@@final ClassCastException e @AT@ 11064 @LENGTH@ 18
|
||||
------------INS SimpleName@@e @TO@ SingleVariableDeclaration@@final ClassCastException e @AT@ 11083 @LENGTH@ 1
|
||||
---------INS ExpressionStatement@@MethodInvocation:fail("No Casting should be occurring!") @TO@ CatchClause@@catch (final ClassCastException e) { fail("No Casting should be occurring!");} @AT@ 11100 @LENGTH@ 40
|
||||
------------INS MethodInvocation@@fail("No Casting should be occurring!") @TO@ ExpressionStatement@@MethodInvocation:fail("No Casting should be occurring!") @AT@ 11100 @LENGTH@ 39
|
||||
---------------INS SimpleName@@MethodName:fail:["No Casting should be occurring!"] @TO@ MethodInvocation@@fail("No Casting should be occurring!") @AT@ 11100 @LENGTH@ 39
|
||||
------------------INS StringLiteral@@"No Casting should be occurring!" @TO@ SimpleName@@MethodName:fail:["No Casting should be occurring!"] @AT@ 11105 @LENGTH@ 33
|
||||
|
||||
|
||||
UPD ThrowStatement@@ClassInstanceCreation:new IllegalArgumentException("The obejct and transformer map must not be null") @TO@ ClassInstanceCreation:new IllegalArgumentException("The object and transformer map must not be null") @AT@ 17305 @LENGTH@ 86
|
||||
---UPD ClassInstanceCreation@@IllegalArgumentException["The obejct and transformer map must not be null"] @TO@ IllegalArgumentException["The object and transformer map must not be null"] @AT@ 17311 @LENGTH@ 79
|
||||
------UPD StringLiteral@@"The obejct and transformer map must not be null" @TO@ "The object and transformer map must not be null" @AT@ 17340 @LENGTH@ 49
|
||||
|
||||
|
||||
UPD IfStatement@@if (handler.preRemove(object,nCopies)) { result=getBag().remove(object,nCopies); handler.postRemove(object,nCopies,result);} @TO@ if (handler.preRemoveNCopies(object,nCopies)) { result=getBag().remove(object,nCopies); handler.postRemoveNCopies(object,nCopies,result);} @AT@ 7930 @LENGTH@ 163
|
||||
---UPD MethodInvocation@@handler.preRemove(object,nCopies) @TO@ handler.preRemoveNCopies(object,nCopies) @AT@ 7934 @LENGTH@ 34
|
||||
------UPD SimpleName@@MethodName:preRemove:[object, nCopies] @TO@ MethodName:preRemoveNCopies:[object, nCopies] @AT@ 7942 @LENGTH@ 26
|
||||
---UPD Block@@ThenBody:{ result=getBag().remove(object,nCopies); handler.postRemove(object,nCopies,result);} @TO@ ThenBody:{ result=getBag().remove(object,nCopies); handler.postRemoveNCopies(object,nCopies,result);} @AT@ 7970 @LENGTH@ 123
|
||||
------UPD ExpressionStatement@@MethodInvocation:handler.postRemove(object,nCopies,result) @TO@ MethodInvocation:handler.postRemoveNCopies(object,nCopies,result) @AT@ 8039 @LENGTH@ 44
|
||||
---------UPD MethodInvocation@@handler.postRemove(object,nCopies,result) @TO@ handler.postRemoveNCopies(object,nCopies,result) @AT@ 8039 @LENGTH@ 43
|
||||
------------UPD SimpleName@@MethodName:postRemove:[object, nCopies, result] @TO@ MethodName:postRemoveNCopies:[object, nCopies, result] @AT@ 8047 @LENGTH@ 35
|
||||
|
||||
|
||||
UPD ReturnStatement@@FieldAccess:this.index @TO@ InfixExpression:this.index - this.startIndex @AT@ 7266 @LENGTH@ 18
|
||||
---DEL FieldAccess@@this.index @AT@ 7273 @LENGTH@ 10
|
||||
---INS InfixExpression@@this.index - this.startIndex @TO@ ReturnStatement@@FieldAccess:this.index @AT@ 7279 @LENGTH@ 28
|
||||
------INS FieldAccess@@this.index @TO@ InfixExpression@@this.index - this.startIndex @AT@ 7279 @LENGTH@ 10
|
||||
---------MOV ThisExpression@@this @TO@ FieldAccess@@this.index @AT@ 7273 @LENGTH@ 4
|
||||
---------MOV SimpleName@@index @TO@ FieldAccess@@this.index @AT@ 7278 @LENGTH@ 5
|
||||
------INS Operator@@- @TO@ InfixExpression@@this.index - this.startIndex @AT@ 7289 @LENGTH@ 1
|
||||
------INS FieldAccess@@this.startIndex @TO@ InfixExpression@@this.index - this.startIndex @AT@ 7292 @LENGTH@ 15
|
||||
---------INS ThisExpression@@this @TO@ FieldAccess@@this.startIndex @AT@ 7292 @LENGTH@ 4
|
||||
---------INS SimpleName@@startIndex @TO@ FieldAccess@@this.startIndex @AT@ 7297 @LENGTH@ 10
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, static, void, MethodName:main, String[] args, @TO@ TypeDeclaration@@[public]IOTestSuite, @AT@ 3248 @LENGTH@ 79
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, static, void, MethodName:main, String[] args, @AT@ 3248 @LENGTH@ 6
|
||||
---INS Modifier@@static @TO@ MethodDeclaration@@public, static, void, MethodName:main, String[] args, @AT@ 3255 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, static, void, MethodName:main, String[] args, @AT@ 3262 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:main @TO@ MethodDeclaration@@public, static, void, MethodName:main, String[] args, @AT@ 3267 @LENGTH@ 4
|
||||
---INS SingleVariableDeclaration@@String[] args @TO@ MethodDeclaration@@public, static, void, MethodName:main, String[] args, @AT@ 3272 @LENGTH@ 13
|
||||
------INS ArrayType@@String[] @TO@ SingleVariableDeclaration@@String[] args @AT@ 3272 @LENGTH@ 8
|
||||
---------INS SimpleType@@String @TO@ ArrayType@@String[] @AT@ 3272 @LENGTH@ 6
|
||||
------INS SimpleName@@args @TO@ SingleVariableDeclaration@@String[] args @AT@ 3281 @LENGTH@ 4
|
||||
---INS ExpressionStatement@@MethodInvocation:TestRunner.run(suite()) @TO@ MethodDeclaration@@public, static, void, MethodName:main, String[] args, @AT@ 3297 @LENGTH@ 24
|
||||
------INS MethodInvocation@@TestRunner.run(suite()) @TO@ ExpressionStatement@@MethodInvocation:TestRunner.run(suite()) @AT@ 3297 @LENGTH@ 23
|
||||
---------INS SimpleName@@Name:TestRunner @TO@ MethodInvocation@@TestRunner.run(suite()) @AT@ 3297 @LENGTH@ 10
|
||||
---------INS SimpleName@@MethodName:run:[suite()] @TO@ MethodInvocation@@TestRunner.run(suite()) @AT@ 3308 @LENGTH@ 12
|
||||
------------INS MethodInvocation@@MethodName:suite:[] @TO@ SimpleName@@MethodName:run:[suite()] @AT@ 3312 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD MethodDeclaration@@protected, Node, MethodName:createNode, Node next, Node previous, Object element, @TO@ protected, Node, MethodName:createNode, Node previous, Node next, Object element, @AT@ 11061 @LENGTH@ 125
|
||||
---UPD SingleVariableDeclaration@@Node next @TO@ Node previous @AT@ 11087 @LENGTH@ 9
|
||||
------UPD SimpleName@@next @TO@ previous @AT@ 11092 @LENGTH@ 4
|
||||
---UPD SingleVariableDeclaration@@Node previous @TO@ Node next @AT@ 11098 @LENGTH@ 13
|
||||
------UPD SimpleName@@previous @TO@ next @AT@ 11103 @LENGTH@ 8
|
||||
---UPD ReturnStatement@@ClassInstanceCreation:new Node(next,previous,element) @TO@ ClassInstanceCreation:new Node(previous,next,element) @AT@ 11139 @LENGTH@ 41
|
||||
------UPD ClassInstanceCreation@@Node[next, previous, element] @TO@ Node[previous, next, element] @AT@ 11146 @LENGTH@ 33
|
||||
---------DEL SimpleName@@previous @AT@ 11161 @LENGTH@ 8
|
||||
---------INS SimpleName@@previous @TO@ ClassInstanceCreation@@Node[next, previous, element] @AT@ 11537 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[protected, static]MyMapEntry, DefaultMapEntry @TO@ [protected, static]MyMapEntry, AbstractMapEntry @AT@ 24282 @LENGTH@ 963
|
||||
---UPD SimpleType@@DefaultMapEntry @TO@ AbstractMapEntry @AT@ 24324 @LENGTH@ 15
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(CopyUtilsTest.class)) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 3443 @LENGTH@ 54
|
||||
---INS MethodInvocation@@suite.addTest(new TestSuite(CopyUtilsTest.class)) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(CopyUtilsTest.class)) @AT@ 3443 @LENGTH@ 53
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(new TestSuite(CopyUtilsTest.class)) @AT@ 3443 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[new TestSuite(CopyUtilsTest.class)] @TO@ MethodInvocation@@suite.addTest(new TestSuite(CopyUtilsTest.class)) @AT@ 3449 @LENGTH@ 47
|
||||
---------INS ClassInstanceCreation@@TestSuite[CopyUtilsTest.class] @TO@ SimpleName@@MethodName:addTest:[new TestSuite(CopyUtilsTest.class)] @AT@ 3458 @LENGTH@ 36
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@TestSuite[CopyUtilsTest.class] @AT@ 3458 @LENGTH@ 3
|
||||
------------INS SimpleType@@TestSuite @TO@ ClassInstanceCreation@@TestSuite[CopyUtilsTest.class] @AT@ 3462 @LENGTH@ 9
|
||||
------------INS TypeLiteral@@CopyUtilsTest.class @TO@ ClassInstanceCreation@@TestSuite[CopyUtilsTest.class] @AT@ 3473 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD IfStatement@@if (entrySet != null) return entrySet; @TO@ if (entrySet != null) { return entrySet;} @AT@ 20580 @LENGTH@ 38
|
||||
---UPD Block@@ThenBody:return entrySet; @TO@ ThenBody:{ return entrySet;} @AT@ 20602 @LENGTH@ 16
|
||||
|
||||
|
||||
UPD IfStatement@@if (iMap != null) { iMap.putAll(map);} @TO@ if (iMap != null) { iMap.putAll(map); return;} @AT@ 12964 @LENGTH@ 59
|
||||
---UPD Block@@ThenBody:{ iMap.putAll(map);} @TO@ ThenBody:{ iMap.putAll(map); return;} @AT@ 12982 @LENGTH@ 41
|
||||
------INS ReturnStatement@@ @TO@ Block@@ThenBody:{ iMap.putAll(map);} @AT@ 13026 @LENGTH@ 7
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, voidMethodName:IOUtils, @TO@ TypeDeclaration@@[public, final]IOUtils, @AT@ 7643 @LENGTH@ 19
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, voidMethodName:IOUtils, @AT@ 7643 @LENGTH@ 6
|
||||
---INS SimpleName@@MethodName:IOUtils @TO@ MethodDeclaration@@public, voidMethodName:IOUtils, @AT@ 7650 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD MethodDeclaration@@protected, String[], MethodName:ignoredTests, @TO@ protected, void, MethodName:verify, @AT@ 4969 @LENGTH@ 128
|
||||
---DEL ArrayType@@String[] @AT@ 4979 @LENGTH@ 8
|
||||
------DEL SimpleType@@String @AT@ 4979 @LENGTH@ 6
|
||||
---UPD SimpleName@@MethodName:ignoredTests @TO@ MethodName:verify @AT@ 4988 @LENGTH@ 12
|
||||
---DEL ReturnStatement@@ArrayCreation:new String[]{"TestHashBidiMap.bulkTestInverseMap.bulkTestInverseMap"} @AT@ 5013 @LENGTH@ 78
|
||||
------DEL ArrayCreation@@new String[]{"TestHashBidiMap.bulkTestInverseMap.bulkTestInverseMap"} @AT@ 5020 @LENGTH@ 70
|
||||
---------DEL ArrayType@@String[] @AT@ 5024 @LENGTH@ 8
|
||||
------------DEL SimpleType@@String @AT@ 5024 @LENGTH@ 6
|
||||
---------DEL ArrayInitializer@@{"TestHashBidiMap.bulkTestInverseMap.bulkTestInverseMap"} @AT@ 5033 @LENGTH@ 57
|
||||
------------DEL StringLiteral@@"TestHashBidiMap.bulkTestInverseMap.bulkTestInverseMap" @AT@ 5034 @LENGTH@ 55
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@protected, String[], MethodName:ignoredTests, @AT@ 6210 @LENGTH@ 4
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(map.size(),((BidiMap)map).inverseBidiMap().size()) @TO@ MethodDeclaration@@protected, String[], MethodName:ignoredTests, @AT@ 6260 @LENGTH@ 66
|
||||
------INS MethodInvocation@@assertEquals(map.size(),((BidiMap)map).inverseBidiMap().size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(map.size(),((BidiMap)map).inverseBidiMap().size()) @AT@ 6260 @LENGTH@ 65
|
||||
---------INS SimpleName@@MethodName:assertEquals:[map.size(), ((BidiMap)map).inverseBidiMap().size()] @TO@ MethodInvocation@@assertEquals(map.size(),((BidiMap)map).inverseBidiMap().size()) @AT@ 6260 @LENGTH@ 65
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), ((BidiMap)map).inverseBidiMap().size()] @AT@ 6273 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 6273 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 6277 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@((BidiMap)map).inverseBidiMap().size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), ((BidiMap)map).inverseBidiMap().size()] @AT@ 6285 @LENGTH@ 39
|
||||
---------------INS MethodInvocation@@MethodName:inverseBidiMap:[] @TO@ MethodInvocation@@((BidiMap)map).inverseBidiMap().size() @AT@ 6285 @LENGTH@ 32
|
||||
---------------INS ParenthesizedExpression@@((BidiMap)map) @TO@ MethodInvocation@@((BidiMap)map).inverseBidiMap().size() @AT@ 6285 @LENGTH@ 15
|
||||
------------------INS CastExpression@@(BidiMap)map @TO@ ParenthesizedExpression@@((BidiMap)map) @AT@ 6286 @LENGTH@ 13
|
||||
---------------------INS SimpleType@@BidiMap @TO@ CastExpression@@(BidiMap)map @AT@ 6287 @LENGTH@ 7
|
||||
---------------------INS SimpleName@@map @TO@ CastExpression@@(BidiMap)map @AT@ 6296 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@((BidiMap)map).inverseBidiMap().size() @AT@ 6318 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@SuperMethodInvocation:super.verify() @TO@ MethodDeclaration@@protected, String[], MethodName:ignoredTests, @AT@ 6368 @LENGTH@ 15
|
||||
------INS SuperMethodInvocation@@super.verify() @TO@ ExpressionStatement@@SuperMethodInvocation:super.verify() @AT@ 6368 @LENGTH@ 14
|
||||
---------INS SimpleName@@MethodName:verify:[] @TO@ SuperMethodInvocation@@super.verify() @AT@ 6374 @LENGTH@ 6
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]ArrayListIterator, ArrayIterator[ResetableListIterator] @TO@ [public]ArrayListIterator, ArrayIterator[ListIterator, ResetableListIterator] @AT@ 3864 @LENGTH@ 5805
|
||||
---INS SimpleType@@ListIterator @TO@ TypeDeclaration@@[public]ArrayListIterator, ArrayIterator[ResetableListIterator] @AT@ 3869 @LENGTH@ 12
|
||||
|
||||
|
||||
UPD IfStatement@@if (mtsz > 4) { code.setLength(4);} @TO@ if (mtsz > maxCodeLen) { code.setLength(maxCodeLen);} @AT@ 13977 @LENGTH@ 36
|
||||
---UPD InfixExpression@@mtsz > 4 @TO@ mtsz > maxCodeLen @AT@ 13981 @LENGTH@ 8
|
||||
------INS SimpleName@@maxCodeLen @TO@ InfixExpression@@mtsz > 4 @AT@ 13988 @LENGTH@ 10
|
||||
------DEL NumberLiteral@@4 @AT@ 13988 @LENGTH@ 1
|
||||
---UPD Block@@ThenBody:{ code.setLength(4);} @TO@ ThenBody:{ code.setLength(maxCodeLen);} @AT@ 13991 @LENGTH@ 22
|
||||
------UPD ExpressionStatement@@MethodInvocation:code.setLength(4) @TO@ MethodInvocation:code.setLength(maxCodeLen) @AT@ 13993 @LENGTH@ 18
|
||||
---------UPD MethodInvocation@@code.setLength(4) @TO@ code.setLength(maxCodeLen) @AT@ 13993 @LENGTH@ 17
|
||||
------------UPD SimpleName@@MethodName:setLength:[4] @TO@ MethodName:setLength:[maxCodeLen] @AT@ 13998 @LENGTH@ 12
|
||||
---------------DEL NumberLiteral@@4 @AT@ 14008 @LENGTH@ 1
|
||||
---------------INS SimpleName@@maxCodeLen @TO@ SimpleName@@MethodName:setLength:[4] @AT@ 14017 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD IfStatement@@if (handler.preAdd(object,nCopies)) { result=getBag().add(object,nCopies); handler.postAdd(object,nCopies,result);} @TO@ if (handler.preAddNCopies(object,nCopies)) { result=getBag().add(object,nCopies); handler.postAddNCopies(object,nCopies,result);} @AT@ 7649 @LENGTH@ 154
|
||||
---UPD MethodInvocation@@handler.preAdd(object,nCopies) @TO@ handler.preAddNCopies(object,nCopies) @AT@ 7653 @LENGTH@ 31
|
||||
------UPD SimpleName@@MethodName:preAdd:[object, nCopies] @TO@ MethodName:preAddNCopies:[object, nCopies] @AT@ 7661 @LENGTH@ 23
|
||||
---UPD Block@@ThenBody:{ result=getBag().add(object,nCopies); handler.postAdd(object,nCopies,result);} @TO@ ThenBody:{ result=getBag().add(object,nCopies); handler.postAddNCopies(object,nCopies,result);} @AT@ 7686 @LENGTH@ 117
|
||||
------UPD ExpressionStatement@@MethodInvocation:handler.postAdd(object,nCopies,result) @TO@ MethodInvocation:handler.postAddNCopies(object,nCopies,result) @AT@ 7752 @LENGTH@ 41
|
||||
---------UPD MethodInvocation@@handler.postAdd(object,nCopies,result) @TO@ handler.postAddNCopies(object,nCopies,result) @AT@ 7752 @LENGTH@ 40
|
||||
------------UPD SimpleName@@MethodName:postAdd:[object, nCopies, result] @TO@ MethodName:postAddNCopies:[object, nCopies, result] @AT@ 7760 @LENGTH@ 32
|
||||
|
||||
|
||||
UPD ReturnStatement@@InfixExpression:this.index - 1 @TO@ InfixExpression:this.index - this.startIndex - 1 @AT@ 7499 @LENGTH@ 22
|
||||
---UPD InfixExpression@@this.index - 1 @TO@ this.index - this.startIndex - 1 @AT@ 7506 @LENGTH@ 14
|
||||
------INS FieldAccess@@this.startIndex @TO@ InfixExpression@@this.index - 1 @AT@ 7543 @LENGTH@ 15
|
||||
---------INS ThisExpression@@this @TO@ FieldAccess@@this.startIndex @AT@ 7543 @LENGTH@ 4
|
||||
---------INS SimpleName@@startIndex @TO@ FieldAccess@@this.startIndex @AT@ 7548 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD ThrowStatement@@ClassInstanceCreation:new EncoderException("Parameter supplied to " + "RefinedSoundex " + "encode is not of type "+ "java.lang.String") @TO@ ClassInstanceCreation:new EncoderException("Parameter supplied to RefinedSoundex encode is not of type java.lang.String") @AT@ 6749 @LENGTH@ 241
|
||||
---UPD ClassInstanceCreation@@EncoderException["Parameter supplied to " + "RefinedSoundex " + "encode is not of type "+ "java.lang.String"] @TO@ EncoderException["Parameter supplied to RefinedSoundex encode is not of type java.lang.String"] @AT@ 6755 @LENGTH@ 234
|
||||
------DEL InfixExpression@@"Parameter supplied to " + "RefinedSoundex " + "encode is not of type "+ "java.lang.String" @AT@ 6776 @LENGTH@ 212
|
||||
---------DEL StringLiteral@@"Parameter supplied to " @AT@ 6776 @LENGTH@ 24
|
||||
---------DEL Operator@@+ @AT@ 6800 @LENGTH@ 1
|
||||
---------DEL StringLiteral@@"RefinedSoundex " @AT@ 6843 @LENGTH@ 17
|
||||
---------DEL StringLiteral@@"encode is not of type " @AT@ 6903 @LENGTH@ 24
|
||||
---------DEL StringLiteral@@"java.lang.String" @AT@ 6970 @LENGTH@ 18
|
||||
------INS StringLiteral@@"Parameter supplied to RefinedSoundex encode is not of type java.lang.String" @TO@ ClassInstanceCreation@@EncoderException["Parameter supplied to " + "RefinedSoundex " + "encode is not of type "+ "java.lang.String"] @AT@ 6777 @LENGTH@ 77
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]SingletonIterator, [ResetableIterator] @TO@ [public]SingletonIterator, [Iterator, ResetableIterator] @AT@ 3314 @LENGTH@ 1813
|
||||
---INS SimpleType@@Iterator @TO@ TypeDeclaration@@[public]SingletonIterator, [ResetableIterator] @AT@ 3338 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(org.apache.commons.io.filefilter.FileFilterTestCase.class)) @TO@ MethodInvocation:suite.addTest(new TestSuite(FileFilterTestCase.class)) @AT@ 3322 @LENGTH@ 92
|
||||
---UPD MethodInvocation@@suite.addTest(new TestSuite(org.apache.commons.io.filefilter.FileFilterTestCase.class)) @TO@ suite.addTest(new TestSuite(FileFilterTestCase.class)) @AT@ 3322 @LENGTH@ 91
|
||||
------UPD SimpleName@@MethodName:addTest:[new TestSuite(org.apache.commons.io.filefilter.FileFilterTestCase.class)] @TO@ MethodName:addTest:[new TestSuite(FileFilterTestCase.class)] @AT@ 3328 @LENGTH@ 85
|
||||
---------UPD ClassInstanceCreation@@TestSuite[org.apache.commons.io.filefilter.FileFilterTestCase.class] @TO@ TestSuite[FileFilterTestCase.class] @AT@ 3337 @LENGTH@ 74
|
||||
------------UPD TypeLiteral@@org.apache.commons.io.filefilter.FileFilterTestCase.class @TO@ FileFilterTestCase.class @AT@ 3352 @LENGTH@ 57
|
||||
|
||||
|
||||
UPD ReturnStatement@@ParenthesizedExpression:(doubleMetaphone(value)) @TO@ MethodInvocation:doubleMetaphone(value) @AT@ 9485 @LENGTH@ 32
|
||||
---DEL ParenthesizedExpression@@(doubleMetaphone(value)) @AT@ 9492 @LENGTH@ 24
|
||||
---MOV MethodInvocation@@doubleMetaphone(value) @TO@ ReturnStatement@@ParenthesizedExpression:(doubleMetaphone(value)) @AT@ 9493 @LENGTH@ 22
|
||||
|
||||
|
||||
INS IfStatement@@if (start > array.length) { throw new ArrayIndexOutOfBoundsException("Start index must not be greater than the array length");} @TO@ MethodDeclaration@@public, voidMethodName:ObjectArrayIterator, Object array[], int start, int end, @AT@ 6092 @LENGTH@ 148
|
||||
---INS InfixExpression@@start > array.length @TO@ IfStatement@@if (start > array.length) { throw new ArrayIndexOutOfBoundsException("Start index must not be greater than the array length");} @AT@ 6096 @LENGTH@ 20
|
||||
------INS SimpleName@@start @TO@ InfixExpression@@start > array.length @AT@ 6096 @LENGTH@ 5
|
||||
------INS Operator@@> @TO@ InfixExpression@@start > array.length @AT@ 6101 @LENGTH@ 1
|
||||
------INS QualifiedName@@array.length @TO@ InfixExpression@@start > array.length @AT@ 6104 @LENGTH@ 12
|
||||
---------INS SimpleName@@array @TO@ QualifiedName@@array.length @AT@ 6104 @LENGTH@ 5
|
||||
---------INS SimpleName@@length @TO@ QualifiedName@@array.length @AT@ 6110 @LENGTH@ 6
|
||||
---INS Block@@ThenBody:{ throw new ArrayIndexOutOfBoundsException("Start index must not be greater than the array length");} @TO@ IfStatement@@if (start > array.length) { throw new ArrayIndexOutOfBoundsException("Start index must not be greater than the array length");} @AT@ 6118 @LENGTH@ 122
|
||||
------INS ThrowStatement@@ClassInstanceCreation:new ArrayIndexOutOfBoundsException("Start index must not be greater than the array length") @TO@ Block@@ThenBody:{ throw new ArrayIndexOutOfBoundsException("Start index must not be greater than the array length");} @AT@ 6132 @LENGTH@ 98
|
||||
---------INS ClassInstanceCreation@@ArrayIndexOutOfBoundsException["Start index must not be greater than the array length"] @TO@ ThrowStatement@@ClassInstanceCreation:new ArrayIndexOutOfBoundsException("Start index must not be greater than the array length") @AT@ 6138 @LENGTH@ 91
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@ArrayIndexOutOfBoundsException["Start index must not be greater than the array length"] @AT@ 6138 @LENGTH@ 3
|
||||
------------INS SimpleType@@ArrayIndexOutOfBoundsException @TO@ ClassInstanceCreation@@ArrayIndexOutOfBoundsException["Start index must not be greater than the array length"] @AT@ 6142 @LENGTH@ 30
|
||||
------------INS StringLiteral@@"Start index must not be greater than the array length" @TO@ ClassInstanceCreation@@ArrayIndexOutOfBoundsException["Start index must not be greater than the array length"] @AT@ 6173 @LENGTH@ 55
|
||||
|
||||
|
||||
UPD ThrowStatement@@ClassInstanceCreation:new IllegalArgumentException("The obejct and closure map must not be null") @TO@ ClassInstanceCreation:new IllegalArgumentException("The object and closure map must not be null") @AT@ 17754 @LENGTH@ 82
|
||||
---UPD ClassInstanceCreation@@IllegalArgumentException["The obejct and closure map must not be null"] @TO@ IllegalArgumentException["The object and closure map must not be null"] @AT@ 17760 @LENGTH@ 75
|
||||
------UPD StringLiteral@@"The obejct and closure map must not be null" @TO@ "The object and closure map must not be null" @AT@ 17789 @LENGTH@ 45
|
||||
|
||||
|
||||
UPD MethodDeclaration@@protected, Node, MethodName:createNode, Node next, Node previous, Object element, @TO@ protected, Node, MethodName:createNode, Node previous, Node next, Object element, @AT@ 7055 @LENGTH@ 397
|
||||
---UPD SingleVariableDeclaration@@Node next @TO@ Node previous @AT@ 7081 @LENGTH@ 9
|
||||
------UPD SimpleName@@next @TO@ previous @AT@ 7086 @LENGTH@ 4
|
||||
---UPD SingleVariableDeclaration@@Node previous @TO@ Node next @AT@ 7092 @LENGTH@ 13
|
||||
------UPD SimpleName@@previous @TO@ next @AT@ 7097 @LENGTH@ 8
|
||||
---UPD IfStatement@@if (cachedNode == null) { return super.createNode(next,previous,element);} else { cachedNode.next=next; cachedNode.previous=previous; cachedNode.element=element; return cachedNode;} @TO@ if (cachedNode == null) { return super.createNode(previous,next,element);} else { cachedNode.next=next; cachedNode.previous=previous; cachedNode.element=element; return cachedNode;} @AT@ 7179 @LENGTH@ 267
|
||||
------UPD Block@@ThenBody:{ return super.createNode(next,previous,element);} @TO@ ThenBody:{ return super.createNode(previous,next,element);} @AT@ 7203 @LENGTH@ 73
|
||||
---------UPD ReturnStatement@@SuperMethodInvocation:super.createNode(next,previous,element) @TO@ SuperMethodInvocation:super.createNode(previous,next,element) @AT@ 7217 @LENGTH@ 49
|
||||
------------UPD SuperMethodInvocation@@super.createNode(next,previous,element) @TO@ super.createNode(previous,next,element) @AT@ 7224 @LENGTH@ 41
|
||||
---------------UPD SimpleName@@MethodName:createNode:[next, previous, element] @TO@ MethodName:createNode:[previous, next, element] @AT@ 7230 @LENGTH@ 10
|
||||
---------------DEL SimpleName@@previous @AT@ 7247 @LENGTH@ 8
|
||||
---------------INS SimpleName@@previous @TO@ SuperMethodInvocation@@super.createNode(next,previous,element) @AT@ 7457 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]ObjectArrayIterator, [ResetableIterator] @TO@ [public]ObjectArrayIterator, [Iterator, ResetableIterator] @AT@ 3673 @LENGTH@ 5572
|
||||
---INS SimpleType@@Iterator @TO@ TypeDeclaration@@[public]ObjectArrayIterator, [ResetableIterator] @AT@ 3624 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals("Cloned entry does not match orginal",origEntry,copiedEntry) @TO@ MethodInvocation:assertEquals("Cloned entry does not match original",origEntry,copiedEntry) @AT@ 5773 @LENGTH@ 101
|
||||
---UPD MethodInvocation@@assertEquals("Cloned entry does not match orginal",origEntry,copiedEntry) @TO@ assertEquals("Cloned entry does not match original",origEntry,copiedEntry) @AT@ 5773 @LENGTH@ 100
|
||||
------UPD SimpleName@@MethodName:assertEquals:["Cloned entry does not match orginal", origEntry, copiedEntry] @TO@ MethodName:assertEquals:["Cloned entry does not match original", origEntry, copiedEntry] @AT@ 5773 @LENGTH@ 100
|
||||
---------UPD StringLiteral@@"Cloned entry does not match orginal" @TO@ "Cloned entry does not match original" @AT@ 5786 @LENGTH@ 37
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]SingletonListIterator, [ResetableListIterator] @TO@ [public]SingletonListIterator, [ListIterator, ResetableListIterator] @AT@ 3253 @LENGTH@ 3993
|
||||
---INS SimpleType@@ListIterator @TO@ TypeDeclaration@@[public]SingletonListIterator, [ResetableListIterator] @AT@ 3327 @LENGTH@ 12
|
||||
|
||||
|
||||
UPD ThrowStatement@@ClassInstanceCreation:new IllegalArgumentException("Unrecognised value for unkown behaviour flag") @TO@ ClassInstanceCreation:new IllegalArgumentException("Unrecognised value for unknown behaviour flag") @AT@ 8240 @LENGTH@ 83
|
||||
---UPD ClassInstanceCreation@@IllegalArgumentException["Unrecognised value for unkown behaviour flag"] @TO@ IllegalArgumentException["Unrecognised value for unknown behaviour flag"] @AT@ 8246 @LENGTH@ 76
|
||||
------UPD StringLiteral@@"Unrecognised value for unkown behaviour flag" @TO@ "Unrecognised value for unknown behaviour flag" @AT@ 8275 @LENGTH@ 46
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, static, Map, MethodName:decorate, Map map, @TO@ public, static, OrderedMap, MethodName:decorate, Map map, @AT@ 4650 @LENGTH@ 83
|
||||
---UPD SimpleType@@Map @TO@ OrderedMap @AT@ 4664 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD ThrowStatement@@ClassInstanceCreation:new EncoderException("Parameter supplied to " + "Base64 " + "encode is not a byte[]") @TO@ ClassInstanceCreation:new EncoderException("Parameter supplied to Base64 encode is not a byte[]") @AT@ 19813 @LENGTH@ 149
|
||||
---UPD ClassInstanceCreation@@EncoderException["Parameter supplied to " + "Base64 " + "encode is not a byte[]"] @TO@ EncoderException["Parameter supplied to Base64 encode is not a byte[]"] @AT@ 19819 @LENGTH@ 142
|
||||
------INS StringLiteral@@"Parameter supplied to Base64 encode is not a byte[]" @TO@ ClassInstanceCreation@@EncoderException["Parameter supplied to " + "Base64 " + "encode is not a byte[]"] @AT@ 19507 @LENGTH@ 53
|
||||
------DEL InfixExpression@@"Parameter supplied to " + "Base64 " + "encode is not a byte[]" @AT@ 19857 @LENGTH@ 103
|
||||
---------DEL StringLiteral@@"Parameter supplied to " @AT@ 19857 @LENGTH@ 24
|
||||
---------DEL Operator@@+ @AT@ 19881 @LENGTH@ 1
|
||||
---------DEL StringLiteral@@"Base64 " @AT@ 19904 @LENGTH@ 9
|
||||
---------DEL StringLiteral@@"encode is not a byte[]" @AT@ 19936 @LENGTH@ 24
|
||||
|
||||
|
||||
INS TryStatement@@try { FileUtils.contentEquals(getTestDirectory(),getTestDirectory()); fail("Comparing directories should fail with an IOException");} catch (IOException ioe) {} @TO@ MethodDeclaration@@public, void, MethodName:testContentEquals, Exception, @AT@ 6289 @LENGTH@ 226
|
||||
---MOV ExpressionStatement@@MethodInvocation:assertTrue(!FileUtils.contentEquals(getTestDirectory(),getTestDirectory())) @TO@ TryStatement@@try { FileUtils.contentEquals(getTestDirectory(),getTestDirectory()); fail("Comparing directories should fail with an IOException");} catch (IOException ioe) {} @AT@ 6383 @LENGTH@ 90
|
||||
------MOV MethodInvocation@@FileUtils.contentEquals(getTestDirectory(),getTestDirectory()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue(!FileUtils.contentEquals(getTestDirectory(),getTestDirectory())) @AT@ 6408 @LENGTH@ 63
|
||||
---INS ExpressionStatement@@MethodInvocation:fail("Comparing directories should fail with an IOException") @TO@ TryStatement@@try { FileUtils.contentEquals(getTestDirectory(),getTestDirectory()); fail("Comparing directories should fail with an IOException");} catch (IOException ioe) {} @AT@ 6384 @LENGTH@ 62
|
||||
------INS MethodInvocation@@fail("Comparing directories should fail with an IOException") @TO@ ExpressionStatement@@MethodInvocation:fail("Comparing directories should fail with an IOException") @AT@ 6384 @LENGTH@ 61
|
||||
---------INS SimpleName@@MethodName:fail:["Comparing directories should fail with an IOException"] @TO@ MethodInvocation@@fail("Comparing directories should fail with an IOException") @AT@ 6384 @LENGTH@ 61
|
||||
------------INS StringLiteral@@"Comparing directories should fail with an IOException" @TO@ SimpleName@@MethodName:fail:["Comparing directories should fail with an IOException"] @AT@ 6389 @LENGTH@ 55
|
||||
---INS CatchClause@@catch (IOException ioe) {} @TO@ TryStatement@@try { FileUtils.contentEquals(getTestDirectory(),getTestDirectory()); fail("Comparing directories should fail with an IOException");} catch (IOException ioe) {} @AT@ 6457 @LENGTH@ 58
|
||||
------INS SingleVariableDeclaration@@IOException ioe @TO@ CatchClause@@catch (IOException ioe) {} @AT@ 6464 @LENGTH@ 15
|
||||
---------INS SimpleType@@IOException @TO@ SingleVariableDeclaration@@IOException ioe @AT@ 6464 @LENGTH@ 11
|
||||
---------INS SimpleName@@ioe @TO@ SingleVariableDeclaration@@IOException ioe @AT@ 6476 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new DefaultMapEntry(key,get(key)) @TO@ ClassInstanceCreation:new MyMapEntry(BeanMap.this,key,get(key)) @AT@ 16719 @LENGTH@ 42
|
||||
---UPD ClassInstanceCreation@@DefaultMapEntry[key, get(key)] @TO@ MyMapEntry[BeanMap.this, key, get(key)] @AT@ 16726 @LENGTH@ 34
|
||||
------UPD SimpleType@@DefaultMapEntry @TO@ MyMapEntry @AT@ 16730 @LENGTH@ 15
|
||||
------INS ThisExpression@@this @TO@ ClassInstanceCreation@@DefaultMapEntry[key, get(key)] @AT@ 16809 @LENGTH@ 12
|
||||
|
||||
|
||||
UPD ThrowStatement@@ClassInstanceCreation:new DecoderException("Parameter supplied to " + "Base64 " + "decode is not a byte[]") @TO@ ClassInstanceCreation:new DecoderException("Parameter supplied to Base64 decode is not a byte[]") @AT@ 8382 @LENGTH@ 149
|
||||
---UPD ClassInstanceCreation@@DecoderException["Parameter supplied to " + "Base64 " + "decode is not a byte[]"] @TO@ DecoderException["Parameter supplied to Base64 decode is not a byte[]"] @AT@ 8388 @LENGTH@ 142
|
||||
------INS StringLiteral@@"Parameter supplied to Base64 decode is not a byte[]" @TO@ ClassInstanceCreation@@DecoderException["Parameter supplied to " + "Base64 " + "decode is not a byte[]"] @AT@ 8409 @LENGTH@ 53
|
||||
------DEL InfixExpression@@"Parameter supplied to " + "Base64 " + "decode is not a byte[]" @AT@ 8426 @LENGTH@ 103
|
||||
---------DEL StringLiteral@@"Parameter supplied to " @AT@ 8426 @LENGTH@ 24
|
||||
---------DEL Operator@@+ @AT@ 8450 @LENGTH@ 1
|
||||
---------DEL StringLiteral@@"Base64 " @AT@ 8473 @LENGTH@ 9
|
||||
---------DEL StringLiteral@@"decode is not a byte[]" @AT@ 8505 @LENGTH@ 24
|
||||
|
||||
|
||||
UPD MethodDeclaration@@protected, BidiMap, MethodName:createBidiMap, Map normalMap, Map reverseMap, BidiMap inverseMap, @TO@ protected, BidiMap, MethodName:createBidiMap, Map normalMap, Map reverseMap, BidiMap inverseBidiMap, @AT@ 4874 @LENGTH@ 161
|
||||
---UPD SingleVariableDeclaration@@BidiMap inverseMap @TO@ BidiMap inverseBidiMap @AT@ 4937 @LENGTH@ 18
|
||||
------UPD SimpleName@@inverseMap @TO@ inverseBidiMap @AT@ 4945 @LENGTH@ 10
|
||||
---UPD ReturnStatement@@ClassInstanceCreation:new DualHashBidiMap(normalMap,reverseMap,inverseMap) @TO@ ClassInstanceCreation:new DualHashBidiMap(normalMap,reverseMap,inverseBidiMap) @AT@ 4967 @LENGTH@ 62
|
||||
------UPD ClassInstanceCreation@@DualHashBidiMap[normalMap, reverseMap, inverseMap] @TO@ DualHashBidiMap[normalMap, reverseMap, inverseBidiMap] @AT@ 4974 @LENGTH@ 54
|
||||
---------UPD SimpleName@@inverseMap @TO@ inverseBidiMap @AT@ 5017 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, int, MethodName:getUnkownObjectBehavior, @TO@ public, int, MethodName:getUnknownObjectBehavior, @AT@ 7642 @LENGTH@ 82
|
||||
---UPD SimpleName@@MethodName:getUnkownObjectBehavior @TO@ MethodName:getUnknownObjectBehavior @AT@ 7653 @LENGTH@ 23
|
||||
|
||||
|
||||
UPD ReturnStatement@@FieldAccess:this.index @TO@ InfixExpression:this.index - this.startIndex @AT@ 7714 @LENGTH@ 18
|
||||
---DEL FieldAccess@@this.index @AT@ 7721 @LENGTH@ 10
|
||||
---INS InfixExpression@@this.index - this.startIndex @TO@ ReturnStatement@@FieldAccess:this.index @AT@ 7740 @LENGTH@ 28
|
||||
------INS FieldAccess@@this.index @TO@ InfixExpression@@this.index - this.startIndex @AT@ 7740 @LENGTH@ 10
|
||||
---------MOV ThisExpression@@this @TO@ FieldAccess@@this.index @AT@ 7721 @LENGTH@ 4
|
||||
---------MOV SimpleName@@index @TO@ FieldAccess@@this.index @AT@ 7726 @LENGTH@ 5
|
||||
------INS Operator@@- @TO@ InfixExpression@@this.index - this.startIndex @AT@ 7750 @LENGTH@ 1
|
||||
------INS FieldAccess@@this.startIndex @TO@ InfixExpression@@this.index - this.startIndex @AT@ 7753 @LENGTH@ 15
|
||||
---------INS ThisExpression@@this @TO@ FieldAccess@@this.startIndex @AT@ 7753 @LENGTH@ 4
|
||||
---------INS SimpleName@@startIndex @TO@ FieldAccess@@this.startIndex @AT@ 7758 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, voidMethodName:StringEncoderComparator, StringEncoder en, @TO@ public, voidMethodName:StringEncoderComparator, StringEncoder stringEncoder, @AT@ 3625 @LENGTH@ 89
|
||||
---UPD SingleVariableDeclaration@@StringEncoder en @TO@ StringEncoder stringEncoder @AT@ 3656 @LENGTH@ 16
|
||||
------UPD SimpleName@@en @TO@ stringEncoder @AT@ 3670 @LENGTH@ 2
|
||||
---UPD ExpressionStatement@@Assignment:this.stringEncoder=en @TO@ Assignment:this.stringEncoder=stringEncoder @AT@ 3684 @LENGTH@ 24
|
||||
------UPD Assignment@@this.stringEncoder=en @TO@ this.stringEncoder=stringEncoder @AT@ 3684 @LENGTH@ 23
|
||||
---------UPD SimpleName@@en @TO@ stringEncoder @AT@ 3705 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD IfStatement@@if (prefixes == null) { throw new IllegalArgumentException("The prefix must not be null");} @TO@ if (prefix == null) { throw new IllegalArgumentException("The prefix must not be null");} @AT@ 3775 @LENGTH@ 112
|
||||
---UPD InfixExpression@@prefixes == null @TO@ prefix == null @AT@ 3779 @LENGTH@ 16
|
||||
------UPD SimpleName@@prefixes @TO@ prefix @AT@ 3779 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ReturnStatement@@ParenthesizedExpression:(soundex(pString)) @TO@ MethodInvocation:soundex(pString) @AT@ 5942 @LENGTH@ 26
|
||||
---DEL ParenthesizedExpression@@(soundex(pString)) @AT@ 5949 @LENGTH@ 18
|
||||
---MOV MethodInvocation@@soundex(pString) @TO@ ReturnStatement@@ParenthesizedExpression:(soundex(pString)) @AT@ 5950 @LENGTH@ 16
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:suite.addTest(TestHashBidiMap.suite()) @TO@ MethodInvocation:suite.addTest(TestDualHashBidiMap.suite()) @AT@ 4738 @LENGTH@ 39
|
||||
---UPD MethodInvocation@@suite.addTest(TestHashBidiMap.suite()) @TO@ suite.addTest(TestDualHashBidiMap.suite()) @AT@ 4738 @LENGTH@ 38
|
||||
------UPD SimpleName@@MethodName:addTest:[TestHashBidiMap.suite()] @TO@ MethodName:addTest:[TestDualHashBidiMap.suite()] @AT@ 4744 @LENGTH@ 32
|
||||
---------UPD MethodInvocation@@TestHashBidiMap.suite() @TO@ TestDualHashBidiMap.suite() @AT@ 4752 @LENGTH@ 23
|
||||
------------UPD SimpleName@@Name:TestHashBidiMap @TO@ Name:TestDualHashBidiMap @AT@ 4752 @LENGTH@ 15
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testMaxLengthLessThan3Fix, Exception, @TO@ TypeDeclaration@@[public]SoundexTest, StringEncoderAbstractTest @AT@ 11209 @LENGTH@ 196
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testMaxLengthLessThan3Fix, Exception, @AT@ 11209 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testMaxLengthLessThan3Fix, Exception, @AT@ 11216 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testMaxLengthLessThan3Fix @TO@ MethodDeclaration@@public, void, MethodName:testMaxLengthLessThan3Fix, Exception, @AT@ 11221 @LENGTH@ 25
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testMaxLengthLessThan3Fix, Exception, @AT@ 11256 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@Soundex soundex=new Soundex(); @TO@ MethodDeclaration@@public, void, MethodName:testMaxLengthLessThan3Fix, Exception, @AT@ 11276 @LENGTH@ 32
|
||||
------INS SimpleType@@Soundex @TO@ VariableDeclarationStatement@@Soundex soundex=new Soundex(); @AT@ 11276 @LENGTH@ 7
|
||||
------INS VariableDeclarationFragment@@soundex=new Soundex() @TO@ VariableDeclarationStatement@@Soundex soundex=new Soundex(); @AT@ 11284 @LENGTH@ 23
|
||||
---------INS SimpleName@@soundex @TO@ VariableDeclarationFragment@@soundex=new Soundex() @AT@ 11284 @LENGTH@ 7
|
||||
---------INS ClassInstanceCreation@@Soundex[] @TO@ VariableDeclarationFragment@@soundex=new Soundex() @AT@ 11294 @LENGTH@ 13
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@Soundex[] @AT@ 11294 @LENGTH@ 3
|
||||
------------INS SimpleType@@Soundex @TO@ ClassInstanceCreation@@Soundex[] @AT@ 11298 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:soundex.setMaxLength(2) @TO@ MethodDeclaration@@public, void, MethodName:testMaxLengthLessThan3Fix, Exception, @AT@ 11317 @LENGTH@ 24
|
||||
------INS MethodInvocation@@soundex.setMaxLength(2) @TO@ ExpressionStatement@@MethodInvocation:soundex.setMaxLength(2) @AT@ 11317 @LENGTH@ 23
|
||||
---------INS SimpleName@@Name:soundex @TO@ MethodInvocation@@soundex.setMaxLength(2) @AT@ 11317 @LENGTH@ 7
|
||||
---------INS SimpleName@@MethodName:setMaxLength:[2] @TO@ MethodInvocation@@soundex.setMaxLength(2) @AT@ 11325 @LENGTH@ 15
|
||||
------------INS NumberLiteral@@2 @TO@ SimpleName@@MethodName:setMaxLength:[2] @AT@ 11338 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("S460",soundex.encode("SCHELLER")) @TO@ MethodDeclaration@@public, void, MethodName:testMaxLengthLessThan3Fix, Exception, @AT@ 11350 @LENGTH@ 49
|
||||
------INS MethodInvocation@@assertEquals("S460",soundex.encode("SCHELLER")) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("S460",soundex.encode("SCHELLER")) @AT@ 11350 @LENGTH@ 48
|
||||
---------INS SimpleName@@MethodName:assertEquals:["S460", soundex.encode("SCHELLER")] @TO@ MethodInvocation@@assertEquals("S460",soundex.encode("SCHELLER")) @AT@ 11350 @LENGTH@ 48
|
||||
------------INS StringLiteral@@"S460" @TO@ SimpleName@@MethodName:assertEquals:["S460", soundex.encode("SCHELLER")] @AT@ 11363 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@soundex.encode("SCHELLER") @TO@ SimpleName@@MethodName:assertEquals:["S460", soundex.encode("SCHELLER")] @AT@ 11371 @LENGTH@ 26
|
||||
---------------INS SimpleName@@Name:soundex @TO@ MethodInvocation@@soundex.encode("SCHELLER") @AT@ 11371 @LENGTH@ 7
|
||||
---------------INS SimpleName@@MethodName:encode:["SCHELLER"] @TO@ MethodInvocation@@soundex.encode("SCHELLER") @AT@ 11379 @LENGTH@ 18
|
||||
------------------INS StringLiteral@@"SCHELLER" @TO@ SimpleName@@MethodName:encode:["SCHELLER"] @AT@ 11386 @LENGTH@ 10
|
||||
@@ -0,0 +1,908 @@
|
||||
DEL FieldDeclaration@@Log, [log=LogFactory.getLog(PropertiesConfiguration.class)] @AT@ 1832 @LENGTH@ 59
|
||||
---DEL SimpleType@@Log @AT@ 1832 @LENGTH@ 3
|
||||
---DEL VariableDeclarationFragment@@log=LogFactory.getLog(PropertiesConfiguration.class) @AT@ 1836 @LENGTH@ 54
|
||||
------DEL SimpleName@@log @AT@ 1836 @LENGTH@ 3
|
||||
------DEL MethodInvocation@@LogFactory.getLog(PropertiesConfiguration.class) @AT@ 1842 @LENGTH@ 48
|
||||
---------DEL SimpleName@@Name:LogFactory @AT@ 1842 @LENGTH@ 10
|
||||
---------DEL SimpleName@@MethodName:getLog:[PropertiesConfiguration.class] @AT@ 1853 @LENGTH@ 37
|
||||
------------DEL TypeLiteral@@PropertiesConfiguration.class @AT@ 1860 @LENGTH@ 29
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, String[], MethodName:ignoredTests, @TO@ TypeDeclaration@@[public]TestFastArrayList1, TestFastArrayList @AT@ 3817 @LENGTH@ 291
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, String[], MethodName:ignoredTests, @AT@ 3817 @LENGTH@ 6
|
||||
---INS ArrayType@@String[] @TO@ MethodDeclaration@@public, String[], MethodName:ignoredTests, @AT@ 3824 @LENGTH@ 8
|
||||
------INS SimpleType@@String @TO@ ArrayType@@String[] @AT@ 3824 @LENGTH@ 6
|
||||
---INS SimpleName@@MethodName:ignoredTests @TO@ MethodDeclaration@@public, String[], MethodName:ignoredTests, @AT@ 3833 @LENGTH@ 12
|
||||
---INS ReturnStatement@@ArrayCreation:new String[]{"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet","TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove"} @TO@ MethodDeclaration@@public, String[], MethodName:ignoredTests, @AT@ 3895 @LENGTH@ 207
|
||||
------INS ArrayCreation@@new String[]{"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet","TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove"} @TO@ ReturnStatement@@ArrayCreation:new String[]{"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet","TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove"} @AT@ 3902 @LENGTH@ 199
|
||||
---------INS ArrayType@@String[] @TO@ ArrayCreation@@new String[]{"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet","TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove"} @AT@ 3906 @LENGTH@ 8
|
||||
------------INS SimpleType@@String @TO@ ArrayType@@String[] @AT@ 3906 @LENGTH@ 6
|
||||
---------INS ArrayInitializer@@{"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet","TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove"} @TO@ ArrayCreation@@new String[]{"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet","TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove"} @AT@ 3915 @LENGTH@ 186
|
||||
------------INS StringLiteral@@"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet" @TO@ ArrayInitializer@@{"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet","TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove"} @AT@ 3929 @LENGTH@ 72
|
||||
------------INS StringLiteral@@"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove" @TO@ ArrayInitializer@@{"TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenSet","TestFastArrayList1.bulkTestSubList.bulkTestListIterator.testAddThenRemove"} @AT@ 4015 @LENGTH@ 75
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, boolean, MethodName:remove, Object o, @TO@ public, boolean, MethodName:remove, Object obj, @AT@ 19254 @LENGTH@ 475
|
||||
---UPD SingleVariableDeclaration@@Object o @TO@ Object obj @AT@ 19276 @LENGTH@ 8
|
||||
------UPD SimpleName@@o @TO@ obj @AT@ 19283 @LENGTH@ 1
|
||||
---UPD VariableDeclarationStatement@@Map.Entry entry=(Map.Entry)o; @TO@ Map.Entry entry=(Map.Entry)obj; @AT@ 19300 @LENGTH@ 31
|
||||
------UPD VariableDeclarationFragment@@entry=(Map.Entry)o @TO@ entry=(Map.Entry)obj @AT@ 19310 @LENGTH@ 20
|
||||
---------UPD CastExpression@@(Map.Entry)o @TO@ (Map.Entry)obj @AT@ 19318 @LENGTH@ 12
|
||||
------------UPD SimpleName@@o @TO@ obj @AT@ 19329 @LENGTH@ 1
|
||||
---INS IfStatement@@if (obj instanceof Map.Entry == false) { return false;} @TO@ MethodDeclaration@@public, boolean, MethodName:remove, Object o, @AT@ 19302 @LENGTH@ 84
|
||||
------INS InfixExpression@@obj instanceof Map.Entry == false @TO@ IfStatement@@if (obj instanceof Map.Entry == false) { return false;} @AT@ 19306 @LENGTH@ 33
|
||||
---------INS InstanceofExpression@@obj instanceof Map.Entry @TO@ InfixExpression@@obj instanceof Map.Entry == false @AT@ 19306 @LENGTH@ 24
|
||||
------------INS SimpleName@@obj @TO@ InstanceofExpression@@obj instanceof Map.Entry @AT@ 19306 @LENGTH@ 3
|
||||
------------INS Instanceof@@instanceof @TO@ InstanceofExpression@@obj instanceof Map.Entry @AT@ 19310 @LENGTH@ 10
|
||||
------------INS SimpleType@@Map.Entry @TO@ InstanceofExpression@@obj instanceof Map.Entry @AT@ 19321 @LENGTH@ 9
|
||||
---------INS Operator@@== @TO@ InfixExpression@@obj instanceof Map.Entry == false @AT@ 19330 @LENGTH@ 2
|
||||
---------INS BooleanLiteral@@false @TO@ InfixExpression@@obj instanceof Map.Entry == false @AT@ 19334 @LENGTH@ 5
|
||||
------INS Block@@ThenBody:{ return false;} @TO@ IfStatement@@if (obj instanceof Map.Entry == false) { return false;} @AT@ 19341 @LENGTH@ 45
|
||||
---------INS ReturnStatement@@BooleanLiteral:false @TO@ Block@@ThenBody:{ return false;} @AT@ 19359 @LENGTH@ 13
|
||||
------------INS BooleanLiteral@@false @TO@ ReturnStatement@@BooleanLiteral:false @AT@ 19366 @LENGTH@ 5
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:assertTrue("subset is not empty",conf.isEmpty()) @TO@ MethodDeclaration@@public, void, MethodName:testSubset, @AT@ 9938 @LENGTH@ 50
|
||||
---INS MethodInvocation@@assertTrue("subset is not empty",conf.isEmpty()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("subset is not empty",conf.isEmpty()) @AT@ 9938 @LENGTH@ 49
|
||||
------INS SimpleName@@MethodName:assertTrue:["subset is not empty", conf.isEmpty()] @TO@ MethodInvocation@@assertTrue("subset is not empty",conf.isEmpty()) @AT@ 9938 @LENGTH@ 49
|
||||
---------INS StringLiteral@@"subset is not empty" @TO@ SimpleName@@MethodName:assertTrue:["subset is not empty", conf.isEmpty()] @AT@ 9949 @LENGTH@ 21
|
||||
---------INS MethodInvocation@@conf.isEmpty() @TO@ SimpleName@@MethodName:assertTrue:["subset is not empty", conf.isEmpty()] @AT@ 9972 @LENGTH@ 14
|
||||
------------INS SimpleName@@Name:conf @TO@ MethodInvocation@@conf.isEmpty() @AT@ 9972 @LENGTH@ 4
|
||||
------------INS SimpleName@@MethodName:isEmpty:[] @TO@ MethodInvocation@@conf.isEmpty() @AT@ 9977 @LENGTH@ 9
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testClone, @TO@ TypeDeclaration@@[public]TestLRUMap, AbstractTestOrderedMap @AT@ 6968 @LENGTH@ 235
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 6968 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 6975 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testClone @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 6980 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@LRUMap map=new LRUMap(10); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7002 @LENGTH@ 28
|
||||
------INS SimpleType@@LRUMap @TO@ VariableDeclarationStatement@@LRUMap map=new LRUMap(10); @AT@ 7002 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@map=new LRUMap(10) @TO@ VariableDeclarationStatement@@LRUMap map=new LRUMap(10); @AT@ 7009 @LENGTH@ 20
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=new LRUMap(10) @AT@ 7009 @LENGTH@ 3
|
||||
---------INS ClassInstanceCreation@@LRUMap[10] @TO@ VariableDeclarationFragment@@map=new LRUMap(10) @AT@ 7015 @LENGTH@ 14
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@LRUMap[10] @AT@ 7015 @LENGTH@ 3
|
||||
------------INS SimpleType@@LRUMap @TO@ ClassInstanceCreation@@LRUMap[10] @AT@ 7019 @LENGTH@ 6
|
||||
------------INS NumberLiteral@@10 @TO@ ClassInstanceCreation@@LRUMap[10] @AT@ 7026 @LENGTH@ 2
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("1","1") @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7039 @LENGTH@ 18
|
||||
------INS MethodInvocation@@map.put("1","1") @TO@ ExpressionStatement@@MethodInvocation:map.put("1","1") @AT@ 7039 @LENGTH@ 17
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("1","1") @AT@ 7039 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["1", "1"] @TO@ MethodInvocation@@map.put("1","1") @AT@ 7043 @LENGTH@ 13
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 7047 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 7052 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7066 @LENGTH@ 31
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 7066 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@cloned=(Map)map.clone() @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 7070 @LENGTH@ 26
|
||||
---------INS SimpleName@@cloned @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 7070 @LENGTH@ 6
|
||||
---------INS CastExpression@@(Map)map.clone() @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 7079 @LENGTH@ 17
|
||||
------------INS SimpleType@@Map @TO@ CastExpression@@(Map)map.clone() @AT@ 7080 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@map.clone() @TO@ CastExpression@@(Map)map.clone() @AT@ 7085 @LENGTH@ 11
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.clone() @AT@ 7085 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:clone:[] @TO@ MethodInvocation@@map.clone() @AT@ 7089 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7106 @LENGTH@ 40
|
||||
------INS MethodInvocation@@assertEquals(map.size(),cloned.size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @AT@ 7106 @LENGTH@ 39
|
||||
---------INS SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @TO@ MethodInvocation@@assertEquals(map.size(),cloned.size()) @AT@ 7106 @LENGTH@ 39
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 7119 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 7119 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 7123 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@cloned.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 7131 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.size() @AT@ 7131 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@cloned.size() @AT@ 7138 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7155 @LENGTH@ 42
|
||||
------INS MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @TO@ ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @AT@ 7155 @LENGTH@ 41
|
||||
---------INS SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @TO@ MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @AT@ 7155 @LENGTH@ 41
|
||||
------------INS MethodInvocation@@map.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 7166 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.get("1") @AT@ 7166 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@map.get("1") @AT@ 7170 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 7174 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@cloned.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 7180 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.get("1") @AT@ 7180 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@cloned.get("1") @AT@ 7187 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 7191 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@Object object=(Object)it.next(); @TO@ Object object=it.next(); @AT@ 8089 @LENGTH@ 35
|
||||
---UPD VariableDeclarationFragment@@object=(Object)it.next() @TO@ object=it.next() @AT@ 8096 @LENGTH@ 27
|
||||
------DEL CastExpression@@(Object)it.next() @AT@ 8105 @LENGTH@ 18
|
||||
---------DEL SimpleType@@Object @AT@ 8106 @LENGTH@ 6
|
||||
---------DEL MethodInvocation@@it.next() @AT@ 8114 @LENGTH@ 9
|
||||
------INS MethodInvocation@@it.next() @TO@ VariableDeclarationFragment@@object=(Object)it.next() @AT@ 8105 @LENGTH@ 9
|
||||
---------MOV SimpleName@@Name:it @TO@ MethodInvocation@@it.next() @AT@ 8114 @LENGTH@ 2
|
||||
---------MOV SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@it.next() @AT@ 8117 @LENGTH@ 6
|
||||
|
||||
|
||||
UPD FieldDeclaration@@protected, static, String, [fileSeparator=System.getProperty("file.separator")] @TO@ protected, static, final, String, [fileSeparator=System.getProperty("file.separator")] @AT@ 1031 @LENGTH@ 77
|
||||
---INS Modifier@@final @TO@ FieldDeclaration@@protected, static, String, [fileSeparator=System.getProperty("file.separator")] @AT@ 1048 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD TryStatement@@try { load(getPropertyStream(fileName));} catch (IOException ioe) { throw new ConfigurationException("Could not load from file " + fileName,ioe);} @TO@ try { InputStream is=getPropertyStream(fileName); load(is); is.close();} catch (IOException ioe) { throw new ConfigurationException("Could not load from file " + fileName,ioe);} @AT@ 3298 @LENGTH@ 174
|
||||
---UPD ExpressionStatement@@MethodInvocation:load(getPropertyStream(fileName)) @TO@ MethodInvocation:load(is) @AT@ 3310 @LENGTH@ 34
|
||||
------UPD MethodInvocation@@load(getPropertyStream(fileName)) @TO@ load(is) @AT@ 3310 @LENGTH@ 33
|
||||
---------UPD SimpleName@@MethodName:load:[getPropertyStream(fileName)] @TO@ MethodName:load:[is] @AT@ 3310 @LENGTH@ 33
|
||||
------------INS SimpleName@@is @TO@ SimpleName@@MethodName:load:[getPropertyStream(fileName)] @AT@ 3370 @LENGTH@ 2
|
||||
---INS VariableDeclarationStatement@@InputStream is=getPropertyStream(fileName); @TO@ TryStatement@@try { load(getPropertyStream(fileName));} catch (IOException ioe) { throw new ConfigurationException("Could not load from file " + fileName,ioe);} @AT@ 3313 @LENGTH@ 45
|
||||
------INS SimpleType@@InputStream @TO@ VariableDeclarationStatement@@InputStream is=getPropertyStream(fileName); @AT@ 3313 @LENGTH@ 11
|
||||
------INS VariableDeclarationFragment@@is=getPropertyStream(fileName) @TO@ VariableDeclarationStatement@@InputStream is=getPropertyStream(fileName); @AT@ 3325 @LENGTH@ 32
|
||||
---------MOV MethodInvocation@@getPropertyStream(fileName) @TO@ VariableDeclarationFragment@@is=getPropertyStream(fileName) @AT@ 3315 @LENGTH@ 27
|
||||
---------INS SimpleName@@is @TO@ VariableDeclarationFragment@@is=getPropertyStream(fileName) @AT@ 3325 @LENGTH@ 2
|
||||
---INS ExpressionStatement@@MethodInvocation:is.close() @TO@ TryStatement@@try { load(getPropertyStream(fileName));} catch (IOException ioe) { throw new ConfigurationException("Could not load from file " + fileName,ioe);} @AT@ 3381 @LENGTH@ 11
|
||||
------INS MethodInvocation@@is.close() @TO@ ExpressionStatement@@MethodInvocation:is.close() @AT@ 3381 @LENGTH@ 10
|
||||
---------INS SimpleName@@Name:is @TO@ MethodInvocation@@is.close() @AT@ 3381 @LENGTH@ 2
|
||||
---------INS SimpleName@@MethodName:close:[] @TO@ MethodInvocation@@is.close() @AT@ 3384 @LENGTH@ 7
|
||||
|
||||
|
||||
DEL IfStatement@@if (resourceName.startsWith("./")) {} @AT@ 3270 @LENGTH@ 125
|
||||
---DEL MethodInvocation@@resourceName.startsWith("./") @AT@ 3274 @LENGTH@ 29
|
||||
------DEL SimpleName@@Name:resourceName @AT@ 3274 @LENGTH@ 12
|
||||
------DEL SimpleName@@MethodName:startsWith:["./"] @AT@ 3287 @LENGTH@ 16
|
||||
---------DEL StringLiteral@@"./" @AT@ 3298 @LENGTH@ 4
|
||||
---DEL Block@@ThenBody:{} @AT@ 3317 @LENGTH@ 78
|
||||
|
||||
|
||||
UPD IfStatement@@if (null != m_currEntry && m_currEntry.isGNULongNameEntry()) { final StringBuffer longName=new StringBuffer(); final byte[] buffer=new byte[256]; int length=0; while ((length=read(buffer)) >= 0) { final String str=new String(buffer,0,length); longName.append(str); } getNextEntry(); m_currEntry.setName(longName.toString());} @TO@ if (null != m_currEntry && m_currEntry.isGNULongNameEntry()) { final StringBuffer longName=new StringBuffer(); final byte[] buffer=new byte[256]; int length=0; while ((length=read(buffer)) >= 0) { final String str=new String(buffer,0,length); longName.append(str); } getNextEntry(); if (longName.length() > 0 && longName.charAt(longName.length() - 1) == 0) { longName.deleteCharAt(longName.length() - 1); } m_currEntry.setName(longName.toString());} @AT@ 5794 @LENGTH@ 528
|
||||
---UPD Block@@ThenBody:{ final StringBuffer longName=new StringBuffer(); final byte[] buffer=new byte[256]; int length=0; while ((length=read(buffer)) >= 0) { final String str=new String(buffer,0,length); longName.append(str); } getNextEntry(); m_currEntry.setName(longName.toString());} @TO@ ThenBody:{ final StringBuffer longName=new StringBuffer(); final byte[] buffer=new byte[256]; int length=0; while ((length=read(buffer)) >= 0) { final String str=new String(buffer,0,length); longName.append(str); } getNextEntry(); if (longName.length() > 0 && longName.charAt(longName.length() - 1) == 0) { longName.deleteCharAt(longName.length() - 1); } m_currEntry.setName(longName.toString());} @AT@ 5864 @LENGTH@ 458
|
||||
------INS IfStatement@@if (longName.length() > 0 && longName.charAt(longName.length() - 1) == 0) { longName.deleteCharAt(longName.length() - 1);} @TO@ Block@@ThenBody:{ final StringBuffer longName=new StringBuffer(); final byte[] buffer=new byte[256]; int length=0; while ((length=read(buffer)) >= 0) { final String str=new String(buffer,0,length); longName.append(str); } getNextEntry(); m_currEntry.setName(longName.toString());} @AT@ 6317 @LENGTH@ 167
|
||||
---------INS InfixExpression@@longName.length() > 0 && longName.charAt(longName.length() - 1) == 0 @TO@ IfStatement@@if (longName.length() > 0 && longName.charAt(longName.length() - 1) == 0) { longName.deleteCharAt(longName.length() - 1);} @AT@ 6321 @LENGTH@ 84
|
||||
------------INS InfixExpression@@longName.length() > 0 @TO@ InfixExpression@@longName.length() > 0 && longName.charAt(longName.length() - 1) == 0 @AT@ 6321 @LENGTH@ 21
|
||||
---------------INS MethodInvocation@@longName.length() @TO@ InfixExpression@@longName.length() > 0 @AT@ 6321 @LENGTH@ 17
|
||||
------------------INS SimpleName@@Name:longName @TO@ MethodInvocation@@longName.length() @AT@ 6321 @LENGTH@ 8
|
||||
------------------INS SimpleName@@MethodName:length:[] @TO@ MethodInvocation@@longName.length() @AT@ 6330 @LENGTH@ 8
|
||||
---------------INS Operator@@> @TO@ InfixExpression@@longName.length() > 0 @AT@ 6338 @LENGTH@ 1
|
||||
---------------INS NumberLiteral@@0 @TO@ InfixExpression@@longName.length() > 0 @AT@ 6341 @LENGTH@ 1
|
||||
------------INS Operator@@&& @TO@ InfixExpression@@longName.length() > 0 && longName.charAt(longName.length() - 1) == 0 @AT@ 6342 @LENGTH@ 2
|
||||
------------INS InfixExpression@@longName.charAt(longName.length() - 1) == 0 @TO@ InfixExpression@@longName.length() > 0 && longName.charAt(longName.length() - 1) == 0 @AT@ 6362 @LENGTH@ 43
|
||||
---------------INS MethodInvocation@@longName.charAt(longName.length() - 1) @TO@ InfixExpression@@longName.charAt(longName.length() - 1) == 0 @AT@ 6362 @LENGTH@ 38
|
||||
------------------INS SimpleName@@Name:longName @TO@ MethodInvocation@@longName.charAt(longName.length() - 1) @AT@ 6362 @LENGTH@ 8
|
||||
------------------INS SimpleName@@MethodName:charAt:[longName.length() - 1] @TO@ MethodInvocation@@longName.charAt(longName.length() - 1) @AT@ 6371 @LENGTH@ 29
|
||||
---------------------INS InfixExpression@@longName.length() - 1 @TO@ SimpleName@@MethodName:charAt:[longName.length() - 1] @AT@ 6378 @LENGTH@ 21
|
||||
------------------------INS MethodInvocation@@longName.length() @TO@ InfixExpression@@longName.length() - 1 @AT@ 6378 @LENGTH@ 17
|
||||
---------------------------INS SimpleName@@Name:longName @TO@ MethodInvocation@@longName.length() @AT@ 6378 @LENGTH@ 8
|
||||
---------------------------INS SimpleName@@MethodName:length:[] @TO@ MethodInvocation@@longName.length() @AT@ 6387 @LENGTH@ 8
|
||||
------------------------INS Operator@@- @TO@ InfixExpression@@longName.length() - 1 @AT@ 6395 @LENGTH@ 1
|
||||
------------------------INS NumberLiteral@@1 @TO@ InfixExpression@@longName.length() - 1 @AT@ 6398 @LENGTH@ 1
|
||||
---------------INS Operator@@== @TO@ InfixExpression@@longName.charAt(longName.length() - 1) == 0 @AT@ 6400 @LENGTH@ 2
|
||||
---------------INS NumberLiteral@@0 @TO@ InfixExpression@@longName.charAt(longName.length() - 1) == 0 @AT@ 6404 @LENGTH@ 1
|
||||
---------INS Block@@ThenBody:{ longName.deleteCharAt(longName.length() - 1);} @TO@ IfStatement@@if (longName.length() > 0 && longName.charAt(longName.length() - 1) == 0) { longName.deleteCharAt(longName.length() - 1);} @AT@ 6407 @LENGTH@ 77
|
||||
------------INS ExpressionStatement@@MethodInvocation:longName.deleteCharAt(longName.length() - 1) @TO@ Block@@ThenBody:{ longName.deleteCharAt(longName.length() - 1);} @AT@ 6425 @LENGTH@ 45
|
||||
---------------INS MethodInvocation@@longName.deleteCharAt(longName.length() - 1) @TO@ ExpressionStatement@@MethodInvocation:longName.deleteCharAt(longName.length() - 1) @AT@ 6425 @LENGTH@ 44
|
||||
------------------INS SimpleName@@Name:longName @TO@ MethodInvocation@@longName.deleteCharAt(longName.length() - 1) @AT@ 6425 @LENGTH@ 8
|
||||
------------------INS SimpleName@@MethodName:deleteCharAt:[longName.length() - 1] @TO@ MethodInvocation@@longName.deleteCharAt(longName.length() - 1) @AT@ 6434 @LENGTH@ 35
|
||||
---------------------INS InfixExpression@@longName.length() - 1 @TO@ SimpleName@@MethodName:deleteCharAt:[longName.length() - 1] @AT@ 6447 @LENGTH@ 21
|
||||
------------------------INS MethodInvocation@@longName.length() @TO@ InfixExpression@@longName.length() - 1 @AT@ 6447 @LENGTH@ 17
|
||||
---------------------------INS SimpleName@@Name:longName @TO@ MethodInvocation@@longName.length() @AT@ 6447 @LENGTH@ 8
|
||||
---------------------------INS SimpleName@@MethodName:length:[] @TO@ MethodInvocation@@longName.length() @AT@ 6456 @LENGTH@ 8
|
||||
------------------------INS Operator@@- @TO@ InfixExpression@@longName.length() - 1 @AT@ 6464 @LENGTH@ 1
|
||||
------------------------INS NumberLiteral@@1 @TO@ InfixExpression@@longName.length() - 1 @AT@ 6467 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD IfStatement@@if (children.size() > 0) { for (int i=0; i < children.size(); i++) { result.getRoot().addChild((Node)children.get(i)); }} else {} @TO@ if (children.size() > 0) { for (int i=0; i < children.size(); i++) { result.getRoot().addChild((Node)children.get(i)); }} @AT@ 12126 @LENGTH@ 483
|
||||
---DEL Block@@ElseBody:{} @AT@ 12392 @LENGTH@ 217
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testClone, @TO@ TypeDeclaration@@[public]TestIdentityMap, AbstractTestObject @AT@ 4355 @LENGTH@ 245
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 4355 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 4362 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testClone @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 4367 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@IdentityMap map=new IdentityMap(10); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 4389 @LENGTH@ 38
|
||||
------INS SimpleType@@IdentityMap @TO@ VariableDeclarationStatement@@IdentityMap map=new IdentityMap(10); @AT@ 4389 @LENGTH@ 11
|
||||
------INS VariableDeclarationFragment@@map=new IdentityMap(10) @TO@ VariableDeclarationStatement@@IdentityMap map=new IdentityMap(10); @AT@ 4401 @LENGTH@ 25
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=new IdentityMap(10) @AT@ 4401 @LENGTH@ 3
|
||||
---------INS ClassInstanceCreation@@IdentityMap[10] @TO@ VariableDeclarationFragment@@map=new IdentityMap(10) @AT@ 4407 @LENGTH@ 19
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@IdentityMap[10] @AT@ 4407 @LENGTH@ 3
|
||||
------------INS SimpleType@@IdentityMap @TO@ ClassInstanceCreation@@IdentityMap[10] @AT@ 4411 @LENGTH@ 11
|
||||
------------INS NumberLiteral@@10 @TO@ ClassInstanceCreation@@IdentityMap[10] @AT@ 4423 @LENGTH@ 2
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("1","1") @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 4436 @LENGTH@ 18
|
||||
------INS MethodInvocation@@map.put("1","1") @TO@ ExpressionStatement@@MethodInvocation:map.put("1","1") @AT@ 4436 @LENGTH@ 17
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("1","1") @AT@ 4436 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["1", "1"] @TO@ MethodInvocation@@map.put("1","1") @AT@ 4440 @LENGTH@ 13
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 4444 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 4449 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 4463 @LENGTH@ 31
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 4463 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@cloned=(Map)map.clone() @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 4467 @LENGTH@ 26
|
||||
---------INS SimpleName@@cloned @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 4467 @LENGTH@ 6
|
||||
---------INS CastExpression@@(Map)map.clone() @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 4476 @LENGTH@ 17
|
||||
------------INS SimpleType@@Map @TO@ CastExpression@@(Map)map.clone() @AT@ 4477 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@map.clone() @TO@ CastExpression@@(Map)map.clone() @AT@ 4482 @LENGTH@ 11
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.clone() @AT@ 4482 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:clone:[] @TO@ MethodInvocation@@map.clone() @AT@ 4486 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 4503 @LENGTH@ 40
|
||||
------INS MethodInvocation@@assertEquals(map.size(),cloned.size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @AT@ 4503 @LENGTH@ 39
|
||||
---------INS SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @TO@ MethodInvocation@@assertEquals(map.size(),cloned.size()) @AT@ 4503 @LENGTH@ 39
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 4516 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 4516 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 4520 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@cloned.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 4528 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.size() @AT@ 4528 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@cloned.size() @AT@ 4535 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 4552 @LENGTH@ 42
|
||||
------INS MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @TO@ ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @AT@ 4552 @LENGTH@ 41
|
||||
---------INS SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @TO@ MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @AT@ 4552 @LENGTH@ 41
|
||||
------------INS MethodInvocation@@map.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 4563 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.get("1") @AT@ 4563 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@map.get("1") @AT@ 4567 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 4571 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@cloned.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 4577 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.get("1") @AT@ 4577 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@cloned.get("1") @AT@ 4584 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 4588 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:resetEmpty() @TO@ MethodInvocation:resetFull() @AT@ 32880 @LENGTH@ 13
|
||||
---UPD MethodInvocation@@MethodName:resetEmpty:[] @TO@ MethodName:resetFull:[] @AT@ 32880 @LENGTH@ 12
|
||||
|
||||
|
||||
UPD ReturnStatement@@MethodInvocation:((Comparable)o1).compareTo(o2) @TO@ MethodInvocation:o1.compareTo(o2) @AT@ 19897 @LENGTH@ 39
|
||||
---UPD MethodInvocation@@((Comparable)o1).compareTo(o2) @TO@ o1.compareTo(o2) @AT@ 19904 @LENGTH@ 31
|
||||
------DEL ParenthesizedExpression@@((Comparable)o1) @AT@ 19904 @LENGTH@ 17
|
||||
---------DEL CastExpression@@(Comparable)o1 @AT@ 19905 @LENGTH@ 15
|
||||
------------DEL SimpleType@@Comparable @AT@ 19906 @LENGTH@ 10
|
||||
------------DEL SimpleName@@o1 @AT@ 19918 @LENGTH@ 2
|
||||
------INS SimpleName@@Name:o1 @TO@ MethodInvocation@@((Comparable)o1).compareTo(o2) @AT@ 19904 @LENGTH@ 2
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, boolean, MethodName:isSubMapViewsSerializable, @TO@ TypeDeclaration@@[public, abstract]AbstractTestMap, AbstractTestObject @AT@ 8980 @LENGTH@ 71
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, boolean, MethodName:isSubMapViewsSerializable, @AT@ 8980 @LENGTH@ 6
|
||||
---INS PrimitiveType@@boolean @TO@ MethodDeclaration@@public, boolean, MethodName:isSubMapViewsSerializable, @AT@ 8987 @LENGTH@ 7
|
||||
---INS SimpleName@@MethodName:isSubMapViewsSerializable @TO@ MethodDeclaration@@public, boolean, MethodName:isSubMapViewsSerializable, @AT@ 8995 @LENGTH@ 25
|
||||
---INS ReturnStatement@@BooleanLiteral:true @TO@ MethodDeclaration@@public, boolean, MethodName:isSubMapViewsSerializable, @AT@ 9033 @LENGTH@ 12
|
||||
------INS BooleanLiteral@@true @TO@ ReturnStatement@@BooleanLiteral:true @AT@ 9040 @LENGTH@ 4
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos0, @TO@ TypeDeclaration@@[public]HexTest, TestCase @AT@ 1449 @LENGTH@ 280
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos0, @AT@ 1449 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos0, @AT@ 1456 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testDecodeBadCharacterPos0 @TO@ MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos0, @AT@ 1461 @LENGTH@ 26
|
||||
---INS TryStatement@@try { new Hex().decode("q0"); fail("An exception wasn't thrown when trying to decode an illegal character");} catch (DecoderException e) {} @TO@ MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos0, @AT@ 1500 @LENGTH@ 223
|
||||
------INS ExpressionStatement@@MethodInvocation:new Hex().decode("q0") @TO@ TryStatement@@try { new Hex().decode("q0"); fail("An exception wasn't thrown when trying to decode an illegal character");} catch (DecoderException e) {} @AT@ 1518 @LENGTH@ 23
|
||||
---------INS MethodInvocation@@new Hex().decode("q0") @TO@ ExpressionStatement@@MethodInvocation:new Hex().decode("q0") @AT@ 1518 @LENGTH@ 22
|
||||
------------INS ClassInstanceCreation@@Hex[] @TO@ MethodInvocation@@new Hex().decode("q0") @AT@ 1518 @LENGTH@ 9
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Hex[] @AT@ 1518 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Hex @TO@ ClassInstanceCreation@@Hex[] @AT@ 1522 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:decode:["q0"] @TO@ MethodInvocation@@new Hex().decode("q0") @AT@ 1528 @LENGTH@ 12
|
||||
---------------INS StringLiteral@@"q0" @TO@ SimpleName@@MethodName:decode:["q0"] @AT@ 1535 @LENGTH@ 4
|
||||
------INS ExpressionStatement@@MethodInvocation:fail("An exception wasn't thrown when trying to decode an illegal character") @TO@ TryStatement@@try { new Hex().decode("q0"); fail("An exception wasn't thrown when trying to decode an illegal character");} catch (DecoderException e) {} @AT@ 1554 @LENGTH@ 78
|
||||
---------INS MethodInvocation@@fail("An exception wasn't thrown when trying to decode an illegal character") @TO@ ExpressionStatement@@MethodInvocation:fail("An exception wasn't thrown when trying to decode an illegal character") @AT@ 1554 @LENGTH@ 77
|
||||
------------INS SimpleName@@MethodName:fail:["An exception wasn't thrown when trying to decode an illegal character"] @TO@ MethodInvocation@@fail("An exception wasn't thrown when trying to decode an illegal character") @AT@ 1554 @LENGTH@ 77
|
||||
---------------INS StringLiteral@@"An exception wasn't thrown when trying to decode an illegal character" @TO@ SimpleName@@MethodName:fail:["An exception wasn't thrown when trying to decode an illegal character"] @AT@ 1559 @LENGTH@ 71
|
||||
------INS CatchClause@@catch (DecoderException e) {} @TO@ TryStatement@@try { new Hex().decode("q0"); fail("An exception wasn't thrown when trying to decode an illegal character");} catch (DecoderException e) {} @AT@ 1651 @LENGTH@ 72
|
||||
---------INS SingleVariableDeclaration@@DecoderException e @TO@ CatchClause@@catch (DecoderException e) {} @AT@ 1658 @LENGTH@ 18
|
||||
------------INS SimpleType@@DecoderException @TO@ SingleVariableDeclaration@@DecoderException e @AT@ 1658 @LENGTH@ 16
|
||||
------------INS SimpleName@@e @TO@ SingleVariableDeclaration@@DecoderException e @AT@ 1675 @LENGTH@ 1
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @TO@ TypeDeclaration@@[public, abstract]AbstractTestList, AbstractTestCollection @AT@ 3957 @LENGTH@ 63
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @AT@ 3957 @LENGTH@ 6
|
||||
---INS PrimitiveType@@boolean @TO@ MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @AT@ 3964 @LENGTH@ 7
|
||||
---INS SimpleName@@MethodName:isEqualsCheckable @TO@ MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @AT@ 3972 @LENGTH@ 17
|
||||
---INS ReturnStatement@@BooleanLiteral:true @TO@ MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @AT@ 4002 @LENGTH@ 12
|
||||
------INS BooleanLiteral@@true @TO@ ReturnStatement@@BooleanLiteral:true @AT@ 4009 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertTrue(reader instanceof HierarchicalConfigurationXMLReader) @TO@ MethodInvocation:assertTrue("Class of reader is " + reader.getClass().getName(),reader instanceof HierarchicalConfigurationXMLReader) @AT@ 2837 @LENGTH@ 65
|
||||
---UPD MethodInvocation@@assertTrue(reader instanceof HierarchicalConfigurationXMLReader) @TO@ assertTrue("Class of reader is " + reader.getClass().getName(),reader instanceof HierarchicalConfigurationXMLReader) @AT@ 2837 @LENGTH@ 64
|
||||
------UPD SimpleName@@MethodName:assertTrue:[reader instanceof HierarchicalConfigurationXMLReader] @TO@ MethodName:assertTrue:["Class of reader is " + reader.getClass().getName(), reader instanceof HierarchicalConfigurationXMLReader] @AT@ 2837 @LENGTH@ 64
|
||||
---------INS InfixExpression@@"Class of reader is " + reader.getClass().getName() @TO@ SimpleName@@MethodName:assertTrue:[reader instanceof HierarchicalConfigurationXMLReader] @AT@ 2848 @LENGTH@ 51
|
||||
------------INS StringLiteral@@"Class of reader is " @TO@ InfixExpression@@"Class of reader is " + reader.getClass().getName() @AT@ 2848 @LENGTH@ 21
|
||||
------------INS Operator@@+ @TO@ InfixExpression@@"Class of reader is " + reader.getClass().getName() @AT@ 2869 @LENGTH@ 1
|
||||
------------INS MethodInvocation@@reader.getClass().getName() @TO@ InfixExpression@@"Class of reader is " + reader.getClass().getName() @AT@ 2872 @LENGTH@ 27
|
||||
---------------INS MethodInvocation@@MethodName:getClass:[] @TO@ MethodInvocation@@reader.getClass().getName() @AT@ 2872 @LENGTH@ 17
|
||||
---------------INS SimpleName@@Name:reader @TO@ MethodInvocation@@reader.getClass().getName() @AT@ 2872 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:getName:[] @TO@ MethodInvocation@@reader.getClass().getName() @AT@ 2890 @LENGTH@ 9
|
||||
|
||||
|
||||
UPD ForStatement@@for (int i=0; i < 10000; i++) { int j=(int)(Math.random() * 110000); l.get(j);} @TO@ for (int i=0; i < 50000; i++) { int j=(int)(Math.random() * 110000); l.get(j);} @AT@ 2749 @LENGTH@ 117
|
||||
---UPD InfixExpression@@i < 10000 @TO@ i < 50000 @AT@ 2765 @LENGTH@ 9
|
||||
------UPD NumberLiteral@@10000 @TO@ 50000 @AT@ 2769 @LENGTH@ 5
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testClone, @TO@ TypeDeclaration@@[public]TestHashedMap, AbstractTestIterableMap @AT@ 1403 @LENGTH@ 241
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 1403 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 1410 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testClone @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 1415 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@HashedMap map=new HashedMap(10); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 1437 @LENGTH@ 34
|
||||
------INS SimpleType@@HashedMap @TO@ VariableDeclarationStatement@@HashedMap map=new HashedMap(10); @AT@ 1437 @LENGTH@ 9
|
||||
------INS VariableDeclarationFragment@@map=new HashedMap(10) @TO@ VariableDeclarationStatement@@HashedMap map=new HashedMap(10); @AT@ 1447 @LENGTH@ 23
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=new HashedMap(10) @AT@ 1447 @LENGTH@ 3
|
||||
---------INS ClassInstanceCreation@@HashedMap[10] @TO@ VariableDeclarationFragment@@map=new HashedMap(10) @AT@ 1453 @LENGTH@ 17
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@HashedMap[10] @AT@ 1453 @LENGTH@ 3
|
||||
------------INS SimpleType@@HashedMap @TO@ ClassInstanceCreation@@HashedMap[10] @AT@ 1457 @LENGTH@ 9
|
||||
------------INS NumberLiteral@@10 @TO@ ClassInstanceCreation@@HashedMap[10] @AT@ 1467 @LENGTH@ 2
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("1","1") @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 1480 @LENGTH@ 18
|
||||
------INS MethodInvocation@@map.put("1","1") @TO@ ExpressionStatement@@MethodInvocation:map.put("1","1") @AT@ 1480 @LENGTH@ 17
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("1","1") @AT@ 1480 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["1", "1"] @TO@ MethodInvocation@@map.put("1","1") @AT@ 1484 @LENGTH@ 13
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 1488 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 1493 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 1507 @LENGTH@ 31
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 1507 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@cloned=(Map)map.clone() @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 1511 @LENGTH@ 26
|
||||
---------INS SimpleName@@cloned @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 1511 @LENGTH@ 6
|
||||
---------INS CastExpression@@(Map)map.clone() @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 1520 @LENGTH@ 17
|
||||
------------INS SimpleType@@Map @TO@ CastExpression@@(Map)map.clone() @AT@ 1521 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@map.clone() @TO@ CastExpression@@(Map)map.clone() @AT@ 1526 @LENGTH@ 11
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.clone() @AT@ 1526 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:clone:[] @TO@ MethodInvocation@@map.clone() @AT@ 1530 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 1547 @LENGTH@ 40
|
||||
------INS MethodInvocation@@assertEquals(map.size(),cloned.size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @AT@ 1547 @LENGTH@ 39
|
||||
---------INS SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @TO@ MethodInvocation@@assertEquals(map.size(),cloned.size()) @AT@ 1547 @LENGTH@ 39
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 1560 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 1560 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 1564 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@cloned.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 1572 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.size() @AT@ 1572 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@cloned.size() @AT@ 1579 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 1596 @LENGTH@ 42
|
||||
------INS MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @TO@ ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @AT@ 1596 @LENGTH@ 41
|
||||
---------INS SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @TO@ MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @AT@ 1596 @LENGTH@ 41
|
||||
------------INS MethodInvocation@@map.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 1607 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.get("1") @AT@ 1607 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@map.get("1") @AT@ 1611 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 1615 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@cloned.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 1621 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.get("1") @AT@ 1621 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@cloned.get("1") @AT@ 1628 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 1632 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD MethodDeclaration@@protected, voidMethodName:AbstractHashedMap, int initialCapacity, float loadFactor, int threshhold, @TO@ protected, voidMethodName:AbstractHashedMap, int initialCapacity, float loadFactor, int threshold, @AT@ 6515 @LENGTH@ 250
|
||||
---UPD SingleVariableDeclaration@@int threshhold @TO@ int threshold @AT@ 6582 @LENGTH@ 14
|
||||
------UPD SimpleName@@threshhold @TO@ threshold @AT@ 6586 @LENGTH@ 10
|
||||
---UPD ExpressionStatement@@Assignment:this.threshold=threshhold @TO@ Assignment:this.threshold=threshold @AT@ 6715 @LENGTH@ 28
|
||||
------UPD Assignment@@this.threshold=threshhold @TO@ this.threshold=threshold @AT@ 6715 @LENGTH@ 27
|
||||
---------UPD SimpleName@@threshhold @TO@ threshold @AT@ 6732 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:testEmptyMapCompatibility, IOException, ClassNotFoundException, @TO@ public, void, MethodName:testEmptyMapCompatibility, Exception, @AT@ 26392 @LENGTH@ 691
|
||||
---UPD SimpleType@@IOException @TO@ Exception @AT@ 26439 @LENGTH@ 11
|
||||
---DEL SimpleType@@ClassNotFoundException @AT@ 26452 @LENGTH@ 22
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:init() @TO@ MethodInvocation:cloned.init() @AT@ 38317 @LENGTH@ 7
|
||||
---UPD MethodInvocation@@MethodName:init:[] @TO@ cloned.init() @AT@ 38317 @LENGTH@ 6
|
||||
------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@MethodName:init:[] @AT@ 38317 @LENGTH@ 6
|
||||
------INS SimpleName@@MethodName:init:[] @TO@ MethodInvocation@@MethodName:init:[] @AT@ 38324 @LENGTH@ 6
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @TO@ TypeDeclaration@@[public, abstract]AbstractTestSet, AbstractTestCollection @AT@ 2704 @LENGTH@ 63
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @AT@ 2704 @LENGTH@ 6
|
||||
---INS PrimitiveType@@boolean @TO@ MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @AT@ 2711 @LENGTH@ 7
|
||||
---INS SimpleName@@MethodName:isEqualsCheckable @TO@ MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @AT@ 2719 @LENGTH@ 17
|
||||
---INS ReturnStatement@@BooleanLiteral:true @TO@ MethodDeclaration@@public, boolean, MethodName:isEqualsCheckable, @AT@ 2749 @LENGTH@ 12
|
||||
------INS BooleanLiteral@@true @TO@ ReturnStatement@@BooleanLiteral:true @AT@ 2756 @LENGTH@ 4
|
||||
|
||||
|
||||
MOV MethodDeclaration@@public, String[], MethodName:ignoredTests, @TO@ TypeDeclaration@@[public]TestFixedSizeSortedMap, AbstractTestSortedMap @AT@ 1991 @LENGTH@ 911
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testCopyToSelf, Exception, @TO@ TypeDeclaration@@[public]FileUtilsTestCase, FileBasedTestCase @AT@ 8855 @LENGTH@ 462
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testCopyToSelf, Exception, @AT@ 8855 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testCopyToSelf, Exception, @AT@ 8862 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testCopyToSelf @TO@ MethodDeclaration@@public, void, MethodName:testCopyToSelf, Exception, @AT@ 8867 @LENGTH@ 14
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testCopyToSelf, Exception, @AT@ 8891 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@File destination=new File(getTestDirectory(),"copy3.txt"); @TO@ MethodDeclaration@@public, void, MethodName:testCopyToSelf, Exception, @AT@ 8911 @LENGTH@ 61
|
||||
------INS SimpleType@@File @TO@ VariableDeclarationStatement@@File destination=new File(getTestDirectory(),"copy3.txt"); @AT@ 8911 @LENGTH@ 4
|
||||
------INS VariableDeclarationFragment@@destination=new File(getTestDirectory(),"copy3.txt") @TO@ VariableDeclarationStatement@@File destination=new File(getTestDirectory(),"copy3.txt"); @AT@ 8916 @LENGTH@ 55
|
||||
---------INS SimpleName@@destination @TO@ VariableDeclarationFragment@@destination=new File(getTestDirectory(),"copy3.txt") @AT@ 8916 @LENGTH@ 11
|
||||
---------INS ClassInstanceCreation@@File[getTestDirectory(), "copy3.txt"] @TO@ VariableDeclarationFragment@@destination=new File(getTestDirectory(),"copy3.txt") @AT@ 8930 @LENGTH@ 41
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@File[getTestDirectory(), "copy3.txt"] @AT@ 8930 @LENGTH@ 3
|
||||
------------INS SimpleType@@File @TO@ ClassInstanceCreation@@File[getTestDirectory(), "copy3.txt"] @AT@ 8934 @LENGTH@ 4
|
||||
------------INS MethodInvocation@@MethodName:getTestDirectory:[] @TO@ ClassInstanceCreation@@File[getTestDirectory(), "copy3.txt"] @AT@ 8939 @LENGTH@ 18
|
||||
------------INS StringLiteral@@"copy3.txt" @TO@ ClassInstanceCreation@@File[getTestDirectory(), "copy3.txt"] @AT@ 8959 @LENGTH@ 11
|
||||
---INS ExpressionStatement@@MethodInvocation:FileUtils.copyFile(testFile1,destination) @TO@ MethodDeclaration@@public, void, MethodName:testCopyToSelf, Exception, @AT@ 9011 @LENGTH@ 43
|
||||
------INS MethodInvocation@@FileUtils.copyFile(testFile1,destination) @TO@ ExpressionStatement@@MethodInvocation:FileUtils.copyFile(testFile1,destination) @AT@ 9011 @LENGTH@ 42
|
||||
---------INS SimpleName@@Name:FileUtils @TO@ MethodInvocation@@FileUtils.copyFile(testFile1,destination) @AT@ 9011 @LENGTH@ 9
|
||||
---------INS SimpleName@@MethodName:copyFile:[testFile1, destination] @TO@ MethodInvocation@@FileUtils.copyFile(testFile1,destination) @AT@ 9021 @LENGTH@ 32
|
||||
------------INS SimpleName@@testFile1 @TO@ SimpleName@@MethodName:copyFile:[testFile1, destination] @AT@ 9030 @LENGTH@ 9
|
||||
------------INS SimpleName@@destination @TO@ SimpleName@@MethodName:copyFile:[testFile1, destination] @AT@ 9041 @LENGTH@ 11
|
||||
---INS TryStatement@@try { FileUtils.copyFile(destination,destination); fail("file copy to self should not be possible");} catch (IOException ioe) {} @TO@ MethodDeclaration@@public, void, MethodName:testCopyToSelf, Exception, @AT@ 9072 @LENGTH@ 239
|
||||
------INS ExpressionStatement@@MethodInvocation:FileUtils.copyFile(destination,destination) @TO@ TryStatement@@try { FileUtils.copyFile(destination,destination); fail("file copy to self should not be possible");} catch (IOException ioe) {} @AT@ 9090 @LENGTH@ 45
|
||||
---------INS MethodInvocation@@FileUtils.copyFile(destination,destination) @TO@ ExpressionStatement@@MethodInvocation:FileUtils.copyFile(destination,destination) @AT@ 9090 @LENGTH@ 44
|
||||
------------INS SimpleName@@Name:FileUtils @TO@ MethodInvocation@@FileUtils.copyFile(destination,destination) @AT@ 9090 @LENGTH@ 9
|
||||
------------INS SimpleName@@MethodName:copyFile:[destination, destination] @TO@ MethodInvocation@@FileUtils.copyFile(destination,destination) @AT@ 9100 @LENGTH@ 34
|
||||
---------------INS SimpleName@@destination @TO@ SimpleName@@MethodName:copyFile:[destination, destination] @AT@ 9109 @LENGTH@ 11
|
||||
---------------INS SimpleName@@destination @TO@ SimpleName@@MethodName:copyFile:[destination, destination] @AT@ 9122 @LENGTH@ 11
|
||||
------INS ExpressionStatement@@MethodInvocation:fail("file copy to self should not be possible") @TO@ TryStatement@@try { FileUtils.copyFile(destination,destination); fail("file copy to self should not be possible");} catch (IOException ioe) {} @AT@ 9148 @LENGTH@ 49
|
||||
---------INS MethodInvocation@@fail("file copy to self should not be possible") @TO@ ExpressionStatement@@MethodInvocation:fail("file copy to self should not be possible") @AT@ 9148 @LENGTH@ 48
|
||||
------------INS SimpleName@@MethodName:fail:["file copy to self should not be possible"] @TO@ MethodInvocation@@fail("file copy to self should not be possible") @AT@ 9148 @LENGTH@ 48
|
||||
---------------INS StringLiteral@@"file copy to self should not be possible" @TO@ SimpleName@@MethodName:fail:["file copy to self should not be possible"] @AT@ 9153 @LENGTH@ 42
|
||||
------INS CatchClause@@catch (IOException ioe) {} @TO@ TryStatement@@try { FileUtils.copyFile(destination,destination); fail("file copy to self should not be possible");} catch (IOException ioe) {} @AT@ 9208 @LENGTH@ 103
|
||||
---------INS SingleVariableDeclaration@@IOException ioe @TO@ CatchClause@@catch (IOException ioe) {} @AT@ 9215 @LENGTH@ 15
|
||||
------------INS SimpleType@@IOException @TO@ SingleVariableDeclaration@@IOException ioe @AT@ 9215 @LENGTH@ 11
|
||||
------------INS SimpleName@@ioe @TO@ SingleVariableDeclaration@@IOException ioe @AT@ 9227 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD TryStatement@@try { PropertiesWriter out=new PropertiesWriter(file); out.writeComment("written by PropertiesConfiguration"); out.writeComment(new Date().toString()); for (Iterator i=this.getKeys(); i.hasNext(); ) { String key=(String)i.next(); String value=StringUtils.join(this.getStringArray(key),", "); out.writeProperty(key,value); } out.flush(); out.close();} catch (IOException ioe) { throw new ConfigurationException("Could not save to file " + filename,ioe);} @TO@ try { out=new PropertiesWriter(file); out.writeComment("written by PropertiesConfiguration"); out.writeComment(new Date().toString()); for (Iterator i=this.getKeys(); i.hasNext(); ) { String key=(String)i.next(); String value=StringUtils.join(this.getStringArray(key),", "); out.writeProperty(key,value); } out.flush(); out.close();} catch (IOException ioe) { try { if (out != null) { out.close(); } } catch ( IOException ioe2) { } throw new ConfigurationException("Could not save to file " + filename,ioe);} @AT@ 7197 @LENGTH@ 601
|
||||
---DEL VariableDeclarationStatement@@PropertiesWriter out=new PropertiesWriter(file); @AT@ 7212 @LENGTH@ 50
|
||||
------DEL SimpleType@@PropertiesWriter @AT@ 7212 @LENGTH@ 16
|
||||
------DEL VariableDeclarationFragment@@out=new PropertiesWriter(file) @AT@ 7229 @LENGTH@ 32
|
||||
---------DEL SimpleName@@out @AT@ 7229 @LENGTH@ 3
|
||||
---------DEL ClassInstanceCreation@@PropertiesWriter[file] @AT@ 7235 @LENGTH@ 26
|
||||
---INS ExpressionStatement@@Assignment:out=new PropertiesWriter(file) @TO@ TryStatement@@try { PropertiesWriter out=new PropertiesWriter(file); out.writeComment("written by PropertiesConfiguration"); out.writeComment(new Date().toString()); for (Iterator i=this.getKeys(); i.hasNext(); ) { String key=(String)i.next(); String value=StringUtils.join(this.getStringArray(key),", "); out.writeProperty(key,value); } out.flush(); out.close();} catch (IOException ioe) { throw new ConfigurationException("Could not save to file " + filename,ioe);} @AT@ 7249 @LENGTH@ 33
|
||||
------INS Assignment@@out=new PropertiesWriter(file) @TO@ ExpressionStatement@@Assignment:out=new PropertiesWriter(file) @AT@ 7249 @LENGTH@ 32
|
||||
---------INS SimpleName@@out @TO@ Assignment@@out=new PropertiesWriter(file) @AT@ 7249 @LENGTH@ 3
|
||||
---------INS Operator@@= @TO@ Assignment@@out=new PropertiesWriter(file) @AT@ 7252 @LENGTH@ 1
|
||||
---------INS ClassInstanceCreation@@PropertiesWriter[file] @TO@ Assignment@@out=new PropertiesWriter(file) @AT@ 7255 @LENGTH@ 26
|
||||
------------MOV New@@new @TO@ ClassInstanceCreation@@PropertiesWriter[file] @AT@ 7235 @LENGTH@ 3
|
||||
------------MOV SimpleType@@PropertiesWriter @TO@ ClassInstanceCreation@@PropertiesWriter[file] @AT@ 7239 @LENGTH@ 16
|
||||
------------MOV SimpleName@@file @TO@ ClassInstanceCreation@@PropertiesWriter[file] @AT@ 7256 @LENGTH@ 4
|
||||
---UPD CatchClause@@catch (IOException ioe) { throw new ConfigurationException("Could not save to file " + filename,ioe);} @TO@ catch (IOException ioe) { try { if (out != null) { out.close(); } } catch ( IOException ioe2) { } throw new ConfigurationException("Could not save to file " + filename,ioe);} @AT@ 7679 @LENGTH@ 119
|
||||
------INS TryStatement@@try { if (out != null) { out.close(); }} catch (IOException ioe2) {} @TO@ CatchClause@@catch (IOException ioe) { throw new ConfigurationException("Could not save to file " + filename,ioe);} @AT@ 7736 @LENGTH@ 172
|
||||
---------INS IfStatement@@if (out != null) { out.close();} @TO@ TryStatement@@try { if (out != null) { out.close(); }} catch (IOException ioe2) {} @AT@ 7758 @LENGTH@ 67
|
||||
------------INS InfixExpression@@out != null @TO@ IfStatement@@if (out != null) { out.close();} @AT@ 7762 @LENGTH@ 10
|
||||
---------------INS SimpleName@@out @TO@ InfixExpression@@out != null @AT@ 7762 @LENGTH@ 3
|
||||
---------------INS Operator@@!= @TO@ InfixExpression@@out != null @AT@ 7765 @LENGTH@ 2
|
||||
---------------INS NullLiteral@@null @TO@ InfixExpression@@out != null @AT@ 7768 @LENGTH@ 4
|
||||
------------INS Block@@ThenBody:{ out.close();} @TO@ IfStatement@@if (out != null) { out.close();} @AT@ 7773 @LENGTH@ 52
|
||||
---------------INS ExpressionStatement@@MethodInvocation:out.close() @TO@ Block@@ThenBody:{ out.close();} @AT@ 7795 @LENGTH@ 12
|
||||
------------------INS MethodInvocation@@out.close() @TO@ ExpressionStatement@@MethodInvocation:out.close() @AT@ 7795 @LENGTH@ 11
|
||||
---------------------INS SimpleName@@Name:out @TO@ MethodInvocation@@out.close() @AT@ 7795 @LENGTH@ 3
|
||||
---------------------INS SimpleName@@MethodName:close:[] @TO@ MethodInvocation@@out.close() @AT@ 7799 @LENGTH@ 7
|
||||
---------INS CatchClause@@catch (IOException ioe2) {} @TO@ TryStatement@@try { if (out != null) { out.close(); }} catch (IOException ioe2) {} @AT@ 7852 @LENGTH@ 56
|
||||
------------INS SingleVariableDeclaration@@IOException ioe2 @TO@ CatchClause@@catch (IOException ioe2) {} @AT@ 7859 @LENGTH@ 16
|
||||
---------------INS SimpleType@@IOException @TO@ SingleVariableDeclaration@@IOException ioe2 @AT@ 7859 @LENGTH@ 11
|
||||
---------------INS SimpleName@@ioe2 @TO@ SingleVariableDeclaration@@IOException ioe2 @AT@ 7871 @LENGTH@ 4
|
||||
|
||||
|
||||
INS VariableDeclarationStatement@@PropertiesWriter out=null; @TO@ MethodDeclaration@@public, void, MethodName:save, String filename, ConfigurationException, @AT@ 7157 @LENGTH@ 28
|
||||
---INS SimpleType@@PropertiesWriter @TO@ VariableDeclarationStatement@@PropertiesWriter out=null; @AT@ 7157 @LENGTH@ 16
|
||||
---INS VariableDeclarationFragment@@out=null @TO@ VariableDeclarationStatement@@PropertiesWriter out=null; @AT@ 7174 @LENGTH@ 10
|
||||
------INS SimpleName@@out @TO@ VariableDeclarationFragment@@out=null @AT@ 7174 @LENGTH@ 3
|
||||
------INS NullLiteral@@null @TO@ VariableDeclarationFragment@@out=null @AT@ 7180 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, boolean, MethodName:remove, Object o, @TO@ public, boolean, MethodName:remove, Object obj, @AT@ 18563 @LENGTH@ 475
|
||||
---UPD SingleVariableDeclaration@@Object o @TO@ Object obj @AT@ 18585 @LENGTH@ 8
|
||||
------UPD SimpleName@@o @TO@ obj @AT@ 18592 @LENGTH@ 1
|
||||
---UPD VariableDeclarationStatement@@Map.Entry entry=(Map.Entry)o; @TO@ Map.Entry entry=(Map.Entry)obj; @AT@ 18609 @LENGTH@ 31
|
||||
------UPD VariableDeclarationFragment@@entry=(Map.Entry)o @TO@ entry=(Map.Entry)obj @AT@ 18619 @LENGTH@ 20
|
||||
---------UPD CastExpression@@(Map.Entry)o @TO@ (Map.Entry)obj @AT@ 18627 @LENGTH@ 12
|
||||
------------UPD SimpleName@@o @TO@ obj @AT@ 18638 @LENGTH@ 1
|
||||
---INS IfStatement@@if (obj instanceof Map.Entry == false) { return false;} @TO@ MethodDeclaration@@public, boolean, MethodName:remove, Object o, @AT@ 18611 @LENGTH@ 84
|
||||
------INS InfixExpression@@obj instanceof Map.Entry == false @TO@ IfStatement@@if (obj instanceof Map.Entry == false) { return false;} @AT@ 18615 @LENGTH@ 33
|
||||
---------INS InstanceofExpression@@obj instanceof Map.Entry @TO@ InfixExpression@@obj instanceof Map.Entry == false @AT@ 18615 @LENGTH@ 24
|
||||
------------INS SimpleName@@obj @TO@ InstanceofExpression@@obj instanceof Map.Entry @AT@ 18615 @LENGTH@ 3
|
||||
------------INS Instanceof@@instanceof @TO@ InstanceofExpression@@obj instanceof Map.Entry @AT@ 18619 @LENGTH@ 10
|
||||
------------INS SimpleType@@Map.Entry @TO@ InstanceofExpression@@obj instanceof Map.Entry @AT@ 18630 @LENGTH@ 9
|
||||
---------INS Operator@@== @TO@ InfixExpression@@obj instanceof Map.Entry == false @AT@ 18639 @LENGTH@ 2
|
||||
---------INS BooleanLiteral@@false @TO@ InfixExpression@@obj instanceof Map.Entry == false @AT@ 18643 @LENGTH@ 5
|
||||
------INS Block@@ThenBody:{ return false;} @TO@ IfStatement@@if (obj instanceof Map.Entry == false) { return false;} @AT@ 18650 @LENGTH@ 45
|
||||
---------INS ReturnStatement@@BooleanLiteral:false @TO@ Block@@ThenBody:{ return false;} @AT@ 18668 @LENGTH@ 13
|
||||
------------INS BooleanLiteral@@false @TO@ ReturnStatement@@BooleanLiteral:false @AT@ 18675 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertTrue("Returned object should be a TypedSortedBag.",bag instanceof PredicatedBag) @TO@ MethodInvocation:assertTrue("Returned object should be a TypedSortedBag.",bag instanceof PredicatedSortedBag) @AT@ 8926 @LENGTH@ 100
|
||||
---UPD MethodInvocation@@assertTrue("Returned object should be a TypedSortedBag.",bag instanceof PredicatedBag) @TO@ assertTrue("Returned object should be a TypedSortedBag.",bag instanceof PredicatedSortedBag) @AT@ 8926 @LENGTH@ 99
|
||||
------UPD SimpleName@@MethodName:assertTrue:["Returned object should be a TypedSortedBag.", bag instanceof PredicatedBag] @TO@ MethodName:assertTrue:["Returned object should be a TypedSortedBag.", bag instanceof PredicatedSortedBag] @AT@ 8926 @LENGTH@ 99
|
||||
---------UPD InstanceofExpression@@bag instanceof PredicatedBag @TO@ bag instanceof PredicatedSortedBag @AT@ 8996 @LENGTH@ 28
|
||||
------------UPD SimpleType@@PredicatedBag @TO@ PredicatedSortedBag @AT@ 9011 @LENGTH@ 13
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos1, @TO@ TypeDeclaration@@[public]HexTest, TestCase @AT@ 1735 @LENGTH@ 280
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos1, @AT@ 1735 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos1, @AT@ 1742 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testDecodeBadCharacterPos1 @TO@ MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos1, @AT@ 1747 @LENGTH@ 26
|
||||
---INS TryStatement@@try { new Hex().decode("0q"); fail("An exception wasn't thrown when trying to decode an illegal character");} catch (DecoderException e) {} @TO@ MethodDeclaration@@public, void, MethodName:testDecodeBadCharacterPos1, @AT@ 1786 @LENGTH@ 223
|
||||
------INS ExpressionStatement@@MethodInvocation:new Hex().decode("0q") @TO@ TryStatement@@try { new Hex().decode("0q"); fail("An exception wasn't thrown when trying to decode an illegal character");} catch (DecoderException e) {} @AT@ 1804 @LENGTH@ 23
|
||||
---------INS MethodInvocation@@new Hex().decode("0q") @TO@ ExpressionStatement@@MethodInvocation:new Hex().decode("0q") @AT@ 1804 @LENGTH@ 22
|
||||
------------INS ClassInstanceCreation@@Hex[] @TO@ MethodInvocation@@new Hex().decode("0q") @AT@ 1804 @LENGTH@ 9
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@Hex[] @AT@ 1804 @LENGTH@ 3
|
||||
---------------INS SimpleType@@Hex @TO@ ClassInstanceCreation@@Hex[] @AT@ 1808 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:decode:["0q"] @TO@ MethodInvocation@@new Hex().decode("0q") @AT@ 1814 @LENGTH@ 12
|
||||
---------------INS StringLiteral@@"0q" @TO@ SimpleName@@MethodName:decode:["0q"] @AT@ 1821 @LENGTH@ 4
|
||||
------INS ExpressionStatement@@MethodInvocation:fail("An exception wasn't thrown when trying to decode an illegal character") @TO@ TryStatement@@try { new Hex().decode("0q"); fail("An exception wasn't thrown when trying to decode an illegal character");} catch (DecoderException e) {} @AT@ 1840 @LENGTH@ 78
|
||||
---------INS MethodInvocation@@fail("An exception wasn't thrown when trying to decode an illegal character") @TO@ ExpressionStatement@@MethodInvocation:fail("An exception wasn't thrown when trying to decode an illegal character") @AT@ 1840 @LENGTH@ 77
|
||||
------------INS SimpleName@@MethodName:fail:["An exception wasn't thrown when trying to decode an illegal character"] @TO@ MethodInvocation@@fail("An exception wasn't thrown when trying to decode an illegal character") @AT@ 1840 @LENGTH@ 77
|
||||
---------------INS StringLiteral@@"An exception wasn't thrown when trying to decode an illegal character" @TO@ SimpleName@@MethodName:fail:["An exception wasn't thrown when trying to decode an illegal character"] @AT@ 1845 @LENGTH@ 71
|
||||
------INS CatchClause@@catch (DecoderException e) {} @TO@ TryStatement@@try { new Hex().decode("0q"); fail("An exception wasn't thrown when trying to decode an illegal character");} catch (DecoderException e) {} @AT@ 1937 @LENGTH@ 72
|
||||
---------INS SingleVariableDeclaration@@DecoderException e @TO@ CatchClause@@catch (DecoderException e) {} @AT@ 1944 @LENGTH@ 18
|
||||
------------INS SimpleType@@DecoderException @TO@ SingleVariableDeclaration@@DecoderException e @AT@ 1944 @LENGTH@ 16
|
||||
------------INS SimpleName@@e @TO@ SingleVariableDeclaration@@DecoderException e @AT@ 1961 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@Object object=(Object)it.next(); @TO@ Object object=it.next(); @AT@ 9038 @LENGTH@ 35
|
||||
---UPD VariableDeclarationFragment@@object=(Object)it.next() @TO@ object=it.next() @AT@ 9045 @LENGTH@ 27
|
||||
------INS MethodInvocation@@it.next() @TO@ VariableDeclarationFragment@@object=(Object)it.next() @AT@ 9045 @LENGTH@ 9
|
||||
---------MOV SimpleName@@Name:it @TO@ MethodInvocation@@it.next() @AT@ 9063 @LENGTH@ 2
|
||||
---------MOV SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@it.next() @AT@ 9066 @LENGTH@ 6
|
||||
------DEL CastExpression@@(Object)it.next() @AT@ 9054 @LENGTH@ 18
|
||||
---------DEL SimpleType@@Object @AT@ 9055 @LENGTH@ 6
|
||||
---------DEL MethodInvocation@@it.next() @AT@ 9063 @LENGTH@ 9
|
||||
|
||||
|
||||
INS TryStatement@@try { FileUtils.copyFileToDirectory(destination,directory); fail("Should not be able to copy a file into the same directory as itself");} catch (IOException ioe) {} @TO@ MethodDeclaration@@public, void, MethodName:testCopyFile1ToDir, Exception, @AT@ 11631 @LENGTH@ 294
|
||||
---INS ExpressionStatement@@MethodInvocation:FileUtils.copyFileToDirectory(destination,directory) @TO@ TryStatement@@try { FileUtils.copyFileToDirectory(destination,directory); fail("Should not be able to copy a file into the same directory as itself");} catch (IOException ioe) {} @AT@ 11649 @LENGTH@ 54
|
||||
------INS MethodInvocation@@FileUtils.copyFileToDirectory(destination,directory) @TO@ ExpressionStatement@@MethodInvocation:FileUtils.copyFileToDirectory(destination,directory) @AT@ 11649 @LENGTH@ 53
|
||||
---------INS SimpleName@@Name:FileUtils @TO@ MethodInvocation@@FileUtils.copyFileToDirectory(destination,directory) @AT@ 11649 @LENGTH@ 9
|
||||
---------INS SimpleName@@MethodName:copyFileToDirectory:[destination, directory] @TO@ MethodInvocation@@FileUtils.copyFileToDirectory(destination,directory) @AT@ 11659 @LENGTH@ 43
|
||||
------------INS SimpleName@@destination @TO@ SimpleName@@MethodName:copyFileToDirectory:[destination, directory] @AT@ 11679 @LENGTH@ 11
|
||||
------------INS SimpleName@@directory @TO@ SimpleName@@MethodName:copyFileToDirectory:[destination, directory] @AT@ 11692 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:fail("Should not be able to copy a file into the same directory as itself") @TO@ TryStatement@@try { FileUtils.copyFileToDirectory(destination,directory); fail("Should not be able to copy a file into the same directory as itself");} catch (IOException ioe) {} @AT@ 11716 @LENGTH@ 76
|
||||
------INS MethodInvocation@@fail("Should not be able to copy a file into the same directory as itself") @TO@ ExpressionStatement@@MethodInvocation:fail("Should not be able to copy a file into the same directory as itself") @AT@ 11716 @LENGTH@ 75
|
||||
---------INS SimpleName@@MethodName:fail:["Should not be able to copy a file into the same directory as itself"] @TO@ MethodInvocation@@fail("Should not be able to copy a file into the same directory as itself") @AT@ 11716 @LENGTH@ 75
|
||||
------------INS StringLiteral@@"Should not be able to copy a file into the same directory as itself" @TO@ SimpleName@@MethodName:fail:["Should not be able to copy a file into the same directory as itself"] @AT@ 11721 @LENGTH@ 69
|
||||
---INS CatchClause@@catch (IOException ioe) {} @TO@ TryStatement@@try { FileUtils.copyFileToDirectory(destination,directory); fail("Should not be able to copy a file into the same directory as itself");} catch (IOException ioe) {} @AT@ 11807 @LENGTH@ 118
|
||||
------INS SingleVariableDeclaration@@IOException ioe @TO@ CatchClause@@catch (IOException ioe) {} @AT@ 11814 @LENGTH@ 15
|
||||
---------INS SimpleType@@IOException @TO@ SingleVariableDeclaration@@IOException ioe @AT@ 11814 @LENGTH@ 11
|
||||
---------INS SimpleName@@ioe @TO@ SingleVariableDeclaration@@IOException ioe @AT@ 11826 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD ReturnStatement@@MethodInvocation:((Comparable)o1).compareTo(o2) @TO@ MethodInvocation:o1.compareTo(o2) @AT@ 26534 @LENGTH@ 39
|
||||
---UPD MethodInvocation@@((Comparable)o1).compareTo(o2) @TO@ o1.compareTo(o2) @AT@ 26541 @LENGTH@ 31
|
||||
------DEL ParenthesizedExpression@@((Comparable)o1) @AT@ 26541 @LENGTH@ 17
|
||||
---------DEL CastExpression@@(Comparable)o1 @AT@ 26542 @LENGTH@ 15
|
||||
------------DEL SimpleType@@Comparable @AT@ 26543 @LENGTH@ 10
|
||||
------------DEL SimpleName@@o1 @AT@ 26555 @LENGTH@ 2
|
||||
------INS SimpleName@@Name:o1 @TO@ MethodInvocation@@((Comparable)o1).compareTo(o2) @AT@ 26551 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@boolean contains=getCount(current) >= ((Bag)other).getCount(current); @TO@ boolean contains=getCount(current) >= other.getCount(current); @AT@ 7239 @LENGTH@ 72
|
||||
---UPD VariableDeclarationFragment@@contains=getCount(current) >= ((Bag)other).getCount(current) @TO@ contains=getCount(current) >= other.getCount(current) @AT@ 7247 @LENGTH@ 63
|
||||
------UPD InfixExpression@@getCount(current) >= ((Bag)other).getCount(current) @TO@ getCount(current) >= other.getCount(current) @AT@ 7258 @LENGTH@ 52
|
||||
---------UPD MethodInvocation@@((Bag)other).getCount(current) @TO@ other.getCount(current) @AT@ 7279 @LENGTH@ 31
|
||||
------------DEL ParenthesizedExpression@@((Bag)other) @AT@ 7279 @LENGTH@ 13
|
||||
---------------DEL CastExpression@@(Bag)other @AT@ 7280 @LENGTH@ 11
|
||||
------------------DEL SimpleType@@Bag @AT@ 7281 @LENGTH@ 3
|
||||
------------------DEL SimpleName@@other @AT@ 7286 @LENGTH@ 5
|
||||
------------INS SimpleName@@Name:other @TO@ MethodInvocation@@((Bag)other).getCount(current) @AT@ 7279 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD IfStatement@@if (last == null) { return "MapIterator[" + getKey() + "="+ getValue()+ "]";} else { return "MapIterator[]";} @TO@ if (last != null) { return "MapIterator[" + getKey() + "="+ getValue()+ "]";} else { return "MapIterator[]";} @AT@ 19907 @LENGTH@ 169
|
||||
---UPD InfixExpression@@last == null @TO@ last != null @AT@ 19911 @LENGTH@ 12
|
||||
------UPD Operator@@== @TO@ != @AT@ 19915 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD ReturnStatement@@MethodInvocation:get((String)key) @TO@ MethodInvocation:get(key) @AT@ 18236 @LENGTH@ 27
|
||||
---UPD MethodInvocation@@get((String)key) @TO@ get(key) @AT@ 18243 @LENGTH@ 19
|
||||
------UPD SimpleName@@MethodName:get:[(String)key] @TO@ MethodName:get:[key] @AT@ 18243 @LENGTH@ 19
|
||||
---------INS SimpleName@@key @TO@ SimpleName@@MethodName:get:[(String)key] @AT@ 18247 @LENGTH@ 3
|
||||
---------DEL CastExpression@@(String)key @AT@ 18248 @LENGTH@ 12
|
||||
------------DEL SimpleType@@String @AT@ 18249 @LENGTH@ 6
|
||||
------------DEL SimpleName@@key @AT@ 18257 @LENGTH@ 3
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @TO@ TypeDeclaration@@[public]CompositeConfiguration, AbstractConfiguration @AT@ 7943 @LENGTH@ 710
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 7943 @LENGTH@ 6
|
||||
---INS SimpleType@@Configuration @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 7950 @LENGTH@ 13
|
||||
---INS SimpleName@@MethodName:subset @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 7964 @LENGTH@ 6
|
||||
---INS SingleVariableDeclaration@@String prefix @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 7971 @LENGTH@ 13
|
||||
------INS SimpleType@@String @TO@ SingleVariableDeclaration@@String prefix @AT@ 7971 @LENGTH@ 6
|
||||
------INS SimpleName@@prefix @TO@ SingleVariableDeclaration@@String prefix @AT@ 7978 @LENGTH@ 6
|
||||
---INS VariableDeclarationStatement@@CompositeConfiguration subsetCompositeConfiguration=new CompositeConfiguration(); @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 8000 @LENGTH@ 95
|
||||
------INS SimpleType@@CompositeConfiguration @TO@ VariableDeclarationStatement@@CompositeConfiguration subsetCompositeConfiguration=new CompositeConfiguration(); @AT@ 8000 @LENGTH@ 22
|
||||
------INS VariableDeclarationFragment@@subsetCompositeConfiguration=new CompositeConfiguration() @TO@ VariableDeclarationStatement@@CompositeConfiguration subsetCompositeConfiguration=new CompositeConfiguration(); @AT@ 8023 @LENGTH@ 71
|
||||
---------INS SimpleName@@subsetCompositeConfiguration @TO@ VariableDeclarationFragment@@subsetCompositeConfiguration=new CompositeConfiguration() @AT@ 8023 @LENGTH@ 28
|
||||
---------INS ClassInstanceCreation@@CompositeConfiguration[] @TO@ VariableDeclarationFragment@@subsetCompositeConfiguration=new CompositeConfiguration() @AT@ 8066 @LENGTH@ 28
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@CompositeConfiguration[] @AT@ 8066 @LENGTH@ 3
|
||||
------------INS SimpleType@@CompositeConfiguration @TO@ ClassInstanceCreation@@CompositeConfiguration[] @AT@ 8070 @LENGTH@ 22
|
||||
---INS VariableDeclarationStatement@@Configuration subConf=null; @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 8104 @LENGTH@ 29
|
||||
------INS SimpleType@@Configuration @TO@ VariableDeclarationStatement@@Configuration subConf=null; @AT@ 8104 @LENGTH@ 13
|
||||
------INS VariableDeclarationFragment@@subConf=null @TO@ VariableDeclarationStatement@@Configuration subConf=null; @AT@ 8118 @LENGTH@ 14
|
||||
---------INS SimpleName@@subConf @TO@ VariableDeclarationFragment@@subConf=null @AT@ 8118 @LENGTH@ 7
|
||||
---------INS NullLiteral@@null @TO@ VariableDeclarationFragment@@subConf=null @AT@ 8128 @LENGTH@ 4
|
||||
---INS VariableDeclarationStatement@@int count=0; @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 8142 @LENGTH@ 14
|
||||
------INS PrimitiveType@@int @TO@ VariableDeclarationStatement@@int count=0; @AT@ 8142 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@count=0 @TO@ VariableDeclarationStatement@@int count=0; @AT@ 8146 @LENGTH@ 9
|
||||
---------INS SimpleName@@count @TO@ VariableDeclarationFragment@@count=0 @AT@ 8146 @LENGTH@ 5
|
||||
---------INS NumberLiteral@@0 @TO@ VariableDeclarationFragment@@count=0 @AT@ 8154 @LENGTH@ 1
|
||||
---INS ForStatement@@for (ListIterator i=configList.listIterator(); i.hasNext(); ) { Configuration config=(Configuration)i.next(); Configuration subset=config.subset(prefix); if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++; }} @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 8165 @LENGTH@ 412
|
||||
------INS VariableDeclarationExpression@@ListIterator i=configList.listIterator() @TO@ ForStatement@@for (ListIterator i=configList.listIterator(); i.hasNext(); ) { Configuration config=(Configuration)i.next(); Configuration subset=config.subset(prefix); if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++; }} @AT@ 8170 @LENGTH@ 42
|
||||
---------INS SimpleType@@ListIterator @TO@ VariableDeclarationExpression@@ListIterator i=configList.listIterator() @AT@ 8170 @LENGTH@ 12
|
||||
---------INS VariableDeclarationFragment@@i=configList.listIterator() @TO@ VariableDeclarationExpression@@ListIterator i=configList.listIterator() @AT@ 8183 @LENGTH@ 29
|
||||
------------INS SimpleName@@i @TO@ VariableDeclarationFragment@@i=configList.listIterator() @AT@ 8183 @LENGTH@ 1
|
||||
------------INS MethodInvocation@@configList.listIterator() @TO@ VariableDeclarationFragment@@i=configList.listIterator() @AT@ 8187 @LENGTH@ 25
|
||||
---------------INS SimpleName@@Name:configList @TO@ MethodInvocation@@configList.listIterator() @AT@ 8187 @LENGTH@ 10
|
||||
---------------INS SimpleName@@MethodName:listIterator:[] @TO@ MethodInvocation@@configList.listIterator() @AT@ 8198 @LENGTH@ 14
|
||||
------INS MethodInvocation@@i.hasNext() @TO@ ForStatement@@for (ListIterator i=configList.listIterator(); i.hasNext(); ) { Configuration config=(Configuration)i.next(); Configuration subset=config.subset(prefix); if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++; }} @AT@ 8214 @LENGTH@ 11
|
||||
---------INS SimpleName@@Name:i @TO@ MethodInvocation@@i.hasNext() @AT@ 8214 @LENGTH@ 1
|
||||
---------INS SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@i.hasNext() @AT@ 8216 @LENGTH@ 9
|
||||
------INS VariableDeclarationStatement@@Configuration config=(Configuration)i.next(); @TO@ ForStatement@@for (ListIterator i=configList.listIterator(); i.hasNext(); ) { Configuration config=(Configuration)i.next(); Configuration subset=config.subset(prefix); if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++; }} @AT@ 8250 @LENGTH@ 48
|
||||
---------INS SimpleType@@Configuration @TO@ VariableDeclarationStatement@@Configuration config=(Configuration)i.next(); @AT@ 8250 @LENGTH@ 13
|
||||
---------INS VariableDeclarationFragment@@config=(Configuration)i.next() @TO@ VariableDeclarationStatement@@Configuration config=(Configuration)i.next(); @AT@ 8264 @LENGTH@ 33
|
||||
------------INS SimpleName@@config @TO@ VariableDeclarationFragment@@config=(Configuration)i.next() @AT@ 8264 @LENGTH@ 6
|
||||
------------INS CastExpression@@(Configuration)i.next() @TO@ VariableDeclarationFragment@@config=(Configuration)i.next() @AT@ 8273 @LENGTH@ 24
|
||||
---------------INS SimpleType@@Configuration @TO@ CastExpression@@(Configuration)i.next() @AT@ 8274 @LENGTH@ 13
|
||||
---------------INS MethodInvocation@@i.next() @TO@ CastExpression@@(Configuration)i.next() @AT@ 8289 @LENGTH@ 8
|
||||
------------------INS SimpleName@@Name:i @TO@ MethodInvocation@@i.next() @AT@ 8289 @LENGTH@ 1
|
||||
------------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@i.next() @AT@ 8291 @LENGTH@ 6
|
||||
------INS VariableDeclarationStatement@@Configuration subset=config.subset(prefix); @TO@ ForStatement@@for (ListIterator i=configList.listIterator(); i.hasNext(); ) { Configuration config=(Configuration)i.next(); Configuration subset=config.subset(prefix); if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++; }} @AT@ 8311 @LENGTH@ 45
|
||||
---------INS SimpleType@@Configuration @TO@ VariableDeclarationStatement@@Configuration subset=config.subset(prefix); @AT@ 8311 @LENGTH@ 13
|
||||
---------INS VariableDeclarationFragment@@subset=config.subset(prefix) @TO@ VariableDeclarationStatement@@Configuration subset=config.subset(prefix); @AT@ 8325 @LENGTH@ 30
|
||||
------------INS SimpleName@@subset @TO@ VariableDeclarationFragment@@subset=config.subset(prefix) @AT@ 8325 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@config.subset(prefix) @TO@ VariableDeclarationFragment@@subset=config.subset(prefix) @AT@ 8334 @LENGTH@ 21
|
||||
---------------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.subset(prefix) @AT@ 8334 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:subset:[prefix] @TO@ MethodInvocation@@config.subset(prefix) @AT@ 8341 @LENGTH@ 14
|
||||
------------------INS SimpleName@@prefix @TO@ SimpleName@@MethodName:subset:[prefix] @AT@ 8348 @LENGTH@ 6
|
||||
------INS IfStatement@@if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++;} @TO@ ForStatement@@for (ListIterator i=configList.listIterator(); i.hasNext(); ) { Configuration config=(Configuration)i.next(); Configuration subset=config.subset(prefix); if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++; }} @AT@ 8369 @LENGTH@ 198
|
||||
---------INS InfixExpression@@subset != null && !subset.isEmpty() @TO@ IfStatement@@if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++;} @AT@ 8373 @LENGTH@ 35
|
||||
------------INS InfixExpression@@subset != null @TO@ InfixExpression@@subset != null && !subset.isEmpty() @AT@ 8373 @LENGTH@ 14
|
||||
---------------INS SimpleName@@subset @TO@ InfixExpression@@subset != null @AT@ 8373 @LENGTH@ 6
|
||||
---------------INS Operator@@!= @TO@ InfixExpression@@subset != null @AT@ 8379 @LENGTH@ 2
|
||||
---------------INS NullLiteral@@null @TO@ InfixExpression@@subset != null @AT@ 8383 @LENGTH@ 4
|
||||
------------INS Operator@@&& @TO@ InfixExpression@@subset != null && !subset.isEmpty() @AT@ 8387 @LENGTH@ 2
|
||||
------------INS PrefixExpression@@!subset.isEmpty() @TO@ InfixExpression@@subset != null && !subset.isEmpty() @AT@ 8391 @LENGTH@ 17
|
||||
---------------INS Operator@@! @TO@ PrefixExpression@@!subset.isEmpty() @AT@ 8391 @LENGTH@ 1
|
||||
---------------INS MethodInvocation@@subset.isEmpty() @TO@ PrefixExpression@@!subset.isEmpty() @AT@ 8392 @LENGTH@ 16
|
||||
------------------INS SimpleName@@Name:subset @TO@ MethodInvocation@@subset.isEmpty() @AT@ 8392 @LENGTH@ 6
|
||||
------------------INS SimpleName@@MethodName:isEmpty:[] @TO@ MethodInvocation@@subset.isEmpty() @AT@ 8399 @LENGTH@ 9
|
||||
---------INS Block@@ThenBody:{ subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++;} @TO@ IfStatement@@if (subset != null && !subset.isEmpty()) { subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++;} @AT@ 8422 @LENGTH@ 145
|
||||
------------INS ExpressionStatement@@MethodInvocation:subsetCompositeConfiguration.addConfiguration(subset) @TO@ Block@@ThenBody:{ subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++;} @AT@ 8440 @LENGTH@ 54
|
||||
---------------INS MethodInvocation@@subsetCompositeConfiguration.addConfiguration(subset) @TO@ ExpressionStatement@@MethodInvocation:subsetCompositeConfiguration.addConfiguration(subset) @AT@ 8440 @LENGTH@ 53
|
||||
------------------INS SimpleName@@Name:subsetCompositeConfiguration @TO@ MethodInvocation@@subsetCompositeConfiguration.addConfiguration(subset) @AT@ 8440 @LENGTH@ 28
|
||||
------------------INS SimpleName@@MethodName:addConfiguration:[subset] @TO@ MethodInvocation@@subsetCompositeConfiguration.addConfiguration(subset) @AT@ 8469 @LENGTH@ 24
|
||||
---------------------INS SimpleName@@subset @TO@ SimpleName@@MethodName:addConfiguration:[subset] @AT@ 8486 @LENGTH@ 6
|
||||
------------INS ExpressionStatement@@Assignment:subConf=subset @TO@ Block@@ThenBody:{ subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++;} @AT@ 8511 @LENGTH@ 17
|
||||
---------------INS Assignment@@subConf=subset @TO@ ExpressionStatement@@Assignment:subConf=subset @AT@ 8511 @LENGTH@ 16
|
||||
------------------INS SimpleName@@subConf @TO@ Assignment@@subConf=subset @AT@ 8511 @LENGTH@ 7
|
||||
------------------INS Operator@@= @TO@ Assignment@@subConf=subset @AT@ 8518 @LENGTH@ 1
|
||||
------------------INS SimpleName@@subset @TO@ Assignment@@subConf=subset @AT@ 8521 @LENGTH@ 6
|
||||
------------INS ExpressionStatement@@PostfixExpression:count++ @TO@ Block@@ThenBody:{ subsetCompositeConfiguration.addConfiguration(subset); subConf=subset; count++;} @AT@ 8545 @LENGTH@ 8
|
||||
---------------INS PostfixExpression@@count++ @TO@ ExpressionStatement@@PostfixExpression:count++ @AT@ 8545 @LENGTH@ 7
|
||||
------------------INS SimpleName@@count @TO@ PostfixExpression@@count++ @AT@ 8545 @LENGTH@ 5
|
||||
------------------INS Operator@@++ @TO@ PostfixExpression@@count++ @AT@ 8551 @LENGTH@ 2
|
||||
---INS ReturnStatement@@ConditionalExpression:(count == 1) ? subConf : subsetCompositeConfiguration @TO@ MethodDeclaration@@public, Configuration, MethodName:subset, String prefix, @AT@ 8586 @LENGTH@ 61
|
||||
------INS ConditionalExpression@@(count == 1) ? subConf : subsetCompositeConfiguration @TO@ ReturnStatement@@ConditionalExpression:(count == 1) ? subConf : subsetCompositeConfiguration @AT@ 8593 @LENGTH@ 53
|
||||
---------INS ParenthesizedExpression@@(count == 1) @TO@ ConditionalExpression@@(count == 1) ? subConf : subsetCompositeConfiguration @AT@ 8593 @LENGTH@ 12
|
||||
------------INS InfixExpression@@count == 1 @TO@ ParenthesizedExpression@@(count == 1) @AT@ 8594 @LENGTH@ 10
|
||||
---------------INS SimpleName@@count @TO@ InfixExpression@@count == 1 @AT@ 8594 @LENGTH@ 5
|
||||
---------------INS Operator@@== @TO@ InfixExpression@@count == 1 @AT@ 8599 @LENGTH@ 2
|
||||
---------------INS NumberLiteral@@1 @TO@ InfixExpression@@count == 1 @AT@ 8603 @LENGTH@ 1
|
||||
---------INS SimpleName@@subConf @TO@ ConditionalExpression@@(count == 1) ? subConf : subsetCompositeConfiguration @AT@ 8608 @LENGTH@ 7
|
||||
---------INS SimpleName@@subsetCompositeConfiguration @TO@ ConditionalExpression@@(count == 1) ? subConf : subsetCompositeConfiguration @AT@ 8618 @LENGTH@ 28
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testClone, @TO@ TypeDeclaration@@[public]TestCaseInsensitiveMap, AbstractTestIterableMap @AT@ 3339 @LENGTH@ 259
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 3339 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 3346 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testClone @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 3351 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@CaseInsensitiveMap map=new CaseInsensitiveMap(10); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 3373 @LENGTH@ 52
|
||||
------INS SimpleType@@CaseInsensitiveMap @TO@ VariableDeclarationStatement@@CaseInsensitiveMap map=new CaseInsensitiveMap(10); @AT@ 3373 @LENGTH@ 18
|
||||
------INS VariableDeclarationFragment@@map=new CaseInsensitiveMap(10) @TO@ VariableDeclarationStatement@@CaseInsensitiveMap map=new CaseInsensitiveMap(10); @AT@ 3392 @LENGTH@ 32
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=new CaseInsensitiveMap(10) @AT@ 3392 @LENGTH@ 3
|
||||
---------INS ClassInstanceCreation@@CaseInsensitiveMap[10] @TO@ VariableDeclarationFragment@@map=new CaseInsensitiveMap(10) @AT@ 3398 @LENGTH@ 26
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@CaseInsensitiveMap[10] @AT@ 3398 @LENGTH@ 3
|
||||
------------INS SimpleType@@CaseInsensitiveMap @TO@ ClassInstanceCreation@@CaseInsensitiveMap[10] @AT@ 3402 @LENGTH@ 18
|
||||
------------INS NumberLiteral@@10 @TO@ ClassInstanceCreation@@CaseInsensitiveMap[10] @AT@ 3421 @LENGTH@ 2
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("1","1") @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 3434 @LENGTH@ 18
|
||||
------INS MethodInvocation@@map.put("1","1") @TO@ ExpressionStatement@@MethodInvocation:map.put("1","1") @AT@ 3434 @LENGTH@ 17
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("1","1") @AT@ 3434 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["1", "1"] @TO@ MethodInvocation@@map.put("1","1") @AT@ 3438 @LENGTH@ 13
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 3442 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 3447 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 3461 @LENGTH@ 31
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 3461 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@cloned=(Map)map.clone() @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 3465 @LENGTH@ 26
|
||||
---------INS SimpleName@@cloned @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 3465 @LENGTH@ 6
|
||||
---------INS CastExpression@@(Map)map.clone() @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 3474 @LENGTH@ 17
|
||||
------------INS SimpleType@@Map @TO@ CastExpression@@(Map)map.clone() @AT@ 3475 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@map.clone() @TO@ CastExpression@@(Map)map.clone() @AT@ 3480 @LENGTH@ 11
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.clone() @AT@ 3480 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:clone:[] @TO@ MethodInvocation@@map.clone() @AT@ 3484 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 3501 @LENGTH@ 40
|
||||
------INS MethodInvocation@@assertEquals(map.size(),cloned.size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @AT@ 3501 @LENGTH@ 39
|
||||
---------INS SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @TO@ MethodInvocation@@assertEquals(map.size(),cloned.size()) @AT@ 3501 @LENGTH@ 39
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 3514 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 3514 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 3518 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@cloned.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 3526 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.size() @AT@ 3526 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@cloned.size() @AT@ 3533 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 3550 @LENGTH@ 42
|
||||
------INS MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @TO@ ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @AT@ 3550 @LENGTH@ 41
|
||||
---------INS SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @TO@ MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @AT@ 3550 @LENGTH@ 41
|
||||
------------INS MethodInvocation@@map.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 3561 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.get("1") @AT@ 3561 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@map.get("1") @AT@ 3565 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 3569 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@cloned.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 3575 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.get("1") @AT@ 3575 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@cloned.get("1") @AT@ 3582 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 3586 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:resetEmpty() @TO@ MethodInvocation:resetFull() @AT@ 32305 @LENGTH@ 13
|
||||
---UPD MethodInvocation@@MethodName:resetEmpty:[] @TO@ MethodName:resetFull:[] @AT@ 32305 @LENGTH@ 12
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound, JspException, @TO@ TypeDeclaration@@[public]AuthorizeTagTests, TestCase @AT@ 1487 @LENGTH@ 309
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound, JspException, @AT@ 1487 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound, JspException, @AT@ 1494 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound @TO@ MethodDeclaration@@public, void, MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound, JspException, @AT@ 1499 @LENGTH@ 42
|
||||
---INS SimpleType@@JspException @TO@ MethodDeclaration@@public, void, MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound, JspException, @AT@ 1559 @LENGTH@ 12
|
||||
---INS ExpressionStatement@@MethodInvocation:context.setAuthentication(null) @TO@ MethodDeclaration@@public, void, MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound, JspException, @AT@ 1582 @LENGTH@ 32
|
||||
------INS MethodInvocation@@context.setAuthentication(null) @TO@ ExpressionStatement@@MethodInvocation:context.setAuthentication(null) @AT@ 1582 @LENGTH@ 31
|
||||
---------INS SimpleName@@Name:context @TO@ MethodInvocation@@context.setAuthentication(null) @AT@ 1582 @LENGTH@ 7
|
||||
---------INS SimpleName@@MethodName:setAuthentication:[null] @TO@ MethodInvocation@@context.setAuthentication(null) @AT@ 1590 @LENGTH@ 23
|
||||
------------INS NullLiteral@@null @TO@ SimpleName@@MethodName:setAuthentication:[null] @AT@ 1608 @LENGTH@ 4
|
||||
---INS ExpressionStatement@@MethodInvocation:authorizeTag.setIfAllGranted("ROLE_TELLER") @TO@ MethodDeclaration@@public, void, MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound, JspException, @AT@ 1624 @LENGTH@ 44
|
||||
------INS MethodInvocation@@authorizeTag.setIfAllGranted("ROLE_TELLER") @TO@ ExpressionStatement@@MethodInvocation:authorizeTag.setIfAllGranted("ROLE_TELLER") @AT@ 1624 @LENGTH@ 43
|
||||
---------INS SimpleName@@Name:authorizeTag @TO@ MethodInvocation@@authorizeTag.setIfAllGranted("ROLE_TELLER") @AT@ 1624 @LENGTH@ 12
|
||||
---------INS SimpleName@@MethodName:setIfAllGranted:["ROLE_TELLER"] @TO@ MethodInvocation@@authorizeTag.setIfAllGranted("ROLE_TELLER") @AT@ 1637 @LENGTH@ 30
|
||||
------------INS StringLiteral@@"ROLE_TELLER" @TO@ SimpleName@@MethodName:setIfAllGranted:["ROLE_TELLER"] @AT@ 1653 @LENGTH@ 13
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("prevents request - no principal in Context",Tag.SKIP_BODY,authorizeTag.doStartTag()) @TO@ MethodDeclaration@@public, void, MethodName:testAlwaysReturnsUnauthorizedIfNoUserFound, JspException, @AT@ 1677 @LENGTH@ 113
|
||||
------INS MethodInvocation@@assertEquals("prevents request - no principal in Context",Tag.SKIP_BODY,authorizeTag.doStartTag()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("prevents request - no principal in Context",Tag.SKIP_BODY,authorizeTag.doStartTag()) @AT@ 1677 @LENGTH@ 112
|
||||
---------INS SimpleName@@MethodName:assertEquals:["prevents request - no principal in Context", Tag.SKIP_BODY, authorizeTag.doStartTag()] @TO@ MethodInvocation@@assertEquals("prevents request - no principal in Context",Tag.SKIP_BODY,authorizeTag.doStartTag()) @AT@ 1677 @LENGTH@ 112
|
||||
------------INS StringLiteral@@"prevents request - no principal in Context" @TO@ SimpleName@@MethodName:assertEquals:["prevents request - no principal in Context", Tag.SKIP_BODY, authorizeTag.doStartTag()] @AT@ 1690 @LENGTH@ 44
|
||||
------------INS QualifiedName@@Tag.SKIP_BODY @TO@ SimpleName@@MethodName:assertEquals:["prevents request - no principal in Context", Tag.SKIP_BODY, authorizeTag.doStartTag()] @AT@ 1748 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Tag @TO@ QualifiedName@@Tag.SKIP_BODY @AT@ 1748 @LENGTH@ 3
|
||||
---------------INS SimpleName@@SKIP_BODY @TO@ QualifiedName@@Tag.SKIP_BODY @AT@ 1752 @LENGTH@ 9
|
||||
------------INS MethodInvocation@@authorizeTag.doStartTag() @TO@ SimpleName@@MethodName:assertEquals:["prevents request - no principal in Context", Tag.SKIP_BODY, authorizeTag.doStartTag()] @AT@ 1763 @LENGTH@ 25
|
||||
---------------INS SimpleName@@Name:authorizeTag @TO@ MethodInvocation@@authorizeTag.doStartTag() @AT@ 1763 @LENGTH@ 12
|
||||
---------------INS SimpleName@@MethodName:doStartTag:[] @TO@ MethodInvocation@@authorizeTag.doStartTag() @AT@ 1776 @LENGTH@ 12
|
||||
|
||||
|
||||
INS MethodDeclaration@@private, voidMethodName:FunctorUtils, @TO@ TypeDeclaration@@FunctorUtils, @AT@ 3390 @LENGTH@ 30
|
||||
---INS Modifier@@private @TO@ MethodDeclaration@@private, voidMethodName:FunctorUtils, @AT@ 3390 @LENGTH@ 7
|
||||
---INS SimpleName@@MethodName:FunctorUtils @TO@ MethodDeclaration@@private, voidMethodName:FunctorUtils, @AT@ 3398 @LENGTH@ 12
|
||||
|
||||
|
||||
INS IfStatement@@if (source.getCanonicalPath().equals(destination.getCanonicalPath())) { String message="Unable to write file " + source + " on itself."; throw new IOException(message);} @TO@ MethodDeclaration@@public, static, void, MethodName:copyFile, File source, File destination, boolean preserveFileDate, IOException, @AT@ 16010 @LENGTH@ 220
|
||||
---INS MethodInvocation@@source.getCanonicalPath().equals(destination.getCanonicalPath()) @TO@ IfStatement@@if (source.getCanonicalPath().equals(destination.getCanonicalPath())) { String message="Unable to write file " + source + " on itself."; throw new IOException(message);} @AT@ 16014 @LENGTH@ 64
|
||||
------INS MethodInvocation@@MethodName:getCanonicalPath:[] @TO@ MethodInvocation@@source.getCanonicalPath().equals(destination.getCanonicalPath()) @AT@ 16014 @LENGTH@ 25
|
||||
------INS SimpleName@@Name:source @TO@ MethodInvocation@@source.getCanonicalPath().equals(destination.getCanonicalPath()) @AT@ 16014 @LENGTH@ 6
|
||||
------INS SimpleName@@MethodName:equals:[destination.getCanonicalPath()] @TO@ MethodInvocation@@source.getCanonicalPath().equals(destination.getCanonicalPath()) @AT@ 16040 @LENGTH@ 38
|
||||
---------INS MethodInvocation@@destination.getCanonicalPath() @TO@ SimpleName@@MethodName:equals:[destination.getCanonicalPath()] @AT@ 16047 @LENGTH@ 30
|
||||
------------INS SimpleName@@Name:destination @TO@ MethodInvocation@@destination.getCanonicalPath() @AT@ 16047 @LENGTH@ 11
|
||||
------------INS SimpleName@@MethodName:getCanonicalPath:[] @TO@ MethodInvocation@@destination.getCanonicalPath() @AT@ 16059 @LENGTH@ 18
|
||||
---INS Block@@ThenBody:{ String message="Unable to write file " + source + " on itself."; throw new IOException(message);} @TO@ IfStatement@@if (source.getCanonicalPath().equals(destination.getCanonicalPath())) { String message="Unable to write file " + source + " on itself."; throw new IOException(message);} @AT@ 16080 @LENGTH@ 150
|
||||
------INS VariableDeclarationStatement@@String message="Unable to write file " + source + " on itself."; @TO@ Block@@ThenBody:{ String message="Unable to write file " + source + " on itself."; throw new IOException(message);} @AT@ 16094 @LENGTH@ 82
|
||||
---------INS SimpleType@@String @TO@ VariableDeclarationStatement@@String message="Unable to write file " + source + " on itself."; @AT@ 16094 @LENGTH@ 6
|
||||
---------INS VariableDeclarationFragment@@message="Unable to write file " + source + " on itself." @TO@ VariableDeclarationStatement@@String message="Unable to write file " + source + " on itself."; @AT@ 16101 @LENGTH@ 74
|
||||
------------INS SimpleName@@message @TO@ VariableDeclarationFragment@@message="Unable to write file " + source + " on itself." @AT@ 16101 @LENGTH@ 7
|
||||
------------INS InfixExpression@@"Unable to write file " + source + " on itself." @TO@ VariableDeclarationFragment@@message="Unable to write file " + source + " on itself." @AT@ 16127 @LENGTH@ 48
|
||||
---------------INS StringLiteral@@"Unable to write file " @TO@ InfixExpression@@"Unable to write file " + source + " on itself." @AT@ 16127 @LENGTH@ 23
|
||||
---------------INS Operator@@+ @TO@ InfixExpression@@"Unable to write file " + source + " on itself." @AT@ 16150 @LENGTH@ 1
|
||||
---------------INS SimpleName@@source @TO@ InfixExpression@@"Unable to write file " + source + " on itself." @AT@ 16153 @LENGTH@ 6
|
||||
---------------INS StringLiteral@@" on itself." @TO@ InfixExpression@@"Unable to write file " + source + " on itself." @AT@ 16162 @LENGTH@ 13
|
||||
------INS ThrowStatement@@ClassInstanceCreation:new IOException(message) @TO@ Block@@ThenBody:{ String message="Unable to write file " + source + " on itself."; throw new IOException(message);} @AT@ 16189 @LENGTH@ 31
|
||||
---------INS ClassInstanceCreation@@IOException[message] @TO@ ThrowStatement@@ClassInstanceCreation:new IOException(message) @AT@ 16195 @LENGTH@ 24
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@IOException[message] @AT@ 16195 @LENGTH@ 3
|
||||
------------INS SimpleType@@IOException @TO@ ClassInstanceCreation@@IOException[message] @AT@ 16199 @LENGTH@ 11
|
||||
------------INS SimpleName@@message @TO@ ClassInstanceCreation@@IOException[message] @AT@ 16211 @LENGTH@ 7
|
||||
|
||||
|
||||
INS ExpressionStatement@@Assignment:conf=config.subset("tables.table.fields.field.name") @TO@ MethodDeclaration@@public, void, MethodName:testSubset, @AT@ 9874 @LENGTH@ 55
|
||||
---INS Assignment@@conf=config.subset("tables.table.fields.field.name") @TO@ ExpressionStatement@@Assignment:conf=config.subset("tables.table.fields.field.name") @AT@ 9874 @LENGTH@ 54
|
||||
------INS SimpleName@@conf @TO@ Assignment@@conf=config.subset("tables.table.fields.field.name") @AT@ 9874 @LENGTH@ 4
|
||||
------INS Operator@@= @TO@ Assignment@@conf=config.subset("tables.table.fields.field.name") @AT@ 9878 @LENGTH@ 1
|
||||
------INS MethodInvocation@@config.subset("tables.table.fields.field.name") @TO@ Assignment@@conf=config.subset("tables.table.fields.field.name") @AT@ 9881 @LENGTH@ 47
|
||||
---------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.subset("tables.table.fields.field.name") @AT@ 9881 @LENGTH@ 6
|
||||
---------INS SimpleName@@MethodName:subset:["tables.table.fields.field.name"] @TO@ MethodInvocation@@config.subset("tables.table.fields.field.name") @AT@ 9888 @LENGTH@ 40
|
||||
------------INS StringLiteral@@"tables.table.fields.field.name" @TO@ SimpleName@@MethodName:subset:["tables.table.fields.field.name"] @AT@ 9895 @LENGTH@ 32
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals("Map must contain old value",true,map.containsValue(newValue)) @TO@ MethodInvocation:assertEquals("Map must contain new value",true,map.containsValue(newValue)) @AT@ 9492 @LENGTH@ 78
|
||||
---UPD MethodInvocation@@assertEquals("Map must contain old value",true,map.containsValue(newValue)) @TO@ assertEquals("Map must contain new value",true,map.containsValue(newValue)) @AT@ 9492 @LENGTH@ 77
|
||||
------UPD SimpleName@@MethodName:assertEquals:["Map must contain old value", true, map.containsValue(newValue)] @TO@ MethodName:assertEquals:["Map must contain new value", true, map.containsValue(newValue)] @AT@ 9492 @LENGTH@ 77
|
||||
---------UPD StringLiteral@@"Map must contain old value" @TO@ "Map must contain new value" @AT@ 9505 @LENGTH@ 28
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:testFullMapCompatibility, IOException, ClassNotFoundException, @TO@ public, void, MethodName:testFullMapCompatibility, Exception, @AT@ 27204 @LENGTH@ 716
|
||||
---UPD SimpleType@@IOException @TO@ Exception @AT@ 27250 @LENGTH@ 11
|
||||
---DEL SimpleType@@ClassNotFoundException @AT@ 27263 @LENGTH@ 22
|
||||
|
||||
|
||||
UPD MethodDeclaration@@protected, voidMethodName:AbstractLinkedMap, int initialCapacity, float loadFactor, int threshhold, @TO@ protected, voidMethodName:AbstractLinkedMap, int initialCapacity, float loadFactor, int threshold, @AT@ 5618 @LENGTH@ 146
|
||||
---UPD SingleVariableDeclaration@@int threshhold @TO@ int threshold @AT@ 5685 @LENGTH@ 14
|
||||
------UPD SimpleName@@threshhold @TO@ threshold @AT@ 5689 @LENGTH@ 10
|
||||
---UPD SuperConstructorInvocation@@super(initialCapacity,loadFactor,threshhold);
|
||||
@TO@ super(initialCapacity,loadFactor,threshold);
|
||||
@AT@ 5711 @LENGTH@ 47
|
||||
------UPD SimpleName@@threshhold @TO@ threshold @AT@ 5746 @LENGTH@ 10
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testClone, @TO@ TypeDeclaration@@[public]TestLinkedMap, AbstractTestOrderedMap @AT@ 7763 @LENGTH@ 241
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7763 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7770 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testClone @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7775 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@LinkedMap map=new LinkedMap(10); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7797 @LENGTH@ 34
|
||||
------INS SimpleType@@LinkedMap @TO@ VariableDeclarationStatement@@LinkedMap map=new LinkedMap(10); @AT@ 7797 @LENGTH@ 9
|
||||
------INS VariableDeclarationFragment@@map=new LinkedMap(10) @TO@ VariableDeclarationStatement@@LinkedMap map=new LinkedMap(10); @AT@ 7807 @LENGTH@ 23
|
||||
---------INS SimpleName@@map @TO@ VariableDeclarationFragment@@map=new LinkedMap(10) @AT@ 7807 @LENGTH@ 3
|
||||
---------INS ClassInstanceCreation@@LinkedMap[10] @TO@ VariableDeclarationFragment@@map=new LinkedMap(10) @AT@ 7813 @LENGTH@ 17
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@LinkedMap[10] @AT@ 7813 @LENGTH@ 3
|
||||
------------INS SimpleType@@LinkedMap @TO@ ClassInstanceCreation@@LinkedMap[10] @AT@ 7817 @LENGTH@ 9
|
||||
------------INS NumberLiteral@@10 @TO@ ClassInstanceCreation@@LinkedMap[10] @AT@ 7827 @LENGTH@ 2
|
||||
---INS ExpressionStatement@@MethodInvocation:map.put("1","1") @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7840 @LENGTH@ 18
|
||||
------INS MethodInvocation@@map.put("1","1") @TO@ ExpressionStatement@@MethodInvocation:map.put("1","1") @AT@ 7840 @LENGTH@ 17
|
||||
---------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("1","1") @AT@ 7840 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:put:["1", "1"] @TO@ MethodInvocation@@map.put("1","1") @AT@ 7844 @LENGTH@ 13
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 7848 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:put:["1", "1"] @AT@ 7853 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7867 @LENGTH@ 31
|
||||
------INS SimpleType@@Map @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 7867 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@cloned=(Map)map.clone() @TO@ VariableDeclarationStatement@@Map cloned=(Map)map.clone(); @AT@ 7871 @LENGTH@ 26
|
||||
---------INS SimpleName@@cloned @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 7871 @LENGTH@ 6
|
||||
---------INS CastExpression@@(Map)map.clone() @TO@ VariableDeclarationFragment@@cloned=(Map)map.clone() @AT@ 7880 @LENGTH@ 17
|
||||
------------INS SimpleType@@Map @TO@ CastExpression@@(Map)map.clone() @AT@ 7881 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@map.clone() @TO@ CastExpression@@(Map)map.clone() @AT@ 7886 @LENGTH@ 11
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.clone() @AT@ 7886 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:clone:[] @TO@ MethodInvocation@@map.clone() @AT@ 7890 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7907 @LENGTH@ 40
|
||||
------INS MethodInvocation@@assertEquals(map.size(),cloned.size()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(map.size(),cloned.size()) @AT@ 7907 @LENGTH@ 39
|
||||
---------INS SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @TO@ MethodInvocation@@assertEquals(map.size(),cloned.size()) @AT@ 7907 @LENGTH@ 39
|
||||
------------INS MethodInvocation@@map.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 7920 @LENGTH@ 10
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.size() @AT@ 7920 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@map.size() @AT@ 7924 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@cloned.size() @TO@ SimpleName@@MethodName:assertEquals:[map.size(), cloned.size()] @AT@ 7932 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.size() @AT@ 7932 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:size:[] @TO@ MethodInvocation@@cloned.size() @AT@ 7939 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @TO@ MethodDeclaration@@public, void, MethodName:testClone, @AT@ 7956 @LENGTH@ 42
|
||||
------INS MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @TO@ ExpressionStatement@@MethodInvocation:assertSame(map.get("1"),cloned.get("1")) @AT@ 7956 @LENGTH@ 41
|
||||
---------INS SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @TO@ MethodInvocation@@assertSame(map.get("1"),cloned.get("1")) @AT@ 7956 @LENGTH@ 41
|
||||
------------INS MethodInvocation@@map.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 7967 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.get("1") @AT@ 7967 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@map.get("1") @AT@ 7971 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 7975 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@cloned.get("1") @TO@ SimpleName@@MethodName:assertSame:[map.get("1"), cloned.get("1")] @AT@ 7981 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:cloned @TO@ MethodInvocation@@cloned.get("1") @AT@ 7981 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:get:["1"] @TO@ MethodInvocation@@cloned.get("1") @AT@ 7988 @LENGTH@ 8
|
||||
------------------INS StringLiteral@@"1" @TO@ SimpleName@@MethodName:get:["1"] @AT@ 7992 @LENGTH@ 3
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:setupDigesterInstance(digester,matchString + "hierarchicalDom4j",new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class),METH_LOAD,additional) @TO@ MethodDeclaration@@protected, void, MethodName:initDigesterSectionRules, Digester digester, String matchString, boolean additional, @AT@ 10994 @LENGTH@ 184
|
||||
---INS MethodInvocation@@setupDigesterInstance(digester,matchString + "hierarchicalDom4j",new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class),METH_LOAD,additional) @TO@ ExpressionStatement@@MethodInvocation:setupDigesterInstance(digester,matchString + "hierarchicalDom4j",new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class),METH_LOAD,additional) @AT@ 10994 @LENGTH@ 183
|
||||
------INS SimpleName@@MethodName:setupDigesterInstance:[digester, matchString + "hierarchicalDom4j", new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class), METH_LOAD, additional] @TO@ MethodInvocation@@setupDigesterInstance(digester,matchString + "hierarchicalDom4j",new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class),METH_LOAD,additional) @AT@ 10994 @LENGTH@ 183
|
||||
---------INS SimpleName@@digester @TO@ SimpleName@@MethodName:setupDigesterInstance:[digester, matchString + "hierarchicalDom4j", new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class), METH_LOAD, additional] @AT@ 11026 @LENGTH@ 8
|
||||
---------INS InfixExpression@@matchString + "hierarchicalDom4j" @TO@ SimpleName@@MethodName:setupDigesterInstance:[digester, matchString + "hierarchicalDom4j", new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class), METH_LOAD, additional] @AT@ 11039 @LENGTH@ 33
|
||||
------------INS SimpleName@@matchString @TO@ InfixExpression@@matchString + "hierarchicalDom4j" @AT@ 11039 @LENGTH@ 11
|
||||
------------INS Operator@@+ @TO@ InfixExpression@@matchString + "hierarchicalDom4j" @AT@ 11050 @LENGTH@ 1
|
||||
------------INS StringLiteral@@"hierarchicalDom4j" @TO@ InfixExpression@@matchString + "hierarchicalDom4j" @AT@ 11053 @LENGTH@ 19
|
||||
---------INS ClassInstanceCreation@@BasePathConfigurationFactory[HierarchicalDOM4JConfiguration.class] @TO@ SimpleName@@MethodName:setupDigesterInstance:[digester, matchString + "hierarchicalDom4j", new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class), METH_LOAD, additional] @AT@ 11077 @LENGTH@ 70
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@BasePathConfigurationFactory[HierarchicalDOM4JConfiguration.class] @AT@ 11077 @LENGTH@ 3
|
||||
------------INS SimpleType@@BasePathConfigurationFactory @TO@ ClassInstanceCreation@@BasePathConfigurationFactory[HierarchicalDOM4JConfiguration.class] @AT@ 11081 @LENGTH@ 28
|
||||
------------INS TypeLiteral@@HierarchicalDOM4JConfiguration.class @TO@ ClassInstanceCreation@@BasePathConfigurationFactory[HierarchicalDOM4JConfiguration.class] @AT@ 11110 @LENGTH@ 36
|
||||
---------INS SimpleName@@METH_LOAD @TO@ SimpleName@@MethodName:setupDigesterInstance:[digester, matchString + "hierarchicalDom4j", new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class), METH_LOAD, additional] @AT@ 11152 @LENGTH@ 9
|
||||
---------INS SimpleName@@additional @TO@ SimpleName@@MethodName:setupDigesterInstance:[digester, matchString + "hierarchicalDom4j", new BasePathConfigurationFactory(HierarchicalDOM4JConfiguration.class), METH_LOAD, additional] @AT@ 11166 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, String[], MethodName:ignoredTests, @TO@ public, boolean, MethodName:isSubMapViewsSerializable, @AT@ 1991 @LENGTH@ 911
|
||||
---INS PrimitiveType@@boolean @TO@ MethodDeclaration@@public, String[], MethodName:ignoredTests, @AT@ 1857 @LENGTH@ 7
|
||||
---DEL ArrayType@@String[] @AT@ 1998 @LENGTH@ 8
|
||||
------DEL SimpleType@@String @AT@ 1998 @LENGTH@ 6
|
||||
---UPD SimpleName@@MethodName:ignoredTests @TO@ MethodName:isSubMapViewsSerializable @AT@ 2007 @LENGTH@ 12
|
||||
---UPD ReturnStatement@@ArrayCreation:new String[]{"TestFixedSizeSortedMap.bulkTestHeadMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestHeadMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestHeadMap.testSerializeDeserializeThenCompare","TestFixedSizeSortedMap.bulkTestTailMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestTailMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestTailMap.testSerializeDeserializeThenCompare","TestFixedSizeSortedMap.bulkTestSubMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestSubMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestSubMap.testSerializeDeserializeThenCompare"} @TO@ BooleanLiteral:false @AT@ 2119 @LENGTH@ 777
|
||||
------INS BooleanLiteral@@false @TO@ ReturnStatement@@ArrayCreation:new String[]{"TestFixedSizeSortedMap.bulkTestHeadMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestHeadMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestHeadMap.testSerializeDeserializeThenCompare","TestFixedSizeSortedMap.bulkTestTailMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestTailMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestTailMap.testSerializeDeserializeThenCompare","TestFixedSizeSortedMap.bulkTestSubMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestSubMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestSubMap.testSerializeDeserializeThenCompare"} @AT@ 1974 @LENGTH@ 5
|
||||
------DEL ArrayCreation@@new String[]{"TestFixedSizeSortedMap.bulkTestHeadMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestHeadMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestHeadMap.testSerializeDeserializeThenCompare","TestFixedSizeSortedMap.bulkTestTailMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestTailMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestTailMap.testSerializeDeserializeThenCompare","TestFixedSizeSortedMap.bulkTestSubMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestSubMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestSubMap.testSerializeDeserializeThenCompare"} @AT@ 2126 @LENGTH@ 769
|
||||
---------DEL ArrayType@@String[] @AT@ 2130 @LENGTH@ 9
|
||||
------------DEL SimpleType@@String @AT@ 2130 @LENGTH@ 6
|
||||
---------DEL ArrayInitializer@@{"TestFixedSizeSortedMap.bulkTestHeadMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestHeadMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestHeadMap.testSerializeDeserializeThenCompare","TestFixedSizeSortedMap.bulkTestTailMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestTailMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestTailMap.testSerializeDeserializeThenCompare","TestFixedSizeSortedMap.bulkTestSubMap.testEmptyMapCompatibility","TestFixedSizeSortedMap.bulkTestSubMap.testFullMapCompatibility","TestFixedSizeSortedMap.bulkTestSubMap.testSerializeDeserializeThenCompare"} @AT@ 2140 @LENGTH@ 755
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestHeadMap.testEmptyMapCompatibility" @AT@ 2154 @LENGTH@ 66
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestHeadMap.testFullMapCompatibility" @AT@ 2234 @LENGTH@ 65
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestHeadMap.testSerializeDeserializeThenCompare" @AT@ 2313 @LENGTH@ 76
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestTailMap.testEmptyMapCompatibility" @AT@ 2403 @LENGTH@ 66
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestTailMap.testFullMapCompatibility" @AT@ 2483 @LENGTH@ 65
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestTailMap.testSerializeDeserializeThenCompare" @AT@ 2562 @LENGTH@ 76
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestSubMap.testEmptyMapCompatibility" @AT@ 2652 @LENGTH@ 65
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestSubMap.testFullMapCompatibility" @AT@ 2731 @LENGTH@ 64
|
||||
------------DEL StringLiteral@@"TestFixedSizeSortedMap.bulkTestSubMap.testSerializeDeserializeThenCompare" @AT@ 2809 @LENGTH@ 75
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@boolean contains=getCount(current) >= ((Bag)other).getCount(current); @TO@ boolean contains=getCount(current) >= other.getCount(current); @AT@ 7086 @LENGTH@ 72
|
||||
---UPD VariableDeclarationFragment@@contains=getCount(current) >= ((Bag)other).getCount(current) @TO@ contains=getCount(current) >= other.getCount(current) @AT@ 7094 @LENGTH@ 63
|
||||
------UPD InfixExpression@@getCount(current) >= ((Bag)other).getCount(current) @TO@ getCount(current) >= other.getCount(current) @AT@ 7105 @LENGTH@ 52
|
||||
---------UPD MethodInvocation@@((Bag)other).getCount(current) @TO@ other.getCount(current) @AT@ 7126 @LENGTH@ 31
|
||||
------------DEL ParenthesizedExpression@@((Bag)other) @AT@ 7126 @LENGTH@ 13
|
||||
---------------DEL CastExpression@@(Bag)other @AT@ 7127 @LENGTH@ 11
|
||||
------------------DEL SimpleType@@Bag @AT@ 7128 @LENGTH@ 3
|
||||
------------------DEL SimpleName@@other @AT@ 7133 @LENGTH@ 5
|
||||
------------INS SimpleName@@Name:other @TO@ MethodInvocation@@((Bag)other).getCount(current) @AT@ 7130 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:lastReturnedIndex=1 @TO@ Assignment:lastReturnedIndex=-1 @AT@ 38418 @LENGTH@ 22
|
||||
---UPD Assignment@@lastReturnedIndex=1 @TO@ lastReturnedIndex=-1 @AT@ 38418 @LENGTH@ 21
|
||||
------INS PrefixExpression@@-1 @TO@ Assignment@@lastReturnedIndex=1 @AT@ 38438 @LENGTH@ 2
|
||||
---------INS Operator@@- @TO@ PrefixExpression@@-1 @AT@ 38438 @LENGTH@ 1
|
||||
---------INS NumberLiteral@@1 @TO@ PrefixExpression@@-1 @AT@ 38439 @LENGTH@ 1
|
||||
------DEL NumberLiteral@@1 @AT@ 38438 @LENGTH@ 1
|
||||
|
||||
|
||||
INS IfStatement@@if (null == currentUser) { return Collections.EMPTY_LIST;} @TO@ MethodDeclaration@@private, Collection, MethodName:getPrincipalAuthorities, @AT@ 3531 @LENGTH@ 79
|
||||
---INS InfixExpression@@null == currentUser @TO@ IfStatement@@if (null == currentUser) { return Collections.EMPTY_LIST;} @AT@ 3535 @LENGTH@ 19
|
||||
------INS NullLiteral@@null @TO@ InfixExpression@@null == currentUser @AT@ 3535 @LENGTH@ 4
|
||||
------INS Operator@@== @TO@ InfixExpression@@null == currentUser @AT@ 3539 @LENGTH@ 2
|
||||
------INS SimpleName@@currentUser @TO@ InfixExpression@@null == currentUser @AT@ 3543 @LENGTH@ 11
|
||||
---INS Block@@ThenBody:{ return Collections.EMPTY_LIST;} @TO@ IfStatement@@if (null == currentUser) { return Collections.EMPTY_LIST;} @AT@ 3556 @LENGTH@ 54
|
||||
------INS ReturnStatement@@QualifiedName:Collections.EMPTY_LIST @TO@ Block@@ThenBody:{ return Collections.EMPTY_LIST;} @AT@ 3570 @LENGTH@ 30
|
||||
---------INS QualifiedName@@Collections.EMPTY_LIST @TO@ ReturnStatement@@QualifiedName:Collections.EMPTY_LIST @AT@ 3577 @LENGTH@ 22
|
||||
------------INS SimpleName@@Collections @TO@ QualifiedName@@Collections.EMPTY_LIST @AT@ 3577 @LENGTH@ 11
|
||||
------------INS SimpleName@@EMPTY_LIST @TO@ QualifiedName@@Collections.EMPTY_LIST @AT@ 3589 @LENGTH@ 10
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,761 @@
|
||||
INS MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @TO@ TypeDeclaration@@[public]TestPropertiesConfiguration, TestCase @AT@ 4926 @LENGTH@ 512
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 4926 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 4933 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testSaveWithBasePath @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 4938 @LENGTH@ 20
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 4968 @LENGTH@ 9
|
||||
---INS IfStatement@@if (testSavePropertiesFile.exists()) { assertTrue(testSavePropertiesFile.delete());} @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 5049 @LENGTH@ 113
|
||||
------INS MethodInvocation@@testSavePropertiesFile.exists() @TO@ IfStatement@@if (testSavePropertiesFile.exists()) { assertTrue(testSavePropertiesFile.delete());} @AT@ 5053 @LENGTH@ 31
|
||||
---------INS SimpleName@@Name:testSavePropertiesFile @TO@ MethodInvocation@@testSavePropertiesFile.exists() @AT@ 5053 @LENGTH@ 22
|
||||
---------INS SimpleName@@MethodName:exists:[] @TO@ MethodInvocation@@testSavePropertiesFile.exists() @AT@ 5076 @LENGTH@ 8
|
||||
------INS Block@@ThenBody:{ assertTrue(testSavePropertiesFile.delete());} @TO@ IfStatement@@if (testSavePropertiesFile.exists()) { assertTrue(testSavePropertiesFile.delete());} @AT@ 5094 @LENGTH@ 68
|
||||
---------INS ExpressionStatement@@MethodInvocation:assertTrue(testSavePropertiesFile.delete()) @TO@ Block@@ThenBody:{ assertTrue(testSavePropertiesFile.delete());} @AT@ 5108 @LENGTH@ 44
|
||||
------------INS MethodInvocation@@assertTrue(testSavePropertiesFile.delete()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue(testSavePropertiesFile.delete()) @AT@ 5108 @LENGTH@ 43
|
||||
---------------INS SimpleName@@MethodName:assertTrue:[testSavePropertiesFile.delete()] @TO@ MethodInvocation@@assertTrue(testSavePropertiesFile.delete()) @AT@ 5108 @LENGTH@ 43
|
||||
------------------INS MethodInvocation@@testSavePropertiesFile.delete() @TO@ SimpleName@@MethodName:assertTrue:[testSavePropertiesFile.delete()] @AT@ 5119 @LENGTH@ 31
|
||||
---------------------INS SimpleName@@Name:testSavePropertiesFile @TO@ MethodInvocation@@testSavePropertiesFile.delete() @AT@ 5119 @LENGTH@ 22
|
||||
---------------------INS SimpleName@@MethodName:delete:[] @TO@ MethodInvocation@@testSavePropertiesFile.delete() @AT@ 5142 @LENGTH@ 8
|
||||
---INS ExpressionStatement@@MethodInvocation:conf.setProperty("test","true") @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 5180 @LENGTH@ 33
|
||||
------INS MethodInvocation@@conf.setProperty("test","true") @TO@ ExpressionStatement@@MethodInvocation:conf.setProperty("test","true") @AT@ 5180 @LENGTH@ 32
|
||||
---------INS SimpleName@@Name:conf @TO@ MethodInvocation@@conf.setProperty("test","true") @AT@ 5180 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:setProperty:["test", "true"] @TO@ MethodInvocation@@conf.setProperty("test","true") @AT@ 5185 @LENGTH@ 27
|
||||
------------INS StringLiteral@@"test" @TO@ SimpleName@@MethodName:setProperty:["test", "true"] @AT@ 5197 @LENGTH@ 6
|
||||
------------INS StringLiteral@@"true" @TO@ SimpleName@@MethodName:setProperty:["test", "true"] @AT@ 5205 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:conf.setBasePath(testSavePropertiesFile.getParentFile().toURL().toString()) @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 5222 @LENGTH@ 76
|
||||
------INS MethodInvocation@@conf.setBasePath(testSavePropertiesFile.getParentFile().toURL().toString()) @TO@ ExpressionStatement@@MethodInvocation:conf.setBasePath(testSavePropertiesFile.getParentFile().toURL().toString()) @AT@ 5222 @LENGTH@ 75
|
||||
---------INS SimpleName@@Name:conf @TO@ MethodInvocation@@conf.setBasePath(testSavePropertiesFile.getParentFile().toURL().toString()) @AT@ 5222 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:setBasePath:[testSavePropertiesFile.getParentFile().toURL().toString()] @TO@ MethodInvocation@@conf.setBasePath(testSavePropertiesFile.getParentFile().toURL().toString()) @AT@ 5227 @LENGTH@ 70
|
||||
------------INS MethodInvocation@@testSavePropertiesFile.getParentFile().toURL().toString() @TO@ SimpleName@@MethodName:setBasePath:[testSavePropertiesFile.getParentFile().toURL().toString()] @AT@ 5239 @LENGTH@ 57
|
||||
---------------INS MethodInvocation@@MethodName:toURL:[] @TO@ MethodInvocation@@testSavePropertiesFile.getParentFile().toURL().toString() @AT@ 5239 @LENGTH@ 46
|
||||
---------------INS MethodInvocation@@MethodName:getParentFile:[] @TO@ MethodInvocation@@testSavePropertiesFile.getParentFile().toURL().toString() @AT@ 5239 @LENGTH@ 38
|
||||
---------------INS SimpleName@@Name:testSavePropertiesFile @TO@ MethodInvocation@@testSavePropertiesFile.getParentFile().toURL().toString() @AT@ 5239 @LENGTH@ 22
|
||||
---------------INS SimpleName@@MethodName:toString:[] @TO@ MethodInvocation@@testSavePropertiesFile.getParentFile().toURL().toString() @AT@ 5286 @LENGTH@ 10
|
||||
---INS ExpressionStatement@@MethodInvocation:conf.setFileName(testSavePropertiesFile.getName()) @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 5307 @LENGTH@ 51
|
||||
------INS MethodInvocation@@conf.setFileName(testSavePropertiesFile.getName()) @TO@ ExpressionStatement@@MethodInvocation:conf.setFileName(testSavePropertiesFile.getName()) @AT@ 5307 @LENGTH@ 50
|
||||
---------INS SimpleName@@Name:conf @TO@ MethodInvocation@@conf.setFileName(testSavePropertiesFile.getName()) @AT@ 5307 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:setFileName:[testSavePropertiesFile.getName()] @TO@ MethodInvocation@@conf.setFileName(testSavePropertiesFile.getName()) @AT@ 5312 @LENGTH@ 45
|
||||
------------INS MethodInvocation@@testSavePropertiesFile.getName() @TO@ SimpleName@@MethodName:setFileName:[testSavePropertiesFile.getName()] @AT@ 5324 @LENGTH@ 32
|
||||
---------------INS SimpleName@@Name:testSavePropertiesFile @TO@ MethodInvocation@@testSavePropertiesFile.getName() @AT@ 5324 @LENGTH@ 22
|
||||
---------------INS SimpleName@@MethodName:getName:[] @TO@ MethodInvocation@@testSavePropertiesFile.getName() @AT@ 5347 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:conf.save() @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 5367 @LENGTH@ 12
|
||||
------INS MethodInvocation@@conf.save() @TO@ ExpressionStatement@@MethodInvocation:conf.save() @AT@ 5367 @LENGTH@ 11
|
||||
---------INS SimpleName@@Name:conf @TO@ MethodInvocation@@conf.save() @AT@ 5367 @LENGTH@ 4
|
||||
---------INS SimpleName@@MethodName:save:[] @TO@ MethodInvocation@@conf.save() @AT@ 5372 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue(testSavePropertiesFile.exists()) @TO@ MethodDeclaration@@public, void, MethodName:testSaveWithBasePath, Exception, @AT@ 5388 @LENGTH@ 44
|
||||
------INS MethodInvocation@@assertTrue(testSavePropertiesFile.exists()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue(testSavePropertiesFile.exists()) @AT@ 5388 @LENGTH@ 43
|
||||
---------INS SimpleName@@MethodName:assertTrue:[testSavePropertiesFile.exists()] @TO@ MethodInvocation@@assertTrue(testSavePropertiesFile.exists()) @AT@ 5388 @LENGTH@ 43
|
||||
------------INS MethodInvocation@@testSavePropertiesFile.exists() @TO@ SimpleName@@MethodName:assertTrue:[testSavePropertiesFile.exists()] @AT@ 5399 @LENGTH@ 31
|
||||
---------------INS SimpleName@@Name:testSavePropertiesFile @TO@ MethodInvocation@@testSavePropertiesFile.exists() @AT@ 5399 @LENGTH@ 22
|
||||
---------------INS SimpleName@@MethodName:exists:[] @TO@ MethodInvocation@@testSavePropertiesFile.exists() @AT@ 5422 @LENGTH@ 8
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:clearTree, String key, @TO@ TypeDeclaration@@[public]XMLConfiguration, HierarchicalConfiguration[FileConfiguration] @AT@ 6589 @LENGTH@ 108
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:clearTree, String key, @AT@ 6589 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:clearTree, String key, @AT@ 6596 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:clearTree @TO@ MethodDeclaration@@public, void, MethodName:clearTree, String key, @AT@ 6601 @LENGTH@ 9
|
||||
---INS SingleVariableDeclaration@@String key @TO@ MethodDeclaration@@public, void, MethodName:clearTree, String key, @AT@ 6611 @LENGTH@ 10
|
||||
------INS SimpleType@@String @TO@ SingleVariableDeclaration@@String key @AT@ 6611 @LENGTH@ 6
|
||||
------INS SimpleName@@key @TO@ SingleVariableDeclaration@@String key @AT@ 6618 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@SuperMethodInvocation:super.clearTree(key) @TO@ MethodDeclaration@@public, void, MethodName:clearTree, String key, @AT@ 6637 @LENGTH@ 21
|
||||
------INS SuperMethodInvocation@@super.clearTree(key) @TO@ ExpressionStatement@@SuperMethodInvocation:super.clearTree(key) @AT@ 6637 @LENGTH@ 20
|
||||
---------INS SimpleName@@MethodName:clearTree:[key] @TO@ SuperMethodInvocation@@super.clearTree(key) @AT@ 6643 @LENGTH@ 9
|
||||
---------INS SimpleName@@key @TO@ SuperMethodInvocation@@super.clearTree(key) @AT@ 6653 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:delegate.possiblySave() @TO@ MethodDeclaration@@public, void, MethodName:clearTree, String key, @AT@ 6667 @LENGTH@ 24
|
||||
------INS MethodInvocation@@delegate.possiblySave() @TO@ ExpressionStatement@@MethodInvocation:delegate.possiblySave() @AT@ 6667 @LENGTH@ 23
|
||||
---------INS SimpleName@@Name:delegate @TO@ MethodInvocation@@delegate.possiblySave() @AT@ 6667 @LENGTH@ 8
|
||||
---------INS SimpleName@@MethodName:possiblySave:[] @TO@ MethodInvocation@@delegate.possiblySave() @AT@ 6676 @LENGTH@ 14
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:map.put("list","value1, value2") @TO@ MethodDeclaration@@protected, AbstractConfiguration, MethodName:getConfiguration, @AT@ 1054 @LENGTH@ 34
|
||||
---INS MethodInvocation@@map.put("list","value1, value2") @TO@ ExpressionStatement@@MethodInvocation:map.put("list","value1, value2") @AT@ 1054 @LENGTH@ 33
|
||||
------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.put("list","value1, value2") @AT@ 1054 @LENGTH@ 3
|
||||
------INS SimpleName@@MethodName:put:["list", "value1, value2"] @TO@ MethodInvocation@@map.put("list","value1, value2") @AT@ 1058 @LENGTH@ 29
|
||||
---------INS StringLiteral@@"list" @TO@ SimpleName@@MethodName:put:["list", "value1, value2"] @AT@ 1062 @LENGTH@ 6
|
||||
---------INS StringLiteral@@"value1, value2" @TO@ SimpleName@@MethodName:put:["list", "value1, value2"] @AT@ 1070 @LENGTH@ 16
|
||||
|
||||
|
||||
UPD ForStatement@@for (Iterator it=newNodes.iterator(); it.hasNext(); ) { Node insertNode=(Node)it.next(); Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); }} @TO@ for (Iterator it=newNodes.iterator(); it.hasNext(); ) { Node insertNode=(Node)it.next(); if (insertNode.getReference() == null) { Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); } }} @AT@ 41504 @LENGTH@ 392
|
||||
---INS IfStatement@@if (insertNode.getReference() == null) { Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); }} @TO@ ForStatement@@for (Iterator it=newNodes.iterator(); it.hasNext(); ) { Node insertNode=(Node)it.next(); Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); }} @AT@ 41598 @LENGTH@ 344
|
||||
------INS InfixExpression@@insertNode.getReference() == null @TO@ IfStatement@@if (insertNode.getReference() == null) { Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); }} @AT@ 41602 @LENGTH@ 33
|
||||
---------INS MethodInvocation@@insertNode.getReference() @TO@ InfixExpression@@insertNode.getReference() == null @AT@ 41602 @LENGTH@ 25
|
||||
------------INS SimpleName@@Name:insertNode @TO@ MethodInvocation@@insertNode.getReference() @AT@ 41602 @LENGTH@ 10
|
||||
------------INS SimpleName@@MethodName:getReference:[] @TO@ MethodInvocation@@insertNode.getReference() @AT@ 41613 @LENGTH@ 14
|
||||
---------INS Operator@@== @TO@ InfixExpression@@insertNode.getReference() == null @AT@ 41627 @LENGTH@ 2
|
||||
---------INS NullLiteral@@null @TO@ InfixExpression@@insertNode.getReference() == null @AT@ 41631 @LENGTH@ 4
|
||||
------INS Block@@ThenBody:{ Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); }} @TO@ IfStatement@@if (insertNode.getReference() == null) { Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); }} @AT@ 41661 @LENGTH@ 281
|
||||
---------MOV VariableDeclarationStatement@@Object ref=insert(insertNode,node,sibling1,sibling2); @TO@ Block@@ThenBody:{ Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); }} @AT@ 41665 @LENGTH@ 58
|
||||
---------MOV IfStatement@@if (ref != null) { insertNode.setReference(ref);} @TO@ Block@@ThenBody:{ Object ref=insert(insertNode,node,sibling1,sibling2); if (ref != null) { insertNode.setReference(ref); }} @AT@ 41748 @LENGTH@ 126
|
||||
|
||||
|
||||
UPD ReturnStatement@@ArrayCreation:new String[][]{{"key1","String",""},{"key2","String",""}} @TO@ ArrayCreation:new String[][]{{"key1","String",""},{"key2","String",""},{"list","String[]",""}} @AT@ 1551 @LENGTH@ 145
|
||||
---UPD ArrayCreation@@new String[][]{{"key1","String",""},{"key2","String",""}} @TO@ new String[][]{{"key1","String",""},{"key2","String",""},{"list","String[]",""}} @AT@ 1558 @LENGTH@ 137
|
||||
------UPD ArrayInitializer@@{{"key1","String",""},{"key2","String",""}} @TO@ {{"key1","String",""},{"key2","String",""},{"list","String[]",""}} @AT@ 1589 @LENGTH@ 106
|
||||
---------INS ArrayInitializer@@{"list","String[]",""} @TO@ ArrayInitializer@@{{"key1","String",""},{"key2","String",""}} @AT@ 1735 @LENGTH@ 24
|
||||
------------INS StringLiteral@@"list" @TO@ ArrayInitializer@@{"list","String[]",""} @AT@ 1736 @LENGTH@ 6
|
||||
------------INS StringLiteral@@"String[]" @TO@ ArrayInitializer@@{"list","String[]",""} @AT@ 1744 @LENGTH@ 10
|
||||
------------INS StringLiteral@@"" @TO@ ArrayInitializer@@{"list","String[]",""} @AT@ 1756 @LENGTH@ 2
|
||||
|
||||
|
||||
INS ReturnStatement@@BooleanLiteral:true @TO@ MethodDeclaration@@public, boolean, MethodName:isRequestedSessionIdValid, @AT@ 8194 @LENGTH@ 12
|
||||
---INS BooleanLiteral@@true @TO@ ReturnStatement@@BooleanLiteral:true @AT@ 8201 @LENGTH@ 4
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @TO@ TypeDeclaration@@[public]IOUtils, @AT@ 15232 @LENGTH@ 232
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15232 @LENGTH@ 6
|
||||
---INS Modifier@@static @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15239 @LENGTH@ 6
|
||||
---INS SimpleType@@InputStream @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15246 @LENGTH@ 11
|
||||
---INS SimpleName@@MethodName:toInputStream @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15258 @LENGTH@ 13
|
||||
---INS SingleVariableDeclaration@@String input @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15272 @LENGTH@ 12
|
||||
------INS SimpleType@@String @TO@ SingleVariableDeclaration@@String input @AT@ 15272 @LENGTH@ 6
|
||||
------INS SimpleName@@input @TO@ SingleVariableDeclaration@@String input @AT@ 15279 @LENGTH@ 5
|
||||
---INS SingleVariableDeclaration@@String encoding @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15286 @LENGTH@ 15
|
||||
------INS SimpleType@@String @TO@ SingleVariableDeclaration@@String encoding @AT@ 15286 @LENGTH@ 6
|
||||
------INS SimpleName@@encoding @TO@ SingleVariableDeclaration@@String encoding @AT@ 15293 @LENGTH@ 8
|
||||
---INS SimpleType@@IOException @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15310 @LENGTH@ 11
|
||||
---INS VariableDeclarationStatement@@byte[] bytes=encoding != null ? input.getBytes(encoding) : input.getBytes(); @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15332 @LENGTH@ 78
|
||||
------INS ArrayType@@byte[] @TO@ VariableDeclarationStatement@@byte[] bytes=encoding != null ? input.getBytes(encoding) : input.getBytes(); @AT@ 15332 @LENGTH@ 6
|
||||
---------INS PrimitiveType@@byte @TO@ ArrayType@@byte[] @AT@ 15332 @LENGTH@ 4
|
||||
------INS VariableDeclarationFragment@@bytes=encoding != null ? input.getBytes(encoding) : input.getBytes() @TO@ VariableDeclarationStatement@@byte[] bytes=encoding != null ? input.getBytes(encoding) : input.getBytes(); @AT@ 15339 @LENGTH@ 70
|
||||
---------INS SimpleName@@bytes @TO@ VariableDeclarationFragment@@bytes=encoding != null ? input.getBytes(encoding) : input.getBytes() @AT@ 15339 @LENGTH@ 5
|
||||
---------INS ConditionalExpression@@encoding != null ? input.getBytes(encoding) : input.getBytes() @TO@ VariableDeclarationFragment@@bytes=encoding != null ? input.getBytes(encoding) : input.getBytes() @AT@ 15347 @LENGTH@ 62
|
||||
------------INS InfixExpression@@encoding != null @TO@ ConditionalExpression@@encoding != null ? input.getBytes(encoding) : input.getBytes() @AT@ 15347 @LENGTH@ 16
|
||||
---------------INS SimpleName@@encoding @TO@ InfixExpression@@encoding != null @AT@ 15347 @LENGTH@ 8
|
||||
---------------INS Operator@@!= @TO@ InfixExpression@@encoding != null @AT@ 15355 @LENGTH@ 2
|
||||
---------------INS NullLiteral@@null @TO@ InfixExpression@@encoding != null @AT@ 15359 @LENGTH@ 4
|
||||
------------INS MethodInvocation@@input.getBytes(encoding) @TO@ ConditionalExpression@@encoding != null ? input.getBytes(encoding) : input.getBytes() @AT@ 15366 @LENGTH@ 24
|
||||
---------------INS SimpleName@@Name:input @TO@ MethodInvocation@@input.getBytes(encoding) @AT@ 15366 @LENGTH@ 5
|
||||
---------------INS SimpleName@@MethodName:getBytes:[encoding] @TO@ MethodInvocation@@input.getBytes(encoding) @AT@ 15372 @LENGTH@ 18
|
||||
------------------INS SimpleName@@encoding @TO@ SimpleName@@MethodName:getBytes:[encoding] @AT@ 15381 @LENGTH@ 8
|
||||
------------INS MethodInvocation@@input.getBytes() @TO@ ConditionalExpression@@encoding != null ? input.getBytes(encoding) : input.getBytes() @AT@ 15393 @LENGTH@ 16
|
||||
---------------INS SimpleName@@Name:input @TO@ MethodInvocation@@input.getBytes() @AT@ 15393 @LENGTH@ 5
|
||||
---------------INS SimpleName@@MethodName:getBytes:[] @TO@ MethodInvocation@@input.getBytes() @AT@ 15399 @LENGTH@ 10
|
||||
---INS ReturnStatement@@ClassInstanceCreation:new ByteArrayInputStream(bytes) @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, String encoding, IOException, @AT@ 15419 @LENGTH@ 39
|
||||
------INS ClassInstanceCreation@@ByteArrayInputStream[bytes] @TO@ ReturnStatement@@ClassInstanceCreation:new ByteArrayInputStream(bytes) @AT@ 15426 @LENGTH@ 31
|
||||
---------INS New@@new @TO@ ClassInstanceCreation@@ByteArrayInputStream[bytes] @AT@ 15426 @LENGTH@ 3
|
||||
---------INS SimpleType@@ByteArrayInputStream @TO@ ClassInstanceCreation@@ByteArrayInputStream[bytes] @AT@ 15430 @LENGTH@ 20
|
||||
---------INS SimpleName@@bytes @TO@ ClassInstanceCreation@@ByteArrayInputStream[bytes] @AT@ 15451 @LENGTH@ 5
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @TO@ TypeDeclaration@@[public]IOUtilsTestCase, FileBasedTestCase @AT@ 8509 @LENGTH@ 573
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8509 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8516 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testStringToInputStream @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8521 @LENGTH@ 23
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8554 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@String str="Abc123Xyz!"; @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8574 @LENGTH@ 26
|
||||
------INS SimpleType@@String @TO@ VariableDeclarationStatement@@String str="Abc123Xyz!"; @AT@ 8574 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@str="Abc123Xyz!" @TO@ VariableDeclarationStatement@@String str="Abc123Xyz!"; @AT@ 8581 @LENGTH@ 18
|
||||
---------INS SimpleName@@str @TO@ VariableDeclarationFragment@@str="Abc123Xyz!" @AT@ 8581 @LENGTH@ 3
|
||||
---------INS StringLiteral@@"Abc123Xyz!" @TO@ VariableDeclarationFragment@@str="Abc123Xyz!" @AT@ 8587 @LENGTH@ 12
|
||||
---INS VariableDeclarationStatement@@InputStream inStream=IOUtils.toInputStream(str); @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8609 @LENGTH@ 50
|
||||
------INS SimpleType@@InputStream @TO@ VariableDeclarationStatement@@InputStream inStream=IOUtils.toInputStream(str); @AT@ 8609 @LENGTH@ 11
|
||||
------INS VariableDeclarationFragment@@inStream=IOUtils.toInputStream(str) @TO@ VariableDeclarationStatement@@InputStream inStream=IOUtils.toInputStream(str); @AT@ 8621 @LENGTH@ 37
|
||||
---------INS SimpleName@@inStream @TO@ VariableDeclarationFragment@@inStream=IOUtils.toInputStream(str) @AT@ 8621 @LENGTH@ 8
|
||||
---------INS MethodInvocation@@IOUtils.toInputStream(str) @TO@ VariableDeclarationFragment@@inStream=IOUtils.toInputStream(str) @AT@ 8632 @LENGTH@ 26
|
||||
------------INS SimpleName@@Name:IOUtils @TO@ MethodInvocation@@IOUtils.toInputStream(str) @AT@ 8632 @LENGTH@ 7
|
||||
------------INS SimpleName@@MethodName:toInputStream:[str] @TO@ MethodInvocation@@IOUtils.toInputStream(str) @AT@ 8640 @LENGTH@ 18
|
||||
---------------INS SimpleName@@str @TO@ SimpleName@@MethodName:toInputStream:[str] @AT@ 8654 @LENGTH@ 3
|
||||
---INS VariableDeclarationStatement@@byte[] bytes=IOUtils.toByteArray(inStream); @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8668 @LENGTH@ 45
|
||||
------INS ArrayType@@byte[] @TO@ VariableDeclarationStatement@@byte[] bytes=IOUtils.toByteArray(inStream); @AT@ 8668 @LENGTH@ 6
|
||||
---------INS PrimitiveType@@byte @TO@ ArrayType@@byte[] @AT@ 8668 @LENGTH@ 4
|
||||
------INS VariableDeclarationFragment@@bytes=IOUtils.toByteArray(inStream) @TO@ VariableDeclarationStatement@@byte[] bytes=IOUtils.toByteArray(inStream); @AT@ 8675 @LENGTH@ 37
|
||||
---------INS SimpleName@@bytes @TO@ VariableDeclarationFragment@@bytes=IOUtils.toByteArray(inStream) @AT@ 8675 @LENGTH@ 5
|
||||
---------INS MethodInvocation@@IOUtils.toByteArray(inStream) @TO@ VariableDeclarationFragment@@bytes=IOUtils.toByteArray(inStream) @AT@ 8683 @LENGTH@ 29
|
||||
------------INS SimpleName@@Name:IOUtils @TO@ MethodInvocation@@IOUtils.toByteArray(inStream) @AT@ 8683 @LENGTH@ 7
|
||||
------------INS SimpleName@@MethodName:toByteArray:[inStream] @TO@ MethodInvocation@@IOUtils.toByteArray(inStream) @AT@ 8691 @LENGTH@ 21
|
||||
---------------INS SimpleName@@inStream @TO@ SimpleName@@MethodName:toByteArray:[inStream] @AT@ 8703 @LENGTH@ 8
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEqualContent(str.getBytes(),bytes) @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8722 @LENGTH@ 42
|
||||
------INS MethodInvocation@@assertEqualContent(str.getBytes(),bytes) @TO@ ExpressionStatement@@MethodInvocation:assertEqualContent(str.getBytes(),bytes) @AT@ 8722 @LENGTH@ 41
|
||||
---------INS SimpleName@@MethodName:assertEqualContent:[str.getBytes(), bytes] @TO@ MethodInvocation@@assertEqualContent(str.getBytes(),bytes) @AT@ 8722 @LENGTH@ 41
|
||||
------------INS MethodInvocation@@str.getBytes() @TO@ SimpleName@@MethodName:assertEqualContent:[str.getBytes(), bytes] @AT@ 8741 @LENGTH@ 14
|
||||
---------------INS SimpleName@@Name:str @TO@ MethodInvocation@@str.getBytes() @AT@ 8741 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:getBytes:[] @TO@ MethodInvocation@@str.getBytes() @AT@ 8745 @LENGTH@ 10
|
||||
------------INS SimpleName@@bytes @TO@ SimpleName@@MethodName:assertEqualContent:[str.getBytes(), bytes] @AT@ 8757 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@Assignment:inStream=IOUtils.toInputStream(str,null) @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8773 @LENGTH@ 44
|
||||
------INS Assignment@@inStream=IOUtils.toInputStream(str,null) @TO@ ExpressionStatement@@Assignment:inStream=IOUtils.toInputStream(str,null) @AT@ 8773 @LENGTH@ 43
|
||||
---------INS SimpleName@@inStream @TO@ Assignment@@inStream=IOUtils.toInputStream(str,null) @AT@ 8773 @LENGTH@ 8
|
||||
---------INS Operator@@= @TO@ Assignment@@inStream=IOUtils.toInputStream(str,null) @AT@ 8781 @LENGTH@ 1
|
||||
---------INS MethodInvocation@@IOUtils.toInputStream(str,null) @TO@ Assignment@@inStream=IOUtils.toInputStream(str,null) @AT@ 8784 @LENGTH@ 32
|
||||
------------INS SimpleName@@Name:IOUtils @TO@ MethodInvocation@@IOUtils.toInputStream(str,null) @AT@ 8784 @LENGTH@ 7
|
||||
------------INS SimpleName@@MethodName:toInputStream:[str, null] @TO@ MethodInvocation@@IOUtils.toInputStream(str,null) @AT@ 8792 @LENGTH@ 24
|
||||
---------------INS SimpleName@@str @TO@ SimpleName@@MethodName:toInputStream:[str, null] @AT@ 8806 @LENGTH@ 3
|
||||
---------------INS NullLiteral@@null @TO@ SimpleName@@MethodName:toInputStream:[str, null] @AT@ 8811 @LENGTH@ 4
|
||||
---INS ExpressionStatement@@Assignment:bytes=IOUtils.toByteArray(inStream) @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8826 @LENGTH@ 38
|
||||
------INS Assignment@@bytes=IOUtils.toByteArray(inStream) @TO@ ExpressionStatement@@Assignment:bytes=IOUtils.toByteArray(inStream) @AT@ 8826 @LENGTH@ 37
|
||||
---------INS SimpleName@@bytes @TO@ Assignment@@bytes=IOUtils.toByteArray(inStream) @AT@ 8826 @LENGTH@ 5
|
||||
---------INS Operator@@= @TO@ Assignment@@bytes=IOUtils.toByteArray(inStream) @AT@ 8831 @LENGTH@ 1
|
||||
---------INS MethodInvocation@@IOUtils.toByteArray(inStream) @TO@ Assignment@@bytes=IOUtils.toByteArray(inStream) @AT@ 8834 @LENGTH@ 29
|
||||
------------INS SimpleName@@Name:IOUtils @TO@ MethodInvocation@@IOUtils.toByteArray(inStream) @AT@ 8834 @LENGTH@ 7
|
||||
------------INS SimpleName@@MethodName:toByteArray:[inStream] @TO@ MethodInvocation@@IOUtils.toByteArray(inStream) @AT@ 8842 @LENGTH@ 21
|
||||
---------------INS SimpleName@@inStream @TO@ SimpleName@@MethodName:toByteArray:[inStream] @AT@ 8854 @LENGTH@ 8
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEqualContent(str.getBytes(),bytes) @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8873 @LENGTH@ 42
|
||||
------INS MethodInvocation@@assertEqualContent(str.getBytes(),bytes) @TO@ ExpressionStatement@@MethodInvocation:assertEqualContent(str.getBytes(),bytes) @AT@ 8873 @LENGTH@ 41
|
||||
---------INS SimpleName@@MethodName:assertEqualContent:[str.getBytes(), bytes] @TO@ MethodInvocation@@assertEqualContent(str.getBytes(),bytes) @AT@ 8873 @LENGTH@ 41
|
||||
------------INS MethodInvocation@@str.getBytes() @TO@ SimpleName@@MethodName:assertEqualContent:[str.getBytes(), bytes] @AT@ 8892 @LENGTH@ 14
|
||||
---------------INS SimpleName@@Name:str @TO@ MethodInvocation@@str.getBytes() @AT@ 8892 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:getBytes:[] @TO@ MethodInvocation@@str.getBytes() @AT@ 8896 @LENGTH@ 10
|
||||
------------INS SimpleName@@bytes @TO@ SimpleName@@MethodName:assertEqualContent:[str.getBytes(), bytes] @AT@ 8908 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@Assignment:inStream=IOUtils.toInputStream(str,"UTF-8") @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8924 @LENGTH@ 47
|
||||
------INS Assignment@@inStream=IOUtils.toInputStream(str,"UTF-8") @TO@ ExpressionStatement@@Assignment:inStream=IOUtils.toInputStream(str,"UTF-8") @AT@ 8924 @LENGTH@ 46
|
||||
---------INS SimpleName@@inStream @TO@ Assignment@@inStream=IOUtils.toInputStream(str,"UTF-8") @AT@ 8924 @LENGTH@ 8
|
||||
---------INS Operator@@= @TO@ Assignment@@inStream=IOUtils.toInputStream(str,"UTF-8") @AT@ 8932 @LENGTH@ 1
|
||||
---------INS MethodInvocation@@IOUtils.toInputStream(str,"UTF-8") @TO@ Assignment@@inStream=IOUtils.toInputStream(str,"UTF-8") @AT@ 8935 @LENGTH@ 35
|
||||
------------INS SimpleName@@Name:IOUtils @TO@ MethodInvocation@@IOUtils.toInputStream(str,"UTF-8") @AT@ 8935 @LENGTH@ 7
|
||||
------------INS SimpleName@@MethodName:toInputStream:[str, "UTF-8"] @TO@ MethodInvocation@@IOUtils.toInputStream(str,"UTF-8") @AT@ 8943 @LENGTH@ 27
|
||||
---------------INS SimpleName@@str @TO@ SimpleName@@MethodName:toInputStream:[str, "UTF-8"] @AT@ 8957 @LENGTH@ 3
|
||||
---------------INS StringLiteral@@"UTF-8" @TO@ SimpleName@@MethodName:toInputStream:[str, "UTF-8"] @AT@ 8962 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@Assignment:bytes=IOUtils.toByteArray(inStream) @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 8980 @LENGTH@ 38
|
||||
------INS Assignment@@bytes=IOUtils.toByteArray(inStream) @TO@ ExpressionStatement@@Assignment:bytes=IOUtils.toByteArray(inStream) @AT@ 8980 @LENGTH@ 37
|
||||
---------INS SimpleName@@bytes @TO@ Assignment@@bytes=IOUtils.toByteArray(inStream) @AT@ 8980 @LENGTH@ 5
|
||||
---------INS Operator@@= @TO@ Assignment@@bytes=IOUtils.toByteArray(inStream) @AT@ 8985 @LENGTH@ 1
|
||||
---------INS MethodInvocation@@IOUtils.toByteArray(inStream) @TO@ Assignment@@bytes=IOUtils.toByteArray(inStream) @AT@ 8988 @LENGTH@ 29
|
||||
------------INS SimpleName@@Name:IOUtils @TO@ MethodInvocation@@IOUtils.toByteArray(inStream) @AT@ 8988 @LENGTH@ 7
|
||||
------------INS SimpleName@@MethodName:toByteArray:[inStream] @TO@ MethodInvocation@@IOUtils.toByteArray(inStream) @AT@ 8996 @LENGTH@ 21
|
||||
---------------INS SimpleName@@inStream @TO@ SimpleName@@MethodName:toByteArray:[inStream] @AT@ 9008 @LENGTH@ 8
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEqualContent(str.getBytes("UTF-8"),bytes) @TO@ MethodDeclaration@@public, void, MethodName:testStringToInputStream, Exception, @AT@ 9027 @LENGTH@ 49
|
||||
------INS MethodInvocation@@assertEqualContent(str.getBytes("UTF-8"),bytes) @TO@ ExpressionStatement@@MethodInvocation:assertEqualContent(str.getBytes("UTF-8"),bytes) @AT@ 9027 @LENGTH@ 48
|
||||
---------INS SimpleName@@MethodName:assertEqualContent:[str.getBytes("UTF-8"), bytes] @TO@ MethodInvocation@@assertEqualContent(str.getBytes("UTF-8"),bytes) @AT@ 9027 @LENGTH@ 48
|
||||
------------INS MethodInvocation@@str.getBytes("UTF-8") @TO@ SimpleName@@MethodName:assertEqualContent:[str.getBytes("UTF-8"), bytes] @AT@ 9046 @LENGTH@ 21
|
||||
---------------INS SimpleName@@Name:str @TO@ MethodInvocation@@str.getBytes("UTF-8") @AT@ 9046 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:getBytes:["UTF-8"] @TO@ MethodInvocation@@str.getBytes("UTF-8") @AT@ 9050 @LENGTH@ 17
|
||||
------------------INS StringLiteral@@"UTF-8" @TO@ SimpleName@@MethodName:getBytes:["UTF-8"] @AT@ 9059 @LENGTH@ 7
|
||||
------------INS SimpleName@@bytes @TO@ SimpleName@@MethodName:assertEqualContent:[str.getBytes("UTF-8"), bytes] @AT@ 9069 @LENGTH@ 5
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:parameters.setProperty("list","value1, value2") @TO@ MethodDeclaration@@protected, AbstractConfiguration, MethodName:getConfiguration, @AT@ 1278 @LENGTH@ 49
|
||||
---INS MethodInvocation@@parameters.setProperty("list","value1, value2") @TO@ ExpressionStatement@@MethodInvocation:parameters.setProperty("list","value1, value2") @AT@ 1278 @LENGTH@ 48
|
||||
------INS SimpleName@@Name:parameters @TO@ MethodInvocation@@parameters.setProperty("list","value1, value2") @AT@ 1278 @LENGTH@ 10
|
||||
------INS SimpleName@@MethodName:setProperty:["list", "value1, value2"] @TO@ MethodInvocation@@parameters.setProperty("list","value1, value2") @AT@ 1289 @LENGTH@ 37
|
||||
---------INS StringLiteral@@"list" @TO@ SimpleName@@MethodName:setProperty:["list", "value1, value2"] @AT@ 1301 @LENGTH@ 6
|
||||
---------INS StringLiteral@@"value1, value2" @TO@ SimpleName@@MethodName:setProperty:["list", "value1, value2"] @AT@ 1309 @LENGTH@ 16
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, synchronized, void, MethodName:write, byte[] b, int off, int len, @TO@ public, void, MethodName:write, byte[] b, int off, int len, @AT@ 1077 @LENGTH@ 89
|
||||
---DEL Modifier@@synchronized @AT@ 1084 @LENGTH@ 12
|
||||
|
||||
|
||||
INS IfStatement@@if (currentIterator == null) { updateCurrentIterator();} @TO@ MethodDeclaration@@public, void, MethodName:remove, @AT@ 9501 @LENGTH@ 78
|
||||
---INS InfixExpression@@currentIterator == null @TO@ IfStatement@@if (currentIterator == null) { updateCurrentIterator();} @AT@ 9505 @LENGTH@ 23
|
||||
------INS SimpleName@@currentIterator @TO@ InfixExpression@@currentIterator == null @AT@ 9505 @LENGTH@ 15
|
||||
------INS Operator@@== @TO@ InfixExpression@@currentIterator == null @AT@ 9520 @LENGTH@ 2
|
||||
------INS NullLiteral@@null @TO@ InfixExpression@@currentIterator == null @AT@ 9524 @LENGTH@ 4
|
||||
---INS Block@@ThenBody:{ updateCurrentIterator();} @TO@ IfStatement@@if (currentIterator == null) { updateCurrentIterator();} @AT@ 9531 @LENGTH@ 48
|
||||
------INS ExpressionStatement@@MethodInvocation:updateCurrentIterator() @TO@ Block@@ThenBody:{ updateCurrentIterator();} @AT@ 9545 @LENGTH@ 24
|
||||
---------MOV MethodInvocation@@MethodName:updateCurrentIterator:[] @TO@ ExpressionStatement@@MethodInvocation:updateCurrentIterator() @AT@ 9522 @LENGTH@ 23
|
||||
|
||||
|
||||
UPD MethodDeclaration@@static, List, MethodName:split, String s, char delimiter, @TO@ public, static, List, MethodName:split, String s, char delimiter, @AT@ 13089 @LENGTH@ 1263
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@static, List, MethodName:split, String s, char delimiter, @AT@ 13067 @LENGTH@ 6
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:iter=get().listIterator(previousIndex()) @TO@ Assignment:iter=get().listIterator(lastReturnedIndex) @AT@ 35245 @LENGTH@ 43
|
||||
---UPD Assignment@@iter=get().listIterator(previousIndex()) @TO@ iter=get().listIterator(lastReturnedIndex) @AT@ 35245 @LENGTH@ 42
|
||||
------UPD MethodInvocation@@get().listIterator(previousIndex()) @TO@ get().listIterator(lastReturnedIndex) @AT@ 35252 @LENGTH@ 35
|
||||
---------UPD SimpleName@@MethodName:listIterator:[previousIndex()] @TO@ MethodName:listIterator:[lastReturnedIndex] @AT@ 35258 @LENGTH@ 29
|
||||
------------INS SimpleName@@lastReturnedIndex @TO@ SimpleName@@MethodName:listIterator:[previousIndex()] @AT@ 35271 @LENGTH@ 17
|
||||
------------DEL MethodInvocation@@MethodName:previousIndex:[] @AT@ 35271 @LENGTH@ 15
|
||||
|
||||
|
||||
UPD TryStatement@@try { Context lc=this.getLookupContext(); if (lc == null) { if (super.logger.isWarnEnabled()) { super.logger.warn("Could not obtain a Context to perform lookup"); } return null; } Object result=lc.lookup("java:comp/env/security/subject"); if (result instanceof Subject) { subject=(Subject)result; }} catch (NamingException ne) { if (super.logger.isWarnEnabled()) { super.logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()); }} @TO@ try { Context lc=this.getLookupContext(); if (lc == null) { if (logger.isWarnEnabled()) { logger.warn("Could not obtain a Context to perform lookup"); } return null; } Object result=lc.lookup("java:comp/env/security/subject"); if (result instanceof Subject) { subject=(Subject)result; }} catch (NamingException ne) { if (logger.isWarnEnabled()) { logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()); }} @AT@ 1778 @LENGTH@ 712
|
||||
---UPD IfStatement@@if (lc == null) { if (super.logger.isWarnEnabled()) { super.logger.warn("Could not obtain a Context to perform lookup"); } return null;} @TO@ if (lc == null) { if (logger.isWarnEnabled()) { logger.warn("Could not obtain a Context to perform lookup"); } return null;} @AT@ 1847 @LENGTH@ 243
|
||||
------UPD Block@@ThenBody:{ if (super.logger.isWarnEnabled()) { super.logger.warn("Could not obtain a Context to perform lookup"); } return null;} @TO@ ThenBody:{ if (logger.isWarnEnabled()) { logger.warn("Could not obtain a Context to perform lookup"); } return null;} @AT@ 1863 @LENGTH@ 227
|
||||
---------UPD IfStatement@@if (super.logger.isWarnEnabled()) { super.logger.warn("Could not obtain a Context to perform lookup");} @TO@ if (logger.isWarnEnabled()) { logger.warn("Could not obtain a Context to perform lookup");} @AT@ 1881 @LENGTH@ 165
|
||||
------------UPD MethodInvocation@@super.logger.isWarnEnabled() @TO@ logger.isWarnEnabled() @AT@ 1885 @LENGTH@ 28
|
||||
---------------DEL SuperFieldAccess@@super.logger @AT@ 1885 @LENGTH@ 12
|
||||
------------------DEL SimpleName@@logger @AT@ 1891 @LENGTH@ 6
|
||||
---------------INS SimpleName@@Name:logger @TO@ MethodInvocation@@super.logger.isWarnEnabled() @AT@ 1885 @LENGTH@ 6
|
||||
------------UPD Block@@ThenBody:{ super.logger.warn("Could not obtain a Context to perform lookup");} @TO@ ThenBody:{ logger.warn("Could not obtain a Context to perform lookup");} @AT@ 1915 @LENGTH@ 131
|
||||
---------------UPD ExpressionStatement@@MethodInvocation:super.logger.warn("Could not obtain a Context to perform lookup") @TO@ MethodInvocation:logger.warn("Could not obtain a Context to perform lookup") @AT@ 1937 @LENGTH@ 91
|
||||
------------------UPD MethodInvocation@@super.logger.warn("Could not obtain a Context to perform lookup") @TO@ logger.warn("Could not obtain a Context to perform lookup") @AT@ 1937 @LENGTH@ 90
|
||||
---------------------INS SimpleName@@Name:logger @TO@ MethodInvocation@@super.logger.warn("Could not obtain a Context to perform lookup") @AT@ 1931 @LENGTH@ 6
|
||||
---------------------DEL SuperFieldAccess@@super.logger @AT@ 1937 @LENGTH@ 12
|
||||
------------------------DEL SimpleName@@logger @AT@ 1943 @LENGTH@ 6
|
||||
---UPD CatchClause@@catch (NamingException ne) { if (super.logger.isWarnEnabled()) { super.logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()); }} @TO@ catch (NamingException ne) { if (logger.isWarnEnabled()) { logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()); }} @AT@ 2279 @LENGTH@ 211
|
||||
------UPD IfStatement@@if (super.logger.isWarnEnabled()) { super.logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage());} @TO@ if (logger.isWarnEnabled()) { logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage());} @AT@ 2320 @LENGTH@ 160
|
||||
---------UPD MethodInvocation@@super.logger.isWarnEnabled() @TO@ logger.isWarnEnabled() @AT@ 2324 @LENGTH@ 28
|
||||
------------INS SimpleName@@Name:logger @TO@ MethodInvocation@@super.logger.isWarnEnabled() @AT@ 2287 @LENGTH@ 6
|
||||
------------DEL SuperFieldAccess@@super.logger @AT@ 2324 @LENGTH@ 12
|
||||
---------------DEL SimpleName@@logger @AT@ 2330 @LENGTH@ 6
|
||||
---------UPD Block@@ThenBody:{ super.logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage());} @TO@ ThenBody:{ logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage());} @AT@ 2354 @LENGTH@ 126
|
||||
------------UPD ExpressionStatement@@MethodInvocation:super.logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()) @TO@ MethodInvocation:logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()) @AT@ 2372 @LENGTH@ 94
|
||||
---------------UPD MethodInvocation@@super.logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()) @TO@ logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()) @AT@ 2372 @LENGTH@ 93
|
||||
------------------INS SimpleName@@Name:logger @TO@ MethodInvocation@@super.logger.warn("Lookup on Subject failed " + ne.getLocalizedMessage()) @AT@ 2329 @LENGTH@ 6
|
||||
------------------DEL SuperFieldAccess@@super.logger @AT@ 2372 @LENGTH@ 12
|
||||
---------------------DEL SimpleName@@logger @AT@ 2378 @LENGTH@ 6
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:config.setInitParameter("list","value1, value2") @TO@ MethodDeclaration@@protected, AbstractConfiguration, MethodName:getConfiguration, @AT@ 1391 @LENGTH@ 50
|
||||
---INS MethodInvocation@@config.setInitParameter("list","value1, value2") @TO@ ExpressionStatement@@MethodInvocation:config.setInitParameter("list","value1, value2") @AT@ 1391 @LENGTH@ 49
|
||||
------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.setInitParameter("list","value1, value2") @AT@ 1391 @LENGTH@ 6
|
||||
------INS SimpleName@@MethodName:setInitParameter:["list", "value1, value2"] @TO@ MethodInvocation@@config.setInitParameter("list","value1, value2") @AT@ 1398 @LENGTH@ 42
|
||||
---------INS StringLiteral@@"list" @TO@ SimpleName@@MethodName:setInitParameter:["list", "value1, value2"] @AT@ 1415 @LENGTH@ 6
|
||||
---------INS StringLiteral@@"value1, value2" @TO@ SimpleName@@MethodName:setInitParameter:["list", "value1, value2"] @AT@ 1423 @LENGTH@ 16
|
||||
|
||||
|
||||
UPD IfStatement@@if (!url.getProtocol().equals("file")) { return null;} else { String filename=url.getFile().replace('/',File.separatorChar); return new File(filename);} @TO@ if (url == null || !url.getProtocol().equals("file")) { return null;} else { String filename=url.getFile().replace('/',File.separatorChar); int pos=0; while ((pos=filename.indexOf('%',pos)) >= 0) { if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3); } } return new File(filename);} @AT@ 11381 @LENGTH@ 225
|
||||
---UPD Block@@ElseBody:{ String filename=url.getFile().replace('/',File.separatorChar); return new File(filename);} @TO@ ElseBody:{ String filename=url.getFile().replace('/',File.separatorChar); int pos=0; while ((pos=filename.indexOf('%',pos)) >= 0) { if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3); } } return new File(filename);} @AT@ 11462 @LENGTH@ 144
|
||||
------INS VariableDeclarationStatement@@int pos=0; @TO@ Block@@ElseBody:{ String filename=url.getFile().replace('/',File.separatorChar); return new File(filename);} @AT@ 11836 @LENGTH@ 11
|
||||
---------INS PrimitiveType@@int @TO@ VariableDeclarationStatement@@int pos=0; @AT@ 11836 @LENGTH@ 3
|
||||
---------INS VariableDeclarationFragment@@pos=0 @TO@ VariableDeclarationStatement@@int pos=0; @AT@ 11840 @LENGTH@ 6
|
||||
------------INS SimpleName@@pos @TO@ VariableDeclarationFragment@@pos=0 @AT@ 11840 @LENGTH@ 3
|
||||
------------INS NumberLiteral@@0 @TO@ VariableDeclarationFragment@@pos=0 @AT@ 11845 @LENGTH@ 1
|
||||
------INS WhileStatement@@while ((pos=filename.indexOf('%',pos)) >= 0) { if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3); }} @TO@ Block@@ElseBody:{ String filename=url.getFile().replace('/',File.separatorChar); return new File(filename);} @AT@ 11860 @LENGTH@ 367
|
||||
---------INS InfixExpression@@(pos=filename.indexOf('%',pos)) >= 0 @TO@ WhileStatement@@while ((pos=filename.indexOf('%',pos)) >= 0) { if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3); }} @AT@ 11867 @LENGTH@ 39
|
||||
------------INS ParenthesizedExpression@@(pos=filename.indexOf('%',pos)) @TO@ InfixExpression@@(pos=filename.indexOf('%',pos)) >= 0 @AT@ 11867 @LENGTH@ 34
|
||||
---------------INS Assignment@@pos=filename.indexOf('%',pos) @TO@ ParenthesizedExpression@@(pos=filename.indexOf('%',pos)) @AT@ 11868 @LENGTH@ 32
|
||||
------------------INS SimpleName@@pos @TO@ Assignment@@pos=filename.indexOf('%',pos) @AT@ 11868 @LENGTH@ 3
|
||||
------------------INS Operator@@= @TO@ Assignment@@pos=filename.indexOf('%',pos) @AT@ 11871 @LENGTH@ 1
|
||||
------------------INS MethodInvocation@@filename.indexOf('%',pos) @TO@ Assignment@@pos=filename.indexOf('%',pos) @AT@ 11874 @LENGTH@ 26
|
||||
---------------------INS SimpleName@@Name:filename @TO@ MethodInvocation@@filename.indexOf('%',pos) @AT@ 11874 @LENGTH@ 8
|
||||
---------------------INS SimpleName@@MethodName:indexOf:['%', pos] @TO@ MethodInvocation@@filename.indexOf('%',pos) @AT@ 11883 @LENGTH@ 17
|
||||
------------------------INS CharacterLiteral@@'%' @TO@ SimpleName@@MethodName:indexOf:['%', pos] @AT@ 11891 @LENGTH@ 3
|
||||
------------------------INS SimpleName@@pos @TO@ SimpleName@@MethodName:indexOf:['%', pos] @AT@ 11896 @LENGTH@ 3
|
||||
------------INS Operator@@>= @TO@ InfixExpression@@(pos=filename.indexOf('%',pos)) >= 0 @AT@ 11901 @LENGTH@ 2
|
||||
------------INS NumberLiteral@@0 @TO@ InfixExpression@@(pos=filename.indexOf('%',pos)) >= 0 @AT@ 11905 @LENGTH@ 1
|
||||
---------INS Block@@WhileBody:{ if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3); }} @TO@ WhileStatement@@while ((pos=filename.indexOf('%',pos)) >= 0) { if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3); }} @AT@ 11908 @LENGTH@ 319
|
||||
------------INS IfStatement@@if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3);} @TO@ Block@@WhileBody:{ if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3); }} @AT@ 11926 @LENGTH@ 287
|
||||
---------------INS InfixExpression@@pos + 2 < filename.length() @TO@ IfStatement@@if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3);} @AT@ 11930 @LENGTH@ 27
|
||||
------------------INS InfixExpression@@pos + 2 @TO@ InfixExpression@@pos + 2 < filename.length() @AT@ 11930 @LENGTH@ 7
|
||||
---------------------INS SimpleName@@pos @TO@ InfixExpression@@pos + 2 @AT@ 11930 @LENGTH@ 3
|
||||
---------------------INS Operator@@+ @TO@ InfixExpression@@pos + 2 @AT@ 11933 @LENGTH@ 1
|
||||
---------------------INS NumberLiteral@@2 @TO@ InfixExpression@@pos + 2 @AT@ 11936 @LENGTH@ 1
|
||||
------------------INS Operator@@< @TO@ InfixExpression@@pos + 2 < filename.length() @AT@ 11937 @LENGTH@ 1
|
||||
------------------INS MethodInvocation@@filename.length() @TO@ InfixExpression@@pos + 2 < filename.length() @AT@ 11940 @LENGTH@ 17
|
||||
---------------------INS SimpleName@@Name:filename @TO@ MethodInvocation@@filename.length() @AT@ 11940 @LENGTH@ 8
|
||||
---------------------INS SimpleName@@MethodName:length:[] @TO@ MethodInvocation@@filename.length() @AT@ 11949 @LENGTH@ 8
|
||||
---------------INS Block@@ThenBody:{ String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3);} @TO@ IfStatement@@if (pos + 2 < filename.length()) { String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3);} @AT@ 11959 @LENGTH@ 254
|
||||
------------------INS VariableDeclarationStatement@@String hexStr=filename.substring(pos + 1,pos + 3); @TO@ Block@@ThenBody:{ String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3);} @AT@ 11981 @LENGTH@ 53
|
||||
---------------------INS SimpleType@@String @TO@ VariableDeclarationStatement@@String hexStr=filename.substring(pos + 1,pos + 3); @AT@ 11981 @LENGTH@ 6
|
||||
---------------------INS VariableDeclarationFragment@@hexStr=filename.substring(pos + 1,pos + 3) @TO@ VariableDeclarationStatement@@String hexStr=filename.substring(pos + 1,pos + 3); @AT@ 11988 @LENGTH@ 45
|
||||
------------------------INS SimpleName@@hexStr @TO@ VariableDeclarationFragment@@hexStr=filename.substring(pos + 1,pos + 3) @AT@ 11988 @LENGTH@ 6
|
||||
------------------------INS MethodInvocation@@filename.substring(pos + 1,pos + 3) @TO@ VariableDeclarationFragment@@hexStr=filename.substring(pos + 1,pos + 3) @AT@ 11997 @LENGTH@ 36
|
||||
---------------------------INS SimpleName@@Name:filename @TO@ MethodInvocation@@filename.substring(pos + 1,pos + 3) @AT@ 11997 @LENGTH@ 8
|
||||
---------------------------INS SimpleName@@MethodName:substring:[pos + 1, pos + 3] @TO@ MethodInvocation@@filename.substring(pos + 1,pos + 3) @AT@ 12006 @LENGTH@ 27
|
||||
------------------------------INS InfixExpression@@pos + 1 @TO@ SimpleName@@MethodName:substring:[pos + 1, pos + 3] @AT@ 12016 @LENGTH@ 7
|
||||
---------------------------------INS SimpleName@@pos @TO@ InfixExpression@@pos + 1 @AT@ 12016 @LENGTH@ 3
|
||||
---------------------------------INS Operator@@+ @TO@ InfixExpression@@pos + 1 @AT@ 12019 @LENGTH@ 1
|
||||
---------------------------------INS NumberLiteral@@1 @TO@ InfixExpression@@pos + 1 @AT@ 12022 @LENGTH@ 1
|
||||
------------------------------INS InfixExpression@@pos + 3 @TO@ SimpleName@@MethodName:substring:[pos + 1, pos + 3] @AT@ 12025 @LENGTH@ 7
|
||||
---------------------------------INS SimpleName@@pos @TO@ InfixExpression@@pos + 3 @AT@ 12025 @LENGTH@ 3
|
||||
---------------------------------INS Operator@@+ @TO@ InfixExpression@@pos + 3 @AT@ 12028 @LENGTH@ 1
|
||||
---------------------------------INS NumberLiteral@@3 @TO@ InfixExpression@@pos + 3 @AT@ 12031 @LENGTH@ 1
|
||||
------------------INS VariableDeclarationStatement@@char ch=(char)Integer.parseInt(hexStr,16); @TO@ Block@@ThenBody:{ String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3);} @AT@ 12055 @LENGTH@ 46
|
||||
---------------------INS PrimitiveType@@char @TO@ VariableDeclarationStatement@@char ch=(char)Integer.parseInt(hexStr,16); @AT@ 12055 @LENGTH@ 4
|
||||
---------------------INS VariableDeclarationFragment@@ch=(char)Integer.parseInt(hexStr,16) @TO@ VariableDeclarationStatement@@char ch=(char)Integer.parseInt(hexStr,16); @AT@ 12060 @LENGTH@ 40
|
||||
------------------------INS SimpleName@@ch @TO@ VariableDeclarationFragment@@ch=(char)Integer.parseInt(hexStr,16) @AT@ 12060 @LENGTH@ 2
|
||||
------------------------INS CastExpression@@(char)Integer.parseInt(hexStr,16) @TO@ VariableDeclarationFragment@@ch=(char)Integer.parseInt(hexStr,16) @AT@ 12065 @LENGTH@ 35
|
||||
---------------------------INS PrimitiveType@@char @TO@ CastExpression@@(char)Integer.parseInt(hexStr,16) @AT@ 12066 @LENGTH@ 4
|
||||
---------------------------INS MethodInvocation@@Integer.parseInt(hexStr,16) @TO@ CastExpression@@(char)Integer.parseInt(hexStr,16) @AT@ 12072 @LENGTH@ 28
|
||||
------------------------------INS SimpleName@@Name:Integer @TO@ MethodInvocation@@Integer.parseInt(hexStr,16) @AT@ 12072 @LENGTH@ 7
|
||||
------------------------------INS SimpleName@@MethodName:parseInt:[hexStr, 16] @TO@ MethodInvocation@@Integer.parseInt(hexStr,16) @AT@ 12080 @LENGTH@ 20
|
||||
---------------------------------INS SimpleName@@hexStr @TO@ SimpleName@@MethodName:parseInt:[hexStr, 16] @AT@ 12089 @LENGTH@ 6
|
||||
---------------------------------INS NumberLiteral@@16 @TO@ SimpleName@@MethodName:parseInt:[hexStr, 16] @AT@ 12097 @LENGTH@ 2
|
||||
------------------INS ExpressionStatement@@Assignment:filename=filename.substring(0,pos) + ch + filename.substring(pos + 3) @TO@ Block@@ThenBody:{ String hexStr=filename.substring(pos + 1,pos + 3); char ch=(char)Integer.parseInt(hexStr,16); filename=filename.substring(0,pos) + ch + filename.substring(pos + 3);} @AT@ 12122 @LENGTH@ 73
|
||||
---------------------INS Assignment@@filename=filename.substring(0,pos) + ch + filename.substring(pos + 3) @TO@ ExpressionStatement@@Assignment:filename=filename.substring(0,pos) + ch + filename.substring(pos + 3) @AT@ 12122 @LENGTH@ 72
|
||||
------------------------INS SimpleName@@filename @TO@ Assignment@@filename=filename.substring(0,pos) + ch + filename.substring(pos + 3) @AT@ 12122 @LENGTH@ 8
|
||||
------------------------INS Operator@@= @TO@ Assignment@@filename=filename.substring(0,pos) + ch + filename.substring(pos + 3) @AT@ 12130 @LENGTH@ 1
|
||||
------------------------INS InfixExpression@@filename.substring(0,pos) + ch + filename.substring(pos + 3) @TO@ Assignment@@filename=filename.substring(0,pos) + ch + filename.substring(pos + 3) @AT@ 12133 @LENGTH@ 61
|
||||
---------------------------INS MethodInvocation@@filename.substring(0,pos) @TO@ InfixExpression@@filename.substring(0,pos) + ch + filename.substring(pos + 3) @AT@ 12133 @LENGTH@ 26
|
||||
------------------------------INS SimpleName@@Name:filename @TO@ MethodInvocation@@filename.substring(0,pos) @AT@ 12133 @LENGTH@ 8
|
||||
------------------------------INS SimpleName@@MethodName:substring:[0, pos] @TO@ MethodInvocation@@filename.substring(0,pos) @AT@ 12142 @LENGTH@ 17
|
||||
---------------------------------INS NumberLiteral@@0 @TO@ SimpleName@@MethodName:substring:[0, pos] @AT@ 12152 @LENGTH@ 1
|
||||
---------------------------------INS SimpleName@@pos @TO@ SimpleName@@MethodName:substring:[0, pos] @AT@ 12155 @LENGTH@ 3
|
||||
---------------------------INS Operator@@+ @TO@ InfixExpression@@filename.substring(0,pos) + ch + filename.substring(pos + 3) @AT@ 12159 @LENGTH@ 1
|
||||
---------------------------INS SimpleName@@ch @TO@ InfixExpression@@filename.substring(0,pos) + ch + filename.substring(pos + 3) @AT@ 12162 @LENGTH@ 2
|
||||
---------------------------INS MethodInvocation@@filename.substring(pos + 3) @TO@ InfixExpression@@filename.substring(0,pos) + ch + filename.substring(pos + 3) @AT@ 12167 @LENGTH@ 27
|
||||
------------------------------INS SimpleName@@Name:filename @TO@ MethodInvocation@@filename.substring(pos + 3) @AT@ 12167 @LENGTH@ 8
|
||||
------------------------------INS SimpleName@@MethodName:substring:[pos + 3] @TO@ MethodInvocation@@filename.substring(pos + 3) @AT@ 12176 @LENGTH@ 18
|
||||
---------------------------------INS InfixExpression@@pos + 3 @TO@ SimpleName@@MethodName:substring:[pos + 3] @AT@ 12186 @LENGTH@ 7
|
||||
------------------------------------INS SimpleName@@pos @TO@ InfixExpression@@pos + 3 @AT@ 12186 @LENGTH@ 3
|
||||
------------------------------------INS Operator@@+ @TO@ InfixExpression@@pos + 3 @AT@ 12189 @LENGTH@ 1
|
||||
------------------------------------INS NumberLiteral@@3 @TO@ InfixExpression@@pos + 3 @AT@ 12192 @LENGTH@ 1
|
||||
---INS InfixExpression@@url == null || !url.getProtocol().equals("file") @TO@ IfStatement@@if (!url.getProtocol().equals("file")) { return null;} else { String filename=url.getFile().replace('/',File.separatorChar); return new File(filename);} @AT@ 11652 @LENGTH@ 48
|
||||
------MOV PrefixExpression@@!url.getProtocol().equals("file") @TO@ InfixExpression@@url == null || !url.getProtocol().equals("file") @AT@ 11385 @LENGTH@ 33
|
||||
------INS InfixExpression@@url == null @TO@ InfixExpression@@url == null || !url.getProtocol().equals("file") @AT@ 11652 @LENGTH@ 11
|
||||
---------INS SimpleName@@url @TO@ InfixExpression@@url == null @AT@ 11652 @LENGTH@ 3
|
||||
---------INS Operator@@== @TO@ InfixExpression@@url == null @AT@ 11655 @LENGTH@ 2
|
||||
---------INS NullLiteral@@null @TO@ InfixExpression@@url == null @AT@ 11659 @LENGTH@ 4
|
||||
------INS Operator@@|| @TO@ InfixExpression@@url == null || !url.getProtocol().equals("file") @AT@ 11663 @LENGTH@ 2
|
||||
|
||||
|
||||
MOV MethodDeclaration@@public, UserDetails, MethodName:getUserFromCache, X509Certificate userCert, @TO@ TypeDeclaration@@[public]EhCacheBasedX509UserCache, [X509UserCache, InitializingBean] @AT@ 1852 @LENGTH@ 624
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:this.removeUserFromCache(userCert) @TO@ MethodInvocation:cache.remove(userCert) @AT@ 3071 @LENGTH@ 35
|
||||
---UPD MethodInvocation@@this.removeUserFromCache(userCert) @TO@ cache.remove(userCert) @AT@ 3071 @LENGTH@ 34
|
||||
------INS SimpleName@@Name:cache @TO@ MethodInvocation@@this.removeUserFromCache(userCert) @AT@ 3071 @LENGTH@ 5
|
||||
------DEL ThisExpression@@this @AT@ 3071 @LENGTH@ 4
|
||||
------UPD SimpleName@@MethodName:removeUserFromCache:[userCert] @TO@ MethodName:remove:[userCert] @AT@ 3076 @LENGTH@ 29
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, static, Map, MethodName:unmodifiableMapCopy, final Map map, @TO@ public, static, Map, MethodName:unmodifiableMapCopy, Map map, @AT@ 45894 @LENGTH@ 249
|
||||
---UPD SingleVariableDeclaration@@final Map map @TO@ Map map @AT@ 45932 @LENGTH@ 13
|
||||
------DEL Modifier@@final @AT@ 45932 @LENGTH@ 5
|
||||
---UPD VariableDeclarationStatement@@final Map copy=new HashMap(map.size(),1.0f); @TO@ Map copy=new HashMap(map.size(),1.0f); @AT@ 46032 @LENGTH@ 47
|
||||
------DEL Modifier@@final @AT@ 46032 @LENGTH@ 5
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:config.setInitParameter("list","value1, value2") @TO@ MethodDeclaration@@protected, AbstractConfiguration, MethodName:getConfiguration, @AT@ 1371 @LENGTH@ 50
|
||||
---INS MethodInvocation@@config.setInitParameter("list","value1, value2") @TO@ ExpressionStatement@@MethodInvocation:config.setInitParameter("list","value1, value2") @AT@ 1371 @LENGTH@ 49
|
||||
------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.setInitParameter("list","value1, value2") @AT@ 1371 @LENGTH@ 6
|
||||
------INS SimpleName@@MethodName:setInitParameter:["list", "value1, value2"] @TO@ MethodInvocation@@config.setInitParameter("list","value1, value2") @AT@ 1378 @LENGTH@ 42
|
||||
---------INS StringLiteral@@"list" @TO@ SimpleName@@MethodName:setInitParameter:["list", "value1, value2"] @AT@ 1395 @LENGTH@ 6
|
||||
---------INS StringLiteral@@"value1, value2" @TO@ SimpleName@@MethodName:setInitParameter:["list", "value1, value2"] @AT@ 1403 @LENGTH@ 16
|
||||
|
||||
|
||||
DEL ThrowStatement@@ClassInstanceCreation:new UnsupportedOperationException("mock method not implemented") @AT@ 8194 @LENGTH@ 71
|
||||
---DEL ClassInstanceCreation@@UnsupportedOperationException["mock method not implemented"] @AT@ 8200 @LENGTH@ 64
|
||||
------DEL New@@new @AT@ 8200 @LENGTH@ 3
|
||||
------DEL SimpleType@@UnsupportedOperationException @AT@ 8204 @LENGTH@ 29
|
||||
------DEL StringLiteral@@"mock method not implemented" @AT@ 8234 @LENGTH@ 29
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:Thread.sleep(500) @TO@ MethodInvocation:Thread.sleep(5000) @AT@ 1731 @LENGTH@ 18
|
||||
---UPD MethodInvocation@@Thread.sleep(500) @TO@ Thread.sleep(5000) @AT@ 1731 @LENGTH@ 17
|
||||
------UPD SimpleName@@MethodName:sleep:[500] @TO@ MethodName:sleep:[5000] @AT@ 1738 @LENGTH@ 10
|
||||
---------UPD NumberLiteral@@500 @TO@ 5000 @AT@ 1744 @LENGTH@ 3
|
||||
|
||||
|
||||
MOV MethodDeclaration@@public, void, MethodName:afterPropertiesSet, Exception, @TO@ TypeDeclaration@@[public]EhCacheBasedX509UserCache, [X509UserCache, InitializingBean] @AT@ 1852 @LENGTH@ 110
|
||||
|
||||
|
||||
DEL VariableDeclarationStatement@@byte[] data=memoryOutputStream.toByteArray(); @AT@ 3811 @LENGTH@ 47
|
||||
---DEL ArrayType@@byte[] @AT@ 3811 @LENGTH@ 6
|
||||
------DEL PrimitiveType@@byte @AT@ 3811 @LENGTH@ 4
|
||||
---DEL VariableDeclarationFragment@@data=memoryOutputStream.toByteArray() @AT@ 3818 @LENGTH@ 39
|
||||
------DEL SimpleName@@data @AT@ 3818 @LENGTH@ 4
|
||||
------DEL MethodInvocation@@memoryOutputStream.toByteArray() @AT@ 3825 @LENGTH@ 32
|
||||
---------DEL SimpleName@@Name:memoryOutputStream @AT@ 3825 @LENGTH@ 18
|
||||
---------DEL SimpleName@@MethodName:toByteArray:[] @AT@ 3844 @LENGTH@ 13
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:fos.write(data) @TO@ MethodInvocation:memoryOutputStream.writeTo(fos) @AT@ 3932 @LENGTH@ 16
|
||||
---UPD MethodInvocation@@fos.write(data) @TO@ memoryOutputStream.writeTo(fos) @AT@ 3932 @LENGTH@ 15
|
||||
------UPD SimpleName@@Name:fos @TO@ Name:memoryOutputStream @AT@ 3932 @LENGTH@ 3
|
||||
------UPD SimpleName@@MethodName:write:[data] @TO@ MethodName:writeTo:[fos] @AT@ 3936 @LENGTH@ 11
|
||||
---------UPD SimpleName@@data @TO@ fos @AT@ 3942 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD IfStatement@@if (children != null) { for (Iterator it=children.values().iterator(); it.hasNext(); ) { nodesRemoved((Collection)it.next()); } children=null;} @TO@ if (children != null) { Iterator it=children.values().iterator(); children=null; while (it.hasNext()) { nodesRemoved((Collection)it.next()); }} @AT@ 29260 @LENGTH@ 256
|
||||
---UPD Block@@ThenBody:{ for (Iterator it=children.values().iterator(); it.hasNext(); ) { nodesRemoved((Collection)it.next()); } children=null;} @TO@ ThenBody:{ Iterator it=children.values().iterator(); children=null; while (it.hasNext()) { nodesRemoved((Collection)it.next()); }} @AT@ 29294 @LENGTH@ 222
|
||||
------INS VariableDeclarationStatement@@Iterator it=children.values().iterator(); @TO@ Block@@ThenBody:{ for (Iterator it=children.values().iterator(); it.hasNext(); ) { nodesRemoved((Collection)it.next()); } children=null;} @AT@ 29252 @LENGTH@ 43
|
||||
---------INS SimpleType@@Iterator @TO@ VariableDeclarationStatement@@Iterator it=children.values().iterator(); @AT@ 29252 @LENGTH@ 8
|
||||
---------MOV VariableDeclarationFragment@@it=children.values().iterator() @TO@ VariableDeclarationStatement@@Iterator it=children.values().iterator(); @AT@ 29326 @LENGTH@ 33
|
||||
------DEL ForStatement@@for (Iterator it=children.values().iterator(); it.hasNext(); ) { nodesRemoved((Collection)it.next());} @AT@ 29312 @LENGTH@ 157
|
||||
---------DEL VariableDeclarationExpression@@Iterator it=children.values().iterator() @AT@ 29317 @LENGTH@ 42
|
||||
------------DEL SimpleType@@Iterator @AT@ 29317 @LENGTH@ 8
|
||||
---------DEL MethodInvocation@@it.hasNext() @AT@ 29361 @LENGTH@ 12
|
||||
------INS WhileStatement@@while (it.hasNext()) { nodesRemoved((Collection)it.next());} @TO@ Block@@ThenBody:{ for (Iterator it=children.values().iterator(); it.hasNext(); ) { nodesRemoved((Collection)it.next()); } children=null;} @AT@ 29345 @LENGTH@ 114
|
||||
---------INS MethodInvocation@@it.hasNext() @TO@ WhileStatement@@while (it.hasNext()) { nodesRemoved((Collection)it.next());} @AT@ 29352 @LENGTH@ 12
|
||||
------------MOV SimpleName@@Name:it @TO@ MethodInvocation@@it.hasNext() @AT@ 29361 @LENGTH@ 2
|
||||
------------MOV SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@it.hasNext() @AT@ 29364 @LENGTH@ 9
|
||||
---------INS Block@@WhileBody:{ nodesRemoved((Collection)it.next());} @TO@ WhileStatement@@while (it.hasNext()) { nodesRemoved((Collection)it.next());} @AT@ 29382 @LENGTH@ 77
|
||||
------------MOV ExpressionStatement@@MethodInvocation:nodesRemoved((Collection)it.next()) @TO@ Block@@WhileBody:{ nodesRemoved((Collection)it.next());} @AT@ 29414 @LENGTH@ 37
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@final MultiValueMap map=new MultiValueMap(new HashMap(),collectionClass); @TO@ final MultiValueMap map=MultiValueMap.decorate(new HashMap(),collectionClass); @AT@ 3368 @LENGTH@ 76
|
||||
---UPD VariableDeclarationFragment@@map=new MultiValueMap(new HashMap(),collectionClass) @TO@ map=MultiValueMap.decorate(new HashMap(),collectionClass) @AT@ 3388 @LENGTH@ 55
|
||||
------INS MethodInvocation@@MultiValueMap.decorate(new HashMap(),collectionClass) @TO@ VariableDeclarationFragment@@map=new MultiValueMap(new HashMap(),collectionClass) @AT@ 3390 @LENGTH@ 54
|
||||
---------INS SimpleName@@Name:MultiValueMap @TO@ MethodInvocation@@MultiValueMap.decorate(new HashMap(),collectionClass) @AT@ 3390 @LENGTH@ 13
|
||||
---------INS SimpleName@@MethodName:decorate:[new HashMap(), collectionClass] @TO@ MethodInvocation@@MultiValueMap.decorate(new HashMap(),collectionClass) @AT@ 3404 @LENGTH@ 40
|
||||
------------INS ClassInstanceCreation@@HashMap[] @TO@ SimpleName@@MethodName:decorate:[new HashMap(), collectionClass] @AT@ 3413 @LENGTH@ 13
|
||||
---------------MOV New@@new @TO@ ClassInstanceCreation@@HashMap[] @AT@ 3412 @LENGTH@ 3
|
||||
---------------MOV SimpleType@@HashMap @TO@ ClassInstanceCreation@@HashMap[] @AT@ 3416 @LENGTH@ 7
|
||||
------------INS SimpleName@@collectionClass @TO@ SimpleName@@MethodName:decorate:[new HashMap(), collectionClass] @AT@ 3428 @LENGTH@ 15
|
||||
------DEL ClassInstanceCreation@@MultiValueMap[new HashMap(), collectionClass] @AT@ 3394 @LENGTH@ 49
|
||||
---------DEL New@@new @AT@ 3394 @LENGTH@ 3
|
||||
---------DEL SimpleType@@MultiValueMap @AT@ 3398 @LENGTH@ 13
|
||||
---------DEL ClassInstanceCreation@@HashMap[] @AT@ 3412 @LENGTH@ 13
|
||||
---------DEL SimpleName@@collectionClass @AT@ 3427 @LENGTH@ 15
|
||||
|
||||
|
||||
UPD Block@@ThenBody:{ logger.debug("X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN());} @TO@ ThenBody:{ String subjectDN="unknown"; if ((userCert != null) && (userCert.getSubjectDN() != null)) { subjectDN=userCert.getSubjectDN().toString(); } logger.debug("X.509 Cache hit. SubjectDN: " + subjectDN);} @AT@ 2338 @LENGTH@ 111
|
||||
---INS VariableDeclarationStatement@@String subjectDN="unknown"; @TO@ Block@@ThenBody:{ logger.debug("X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN());} @AT@ 2267 @LENGTH@ 29
|
||||
------INS SimpleType@@String @TO@ VariableDeclarationStatement@@String subjectDN="unknown"; @AT@ 2267 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@subjectDN="unknown" @TO@ VariableDeclarationStatement@@String subjectDN="unknown"; @AT@ 2274 @LENGTH@ 21
|
||||
---------INS SimpleName@@subjectDN @TO@ VariableDeclarationFragment@@subjectDN="unknown" @AT@ 2274 @LENGTH@ 9
|
||||
---------INS StringLiteral@@"unknown" @TO@ VariableDeclarationFragment@@subjectDN="unknown" @AT@ 2286 @LENGTH@ 9
|
||||
---INS IfStatement@@if ((userCert != null) && (userCert.getSubjectDN() != null)) { subjectDN=userCert.getSubjectDN().toString();} @TO@ Block@@ThenBody:{ logger.debug("X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN());} @AT@ 2310 @LENGTH@ 140
|
||||
------INS InfixExpression@@(userCert != null) && (userCert.getSubjectDN() != null) @TO@ IfStatement@@if ((userCert != null) && (userCert.getSubjectDN() != null)) { subjectDN=userCert.getSubjectDN().toString();} @AT@ 2314 @LENGTH@ 55
|
||||
---------INS ParenthesizedExpression@@(userCert != null) @TO@ InfixExpression@@(userCert != null) && (userCert.getSubjectDN() != null) @AT@ 2314 @LENGTH@ 18
|
||||
------------INS InfixExpression@@userCert != null @TO@ ParenthesizedExpression@@(userCert != null) @AT@ 2315 @LENGTH@ 16
|
||||
---------------INS SimpleName@@userCert @TO@ InfixExpression@@userCert != null @AT@ 2315 @LENGTH@ 8
|
||||
---------------INS Operator@@!= @TO@ InfixExpression@@userCert != null @AT@ 2323 @LENGTH@ 2
|
||||
---------------INS NullLiteral@@null @TO@ InfixExpression@@userCert != null @AT@ 2327 @LENGTH@ 4
|
||||
---------INS Operator@@&& @TO@ InfixExpression@@(userCert != null) && (userCert.getSubjectDN() != null) @AT@ 2332 @LENGTH@ 2
|
||||
---------INS ParenthesizedExpression@@(userCert.getSubjectDN() != null) @TO@ InfixExpression@@(userCert != null) && (userCert.getSubjectDN() != null) @AT@ 2336 @LENGTH@ 33
|
||||
------------INS InfixExpression@@userCert.getSubjectDN() != null @TO@ ParenthesizedExpression@@(userCert.getSubjectDN() != null) @AT@ 2337 @LENGTH@ 31
|
||||
---------------INS MethodInvocation@@userCert.getSubjectDN() @TO@ InfixExpression@@userCert.getSubjectDN() != null @AT@ 2337 @LENGTH@ 23
|
||||
------------------INS SimpleName@@Name:userCert @TO@ MethodInvocation@@userCert.getSubjectDN() @AT@ 2337 @LENGTH@ 8
|
||||
------------------INS SimpleName@@MethodName:getSubjectDN:[] @TO@ MethodInvocation@@userCert.getSubjectDN() @AT@ 2346 @LENGTH@ 14
|
||||
---------------INS Operator@@!= @TO@ InfixExpression@@userCert.getSubjectDN() != null @AT@ 2360 @LENGTH@ 2
|
||||
---------------INS NullLiteral@@null @TO@ InfixExpression@@userCert.getSubjectDN() != null @AT@ 2364 @LENGTH@ 4
|
||||
------INS Block@@ThenBody:{ subjectDN=userCert.getSubjectDN().toString();} @TO@ IfStatement@@if ((userCert != null) && (userCert.getSubjectDN() != null)) { subjectDN=userCert.getSubjectDN().toString();} @AT@ 2371 @LENGTH@ 79
|
||||
---------INS ExpressionStatement@@Assignment:subjectDN=userCert.getSubjectDN().toString() @TO@ Block@@ThenBody:{ subjectDN=userCert.getSubjectDN().toString();} @AT@ 2389 @LENGTH@ 47
|
||||
------------INS Assignment@@subjectDN=userCert.getSubjectDN().toString() @TO@ ExpressionStatement@@Assignment:subjectDN=userCert.getSubjectDN().toString() @AT@ 2389 @LENGTH@ 46
|
||||
---------------INS SimpleName@@subjectDN @TO@ Assignment@@subjectDN=userCert.getSubjectDN().toString() @AT@ 2389 @LENGTH@ 9
|
||||
---------------INS Operator@@= @TO@ Assignment@@subjectDN=userCert.getSubjectDN().toString() @AT@ 2398 @LENGTH@ 1
|
||||
---------------INS MethodInvocation@@userCert.getSubjectDN().toString() @TO@ Assignment@@subjectDN=userCert.getSubjectDN().toString() @AT@ 2401 @LENGTH@ 34
|
||||
------------------INS MethodInvocation@@MethodName:getSubjectDN:[] @TO@ MethodInvocation@@userCert.getSubjectDN().toString() @AT@ 2401 @LENGTH@ 23
|
||||
------------------INS SimpleName@@Name:userCert @TO@ MethodInvocation@@userCert.getSubjectDN().toString() @AT@ 2401 @LENGTH@ 8
|
||||
------------------INS SimpleName@@MethodName:toString:[] @TO@ MethodInvocation@@userCert.getSubjectDN().toString() @AT@ 2425 @LENGTH@ 10
|
||||
---UPD ExpressionStatement@@MethodInvocation:logger.debug("X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN()) @TO@ MethodInvocation:logger.debug("X.509 Cache hit. SubjectDN: " + subjectDN) @AT@ 2352 @LENGTH@ 87
|
||||
------UPD MethodInvocation@@logger.debug("X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN()) @TO@ logger.debug("X.509 Cache hit. SubjectDN: " + subjectDN) @AT@ 2352 @LENGTH@ 86
|
||||
---------UPD SimpleName@@MethodName:debug:["X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN()] @TO@ MethodName:debug:["X.509 Cache hit. SubjectDN: " + subjectDN] @AT@ 2359 @LENGTH@ 79
|
||||
------------UPD InfixExpression@@"X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN() @TO@ "X.509 Cache hit. SubjectDN: " + subjectDN @AT@ 2365 @LENGTH@ 72
|
||||
---------------DEL MethodInvocation@@userCert.getSubjectDN() @AT@ 2414 @LENGTH@ 23
|
||||
------------------DEL SimpleName@@Name:userCert @AT@ 2414 @LENGTH@ 8
|
||||
------------------DEL SimpleName@@MethodName:getSubjectDN:[] @AT@ 2423 @LENGTH@ 14
|
||||
---------------INS SimpleName@@subjectDN @TO@ InfixExpression@@"X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN() @AT@ 2510 @LENGTH@ 9
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @TO@ TypeDeclaration@@[public]TestConfigurationUtils, TestCase @AT@ 6679 @LENGTH@ 732
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 6679 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 6686 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testGetFile @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 6691 @LENGTH@ 11
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 6712 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@File directory=new File("target"); @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 6736 @LENGTH@ 36
|
||||
------INS SimpleType@@File @TO@ VariableDeclarationStatement@@File directory=new File("target"); @AT@ 6736 @LENGTH@ 4
|
||||
------INS VariableDeclarationFragment@@directory=new File("target") @TO@ VariableDeclarationStatement@@File directory=new File("target"); @AT@ 6741 @LENGTH@ 30
|
||||
---------INS SimpleName@@directory @TO@ VariableDeclarationFragment@@directory=new File("target") @AT@ 6741 @LENGTH@ 9
|
||||
---------INS ClassInstanceCreation@@File["target"] @TO@ VariableDeclarationFragment@@directory=new File("target") @AT@ 6753 @LENGTH@ 18
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@File["target"] @AT@ 6753 @LENGTH@ 3
|
||||
------------INS SimpleType@@File @TO@ ClassInstanceCreation@@File["target"] @AT@ 6757 @LENGTH@ 4
|
||||
------------INS StringLiteral@@"target" @TO@ ClassInstanceCreation@@File["target"] @AT@ 6762 @LENGTH@ 8
|
||||
---INS VariableDeclarationStatement@@File reference=new File(directory,"test.txt").getAbsoluteFile(); @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 6781 @LENGTH@ 67
|
||||
------INS SimpleType@@File @TO@ VariableDeclarationStatement@@File reference=new File(directory,"test.txt").getAbsoluteFile(); @AT@ 6781 @LENGTH@ 4
|
||||
------INS VariableDeclarationFragment@@reference=new File(directory,"test.txt").getAbsoluteFile() @TO@ VariableDeclarationStatement@@File reference=new File(directory,"test.txt").getAbsoluteFile(); @AT@ 6786 @LENGTH@ 61
|
||||
---------INS SimpleName@@reference @TO@ VariableDeclarationFragment@@reference=new File(directory,"test.txt").getAbsoluteFile() @AT@ 6786 @LENGTH@ 9
|
||||
---------INS MethodInvocation@@new File(directory,"test.txt").getAbsoluteFile() @TO@ VariableDeclarationFragment@@reference=new File(directory,"test.txt").getAbsoluteFile() @AT@ 6798 @LENGTH@ 49
|
||||
------------INS ClassInstanceCreation@@File[directory, "test.txt"] @TO@ MethodInvocation@@new File(directory,"test.txt").getAbsoluteFile() @AT@ 6798 @LENGTH@ 31
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@File[directory, "test.txt"] @AT@ 6798 @LENGTH@ 3
|
||||
---------------INS SimpleType@@File @TO@ ClassInstanceCreation@@File[directory, "test.txt"] @AT@ 6802 @LENGTH@ 4
|
||||
---------------INS SimpleName@@directory @TO@ ClassInstanceCreation@@File[directory, "test.txt"] @AT@ 6807 @LENGTH@ 9
|
||||
---------------INS StringLiteral@@"test.txt" @TO@ ClassInstanceCreation@@File[directory, "test.txt"] @AT@ 6818 @LENGTH@ 10
|
||||
------------INS SimpleName@@MethodName:getAbsoluteFile:[] @TO@ MethodInvocation@@new File(directory,"test.txt").getAbsoluteFile() @AT@ 6830 @LENGTH@ 17
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile(null,reference.getAbsolutePath())) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 6866 @LENGTH@ 87
|
||||
------INS MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile(null,reference.getAbsolutePath())) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile(null,reference.getAbsolutePath())) @AT@ 6866 @LENGTH@ 86
|
||||
---------INS SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(null,reference.getAbsolutePath())] @TO@ MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile(null,reference.getAbsolutePath())) @AT@ 6866 @LENGTH@ 86
|
||||
------------INS SimpleName@@reference @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(null,reference.getAbsolutePath())] @AT@ 6879 @LENGTH@ 9
|
||||
------------INS MethodInvocation@@ConfigurationUtils.getFile(null,reference.getAbsolutePath()) @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(null,reference.getAbsolutePath())] @AT@ 6890 @LENGTH@ 61
|
||||
---------------INS SimpleName@@Name:ConfigurationUtils @TO@ MethodInvocation@@ConfigurationUtils.getFile(null,reference.getAbsolutePath()) @AT@ 6890 @LENGTH@ 18
|
||||
---------------INS SimpleName@@MethodName:getFile:[null, reference.getAbsolutePath()] @TO@ MethodInvocation@@ConfigurationUtils.getFile(null,reference.getAbsolutePath()) @AT@ 6909 @LENGTH@ 42
|
||||
------------------INS NullLiteral@@null @TO@ SimpleName@@MethodName:getFile:[null, reference.getAbsolutePath()] @AT@ 6917 @LENGTH@ 4
|
||||
------------------INS MethodInvocation@@reference.getAbsolutePath() @TO@ SimpleName@@MethodName:getFile:[null, reference.getAbsolutePath()] @AT@ 6923 @LENGTH@ 27
|
||||
---------------------INS SimpleName@@Name:reference @TO@ MethodInvocation@@reference.getAbsolutePath() @AT@ 6923 @LENGTH@ 9
|
||||
---------------------INS SimpleName@@MethodName:getAbsolutePath:[] @TO@ MethodInvocation@@reference.getAbsolutePath() @AT@ 6933 @LENGTH@ 17
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath())) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 6962 @LENGTH@ 110
|
||||
------INS MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath())) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath())) @AT@ 6962 @LENGTH@ 109
|
||||
---------INS SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath())] @TO@ MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath())) @AT@ 6962 @LENGTH@ 109
|
||||
------------INS SimpleName@@reference @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath())] @AT@ 6975 @LENGTH@ 9
|
||||
------------INS MethodInvocation@@ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath()) @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath())] @AT@ 6986 @LENGTH@ 84
|
||||
---------------INS SimpleName@@Name:ConfigurationUtils @TO@ MethodInvocation@@ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath()) @AT@ 6986 @LENGTH@ 18
|
||||
---------------INS SimpleName@@MethodName:getFile:[directory.getAbsolutePath(), reference.getAbsolutePath()] @TO@ MethodInvocation@@ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getAbsolutePath()) @AT@ 7005 @LENGTH@ 65
|
||||
------------------INS MethodInvocation@@directory.getAbsolutePath() @TO@ SimpleName@@MethodName:getFile:[directory.getAbsolutePath(), reference.getAbsolutePath()] @AT@ 7013 @LENGTH@ 27
|
||||
---------------------INS SimpleName@@Name:directory @TO@ MethodInvocation@@directory.getAbsolutePath() @AT@ 7013 @LENGTH@ 9
|
||||
---------------------INS SimpleName@@MethodName:getAbsolutePath:[] @TO@ MethodInvocation@@directory.getAbsolutePath() @AT@ 7023 @LENGTH@ 17
|
||||
------------------INS MethodInvocation@@reference.getAbsolutePath() @TO@ SimpleName@@MethodName:getFile:[directory.getAbsolutePath(), reference.getAbsolutePath()] @AT@ 7042 @LENGTH@ 27
|
||||
---------------------INS SimpleName@@Name:reference @TO@ MethodInvocation@@reference.getAbsolutePath() @AT@ 7042 @LENGTH@ 9
|
||||
---------------------INS SimpleName@@MethodName:getAbsolutePath:[] @TO@ MethodInvocation@@reference.getAbsolutePath() @AT@ 7052 @LENGTH@ 17
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName())) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 7081 @LENGTH@ 102
|
||||
------INS MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName())) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName())) @AT@ 7081 @LENGTH@ 101
|
||||
---------INS SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName())] @TO@ MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName())) @AT@ 7081 @LENGTH@ 101
|
||||
------------INS SimpleName@@reference @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName())] @AT@ 7094 @LENGTH@ 9
|
||||
------------INS MethodInvocation@@ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName()) @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName())] @AT@ 7105 @LENGTH@ 76
|
||||
---------------INS SimpleName@@Name:ConfigurationUtils @TO@ MethodInvocation@@ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName()) @AT@ 7105 @LENGTH@ 18
|
||||
---------------INS SimpleName@@MethodName:getFile:[directory.getAbsolutePath(), reference.getName()] @TO@ MethodInvocation@@ConfigurationUtils.getFile(directory.getAbsolutePath(),reference.getName()) @AT@ 7124 @LENGTH@ 57
|
||||
------------------INS MethodInvocation@@directory.getAbsolutePath() @TO@ SimpleName@@MethodName:getFile:[directory.getAbsolutePath(), reference.getName()] @AT@ 7132 @LENGTH@ 27
|
||||
---------------------INS SimpleName@@Name:directory @TO@ MethodInvocation@@directory.getAbsolutePath() @AT@ 7132 @LENGTH@ 9
|
||||
---------------------INS SimpleName@@MethodName:getAbsolutePath:[] @TO@ MethodInvocation@@directory.getAbsolutePath() @AT@ 7142 @LENGTH@ 17
|
||||
------------------INS MethodInvocation@@reference.getName() @TO@ SimpleName@@MethodName:getFile:[directory.getAbsolutePath(), reference.getName()] @AT@ 7161 @LENGTH@ 19
|
||||
---------------------INS SimpleName@@Name:reference @TO@ MethodInvocation@@reference.getName() @AT@ 7161 @LENGTH@ 9
|
||||
---------------------INS SimpleName@@MethodName:getName:[] @TO@ MethodInvocation@@reference.getName() @AT@ 7171 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName())) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 7200 @LENGTH@ 103
|
||||
------INS MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName())) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName())) @AT@ 7200 @LENGTH@ 102
|
||||
---------INS SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName())] @TO@ MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName())) @AT@ 7200 @LENGTH@ 102
|
||||
------------INS SimpleName@@reference @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName())] @AT@ 7213 @LENGTH@ 9
|
||||
------------INS MethodInvocation@@ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName()) @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName())] @AT@ 7224 @LENGTH@ 77
|
||||
---------------INS SimpleName@@Name:ConfigurationUtils @TO@ MethodInvocation@@ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName()) @AT@ 7224 @LENGTH@ 18
|
||||
---------------INS SimpleName@@MethodName:getFile:[directory.toURL().toString(), reference.getName()] @TO@ MethodInvocation@@ConfigurationUtils.getFile(directory.toURL().toString(),reference.getName()) @AT@ 7243 @LENGTH@ 58
|
||||
------------------INS MethodInvocation@@directory.toURL().toString() @TO@ SimpleName@@MethodName:getFile:[directory.toURL().toString(), reference.getName()] @AT@ 7251 @LENGTH@ 28
|
||||
---------------------INS MethodInvocation@@MethodName:toURL:[] @TO@ MethodInvocation@@directory.toURL().toString() @AT@ 7251 @LENGTH@ 17
|
||||
---------------------INS SimpleName@@Name:directory @TO@ MethodInvocation@@directory.toURL().toString() @AT@ 7251 @LENGTH@ 9
|
||||
---------------------INS SimpleName@@MethodName:toString:[] @TO@ MethodInvocation@@directory.toURL().toString() @AT@ 7269 @LENGTH@ 10
|
||||
------------------INS MethodInvocation@@reference.getName() @TO@ SimpleName@@MethodName:getFile:[directory.toURL().toString(), reference.getName()] @AT@ 7281 @LENGTH@ 19
|
||||
---------------------INS SimpleName@@Name:reference @TO@ MethodInvocation@@reference.getName() @AT@ 7281 @LENGTH@ 9
|
||||
---------------------INS SimpleName@@MethodName:getName:[] @TO@ MethodInvocation@@reference.getName() @AT@ 7291 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile("invalid",reference.toURL().toString())) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, Exception, @AT@ 7312 @LENGTH@ 93
|
||||
------INS MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile("invalid",reference.toURL().toString())) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(reference,ConfigurationUtils.getFile("invalid",reference.toURL().toString())) @AT@ 7312 @LENGTH@ 92
|
||||
---------INS SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile("invalid",reference.toURL().toString())] @TO@ MethodInvocation@@assertEquals(reference,ConfigurationUtils.getFile("invalid",reference.toURL().toString())) @AT@ 7312 @LENGTH@ 92
|
||||
------------INS SimpleName@@reference @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile("invalid",reference.toURL().toString())] @AT@ 7325 @LENGTH@ 9
|
||||
------------INS MethodInvocation@@ConfigurationUtils.getFile("invalid",reference.toURL().toString()) @TO@ SimpleName@@MethodName:assertEquals:[reference, ConfigurationUtils.getFile("invalid",reference.toURL().toString())] @AT@ 7336 @LENGTH@ 67
|
||||
---------------INS SimpleName@@Name:ConfigurationUtils @TO@ MethodInvocation@@ConfigurationUtils.getFile("invalid",reference.toURL().toString()) @AT@ 7336 @LENGTH@ 18
|
||||
---------------INS SimpleName@@MethodName:getFile:["invalid", reference.toURL().toString()] @TO@ MethodInvocation@@ConfigurationUtils.getFile("invalid",reference.toURL().toString()) @AT@ 7355 @LENGTH@ 48
|
||||
------------------INS StringLiteral@@"invalid" @TO@ SimpleName@@MethodName:getFile:["invalid", reference.toURL().toString()] @AT@ 7363 @LENGTH@ 9
|
||||
------------------INS MethodInvocation@@reference.toURL().toString() @TO@ SimpleName@@MethodName:getFile:["invalid", reference.toURL().toString()] @AT@ 7374 @LENGTH@ 28
|
||||
---------------------INS MethodInvocation@@MethodName:toURL:[] @TO@ MethodInvocation@@reference.toURL().toString() @AT@ 7374 @LENGTH@ 17
|
||||
---------------------INS SimpleName@@Name:reference @TO@ MethodInvocation@@reference.toURL().toString() @AT@ 7374 @LENGTH@ 9
|
||||
---------------------INS SimpleName@@MethodName:toString:[] @TO@ MethodInvocation@@reference.toURL().toString() @AT@ 7392 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD IfStatement@@if (request instanceof HttpServletRequest) { HttpSession httpSession=((HttpServletRequest)request).getSession(); if (httpSession != null) { httpSession.setAttribute(ACEGI_SECURITY_AUTHENTICATION_KEY,authentication); updateOtherLocations(httpSession,authentication); }} @TO@ if (request instanceof HttpServletRequest && ((HttpServletRequest)request).isRequestedSessionIdValid()) { HttpSession httpSession=((HttpServletRequest)request).getSession(); if (httpSession != null) { httpSession.setAttribute(ACEGI_SECURITY_AUTHENTICATION_KEY,authentication); updateOtherLocations(httpSession,authentication); }} @AT@ 3436 @LENGTH@ 371
|
||||
---INS InfixExpression@@request instanceof HttpServletRequest && ((HttpServletRequest)request).isRequestedSessionIdValid() @TO@ IfStatement@@if (request instanceof HttpServletRequest) { HttpSession httpSession=((HttpServletRequest)request).getSession(); if (httpSession != null) { httpSession.setAttribute(ACEGI_SECURITY_AUTHENTICATION_KEY,authentication); updateOtherLocations(httpSession,authentication); }} @AT@ 3440 @LENGTH@ 111
|
||||
------INS InstanceofExpression@@request instanceof HttpServletRequest @TO@ InfixExpression@@request instanceof HttpServletRequest && ((HttpServletRequest)request).isRequestedSessionIdValid() @AT@ 3440 @LENGTH@ 37
|
||||
---------MOV SimpleName@@request @TO@ InstanceofExpression@@request instanceof HttpServletRequest @AT@ 3440 @LENGTH@ 7
|
||||
---------MOV Instanceof@@instanceof @TO@ InstanceofExpression@@request instanceof HttpServletRequest @AT@ 3448 @LENGTH@ 10
|
||||
---------MOV SimpleType@@HttpServletRequest @TO@ InstanceofExpression@@request instanceof HttpServletRequest @AT@ 3459 @LENGTH@ 18
|
||||
------INS Operator@@&& @TO@ InfixExpression@@request instanceof HttpServletRequest && ((HttpServletRequest)request).isRequestedSessionIdValid() @AT@ 3477 @LENGTH@ 2
|
||||
------INS MethodInvocation@@((HttpServletRequest)request).isRequestedSessionIdValid() @TO@ InfixExpression@@request instanceof HttpServletRequest && ((HttpServletRequest)request).isRequestedSessionIdValid() @AT@ 3493 @LENGTH@ 58
|
||||
---------INS ParenthesizedExpression@@((HttpServletRequest)request) @TO@ MethodInvocation@@((HttpServletRequest)request).isRequestedSessionIdValid() @AT@ 3493 @LENGTH@ 30
|
||||
------------INS CastExpression@@(HttpServletRequest)request @TO@ ParenthesizedExpression@@((HttpServletRequest)request) @AT@ 3494 @LENGTH@ 28
|
||||
---------------INS SimpleType@@HttpServletRequest @TO@ CastExpression@@(HttpServletRequest)request @AT@ 3495 @LENGTH@ 18
|
||||
---------------INS SimpleName@@request @TO@ CastExpression@@(HttpServletRequest)request @AT@ 3515 @LENGTH@ 7
|
||||
---------INS SimpleName@@MethodName:isRequestedSessionIdValid:[] @TO@ MethodInvocation@@((HttpServletRequest)request).isRequestedSessionIdValid() @AT@ 3524 @LENGTH@ 27
|
||||
---DEL InstanceofExpression@@request instanceof HttpServletRequest @AT@ 3440 @LENGTH@ 37
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, @TO@ TypeDeclaration@@[public]IOUtils, @AT@ 14601 @LENGTH@ 150
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, @AT@ 14601 @LENGTH@ 6
|
||||
---INS Modifier@@static @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, @AT@ 14608 @LENGTH@ 6
|
||||
---INS SimpleType@@InputStream @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, @AT@ 14615 @LENGTH@ 11
|
||||
---INS SimpleName@@MethodName:toInputStream @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, @AT@ 14627 @LENGTH@ 13
|
||||
---INS SingleVariableDeclaration@@String input @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, @AT@ 14641 @LENGTH@ 12
|
||||
------INS SimpleType@@String @TO@ SingleVariableDeclaration@@String input @AT@ 14641 @LENGTH@ 6
|
||||
------INS SimpleName@@input @TO@ SingleVariableDeclaration@@String input @AT@ 14648 @LENGTH@ 5
|
||||
---INS VariableDeclarationStatement@@byte[] bytes=input.getBytes(); @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, @AT@ 14665 @LENGTH@ 32
|
||||
------INS ArrayType@@byte[] @TO@ VariableDeclarationStatement@@byte[] bytes=input.getBytes(); @AT@ 14665 @LENGTH@ 6
|
||||
---------INS PrimitiveType@@byte @TO@ ArrayType@@byte[] @AT@ 14665 @LENGTH@ 4
|
||||
------INS VariableDeclarationFragment@@bytes=input.getBytes() @TO@ VariableDeclarationStatement@@byte[] bytes=input.getBytes(); @AT@ 14672 @LENGTH@ 24
|
||||
---------INS SimpleName@@bytes @TO@ VariableDeclarationFragment@@bytes=input.getBytes() @AT@ 14672 @LENGTH@ 5
|
||||
---------INS MethodInvocation@@input.getBytes() @TO@ VariableDeclarationFragment@@bytes=input.getBytes() @AT@ 14680 @LENGTH@ 16
|
||||
------------INS SimpleName@@Name:input @TO@ MethodInvocation@@input.getBytes() @AT@ 14680 @LENGTH@ 5
|
||||
------------INS SimpleName@@MethodName:getBytes:[] @TO@ MethodInvocation@@input.getBytes() @AT@ 14686 @LENGTH@ 10
|
||||
---INS ReturnStatement@@ClassInstanceCreation:new ByteArrayInputStream(bytes) @TO@ MethodDeclaration@@public, static, InputStream, MethodName:toInputStream, String input, @AT@ 14706 @LENGTH@ 39
|
||||
------INS ClassInstanceCreation@@ByteArrayInputStream[bytes] @TO@ ReturnStatement@@ClassInstanceCreation:new ByteArrayInputStream(bytes) @AT@ 14713 @LENGTH@ 31
|
||||
---------INS New@@new @TO@ ClassInstanceCreation@@ByteArrayInputStream[bytes] @AT@ 14713 @LENGTH@ 3
|
||||
---------INS SimpleType@@ByteArrayInputStream @TO@ ClassInstanceCreation@@ByteArrayInputStream[bytes] @AT@ 14717 @LENGTH@ 20
|
||||
---------INS SimpleName@@bytes @TO@ ClassInstanceCreation@@ByteArrayInputStream[bytes] @AT@ 14738 @LENGTH@ 5
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testToLong, @TO@ TypeDeclaration@@[public]TestPropertyConverter, TestCase @AT@ 2218 @LENGTH@ 148
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testToLong, @AT@ 2218 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testToLong, @AT@ 2225 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testToLong @TO@ MethodDeclaration@@public, void, MethodName:testToLong, @AT@ 2230 @LENGTH@ 10
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("81008931800 to long",81008931800L,PropertyConverter.toLong("81008931800").longValue()) @TO@ MethodDeclaration@@public, void, MethodName:testToLong, @AT@ 2257 @LENGTH@ 103
|
||||
------INS MethodInvocation@@assertEquals("81008931800 to long",81008931800L,PropertyConverter.toLong("81008931800").longValue()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("81008931800 to long",81008931800L,PropertyConverter.toLong("81008931800").longValue()) @AT@ 2257 @LENGTH@ 102
|
||||
---------INS SimpleName@@MethodName:assertEquals:["81008931800 to long", 81008931800L, PropertyConverter.toLong("81008931800").longValue()] @TO@ MethodInvocation@@assertEquals("81008931800 to long",81008931800L,PropertyConverter.toLong("81008931800").longValue()) @AT@ 2257 @LENGTH@ 102
|
||||
------------INS StringLiteral@@"81008931800 to long" @TO@ SimpleName@@MethodName:assertEquals:["81008931800 to long", 81008931800L, PropertyConverter.toLong("81008931800").longValue()] @AT@ 2270 @LENGTH@ 21
|
||||
------------INS NumberLiteral@@81008931800L @TO@ SimpleName@@MethodName:assertEquals:["81008931800 to long", 81008931800L, PropertyConverter.toLong("81008931800").longValue()] @AT@ 2293 @LENGTH@ 12
|
||||
------------INS MethodInvocation@@PropertyConverter.toLong("81008931800").longValue() @TO@ SimpleName@@MethodName:assertEquals:["81008931800 to long", 81008931800L, PropertyConverter.toLong("81008931800").longValue()] @AT@ 2307 @LENGTH@ 51
|
||||
---------------INS MethodInvocation@@MethodName:toLong:["81008931800"] @TO@ MethodInvocation@@PropertyConverter.toLong("81008931800").longValue() @AT@ 2307 @LENGTH@ 39
|
||||
------------------INS StringLiteral@@"81008931800" @TO@ MethodInvocation@@MethodName:toLong:["81008931800"] @AT@ 2332 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Name:PropertyConverter @TO@ MethodInvocation@@PropertyConverter.toLong("81008931800").longValue() @AT@ 2307 @LENGTH@ 17
|
||||
---------------INS SimpleName@@MethodName:longValue:[] @TO@ MethodInvocation@@PropertyConverter.toLong("81008931800").longValue() @AT@ 2347 @LENGTH@ 11
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:parameters.setProperty("list","value1, value2") @TO@ MethodDeclaration@@protected, AbstractConfiguration, MethodName:getConfiguration, @AT@ 1540 @LENGTH@ 49
|
||||
---INS MethodInvocation@@parameters.setProperty("list","value1, value2") @TO@ ExpressionStatement@@MethodInvocation:parameters.setProperty("list","value1, value2") @AT@ 1540 @LENGTH@ 48
|
||||
------INS SimpleName@@Name:parameters @TO@ MethodInvocation@@parameters.setProperty("list","value1, value2") @AT@ 1540 @LENGTH@ 10
|
||||
------INS SimpleName@@MethodName:setProperty:["list", "value1, value2"] @TO@ MethodInvocation@@parameters.setProperty("list","value1, value2") @AT@ 1551 @LENGTH@ 37
|
||||
---------INS StringLiteral@@"list" @TO@ SimpleName@@MethodName:setProperty:["list", "value1, value2"] @AT@ 1563 @LENGTH@ 6
|
||||
---------INS StringLiteral@@"value1, value2" @TO@ SimpleName@@MethodName:setProperty:["list", "value1, value2"] @AT@ 1571 @LENGTH@ 16
|
||||
|
||||
|
||||
UPD TryStatement@@try { save(ConfigurationUtils.getFile(basePath,fileName));} catch (ConfigurationException e) { throw e;}catch (Exception e) { throw new ConfigurationException(e.getMessage(),e);} @TO@ try { File file=ConfigurationUtils.getFile(basePath,fileName); if (file == null) { throw new ConfigurationException("Invalid file name for save: " + fileName); } save(file);} catch (ConfigurationException e) { throw e;}catch (Exception e) { throw new ConfigurationException(e.getMessage(),e);} @AT@ 8885 @LENGTH@ 317
|
||||
---INS VariableDeclarationStatement@@File file=ConfigurationUtils.getFile(basePath,fileName); @TO@ TryStatement@@try { save(ConfigurationUtils.getFile(basePath,fileName));} catch (ConfigurationException e) { throw e;}catch (Exception e) { throw new ConfigurationException(e.getMessage(),e);} @AT@ 8911 @LENGTH@ 59
|
||||
------INS SimpleType@@File @TO@ VariableDeclarationStatement@@File file=ConfigurationUtils.getFile(basePath,fileName); @AT@ 8911 @LENGTH@ 4
|
||||
------INS VariableDeclarationFragment@@file=ConfigurationUtils.getFile(basePath,fileName) @TO@ VariableDeclarationStatement@@File file=ConfigurationUtils.getFile(basePath,fileName); @AT@ 8916 @LENGTH@ 53
|
||||
---------INS SimpleName@@file @TO@ VariableDeclarationFragment@@file=ConfigurationUtils.getFile(basePath,fileName) @AT@ 8916 @LENGTH@ 4
|
||||
---------MOV MethodInvocation@@ConfigurationUtils.getFile(basePath,fileName) @TO@ VariableDeclarationFragment@@file=ConfigurationUtils.getFile(basePath,fileName) @AT@ 8949 @LENGTH@ 46
|
||||
---UPD ExpressionStatement@@MethodInvocation:save(ConfigurationUtils.getFile(basePath,fileName)) @TO@ MethodInvocation:save(file) @AT@ 8944 @LENGTH@ 53
|
||||
------UPD MethodInvocation@@save(ConfigurationUtils.getFile(basePath,fileName)) @TO@ save(file) @AT@ 8944 @LENGTH@ 52
|
||||
---------UPD SimpleName@@MethodName:save:[ConfigurationUtils.getFile(basePath,fileName)] @TO@ MethodName:save:[file] @AT@ 8944 @LENGTH@ 52
|
||||
------------INS SimpleName@@file @TO@ SimpleName@@MethodName:save:[ConfigurationUtils.getFile(basePath,fileName)] @AT@ 9139 @LENGTH@ 4
|
||||
---INS IfStatement@@if (file == null) { throw new ConfigurationException("Invalid file name for save: " + fileName);} @TO@ TryStatement@@try { save(ConfigurationUtils.getFile(basePath,fileName));} catch (ConfigurationException e) { throw e;}catch (Exception e) { throw new ConfigurationException(e.getMessage(),e);} @AT@ 8983 @LENGTH@ 138
|
||||
------INS InfixExpression@@file == null @TO@ IfStatement@@if (file == null) { throw new ConfigurationException("Invalid file name for save: " + fileName);} @AT@ 8987 @LENGTH@ 12
|
||||
---------INS SimpleName@@file @TO@ InfixExpression@@file == null @AT@ 8987 @LENGTH@ 4
|
||||
---------INS Operator@@== @TO@ InfixExpression@@file == null @AT@ 8991 @LENGTH@ 2
|
||||
---------INS NullLiteral@@null @TO@ InfixExpression@@file == null @AT@ 8995 @LENGTH@ 4
|
||||
------INS Block@@ThenBody:{ throw new ConfigurationException("Invalid file name for save: " + fileName);} @TO@ IfStatement@@if (file == null) { throw new ConfigurationException("Invalid file name for save: " + fileName);} @AT@ 9013 @LENGTH@ 108
|
||||
---------INS ThrowStatement@@ClassInstanceCreation:new ConfigurationException("Invalid file name for save: " + fileName) @TO@ Block@@ThenBody:{ throw new ConfigurationException("Invalid file name for save: " + fileName);} @AT@ 9031 @LENGTH@ 76
|
||||
------------INS ClassInstanceCreation@@ConfigurationException["Invalid file name for save: " + fileName] @TO@ ThrowStatement@@ClassInstanceCreation:new ConfigurationException("Invalid file name for save: " + fileName) @AT@ 9037 @LENGTH@ 69
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@ConfigurationException["Invalid file name for save: " + fileName] @AT@ 9037 @LENGTH@ 3
|
||||
---------------INS SimpleType@@ConfigurationException @TO@ ClassInstanceCreation@@ConfigurationException["Invalid file name for save: " + fileName] @AT@ 9041 @LENGTH@ 22
|
||||
---------------INS InfixExpression@@"Invalid file name for save: " + fileName @TO@ ClassInstanceCreation@@ConfigurationException["Invalid file name for save: " + fileName] @AT@ 9064 @LENGTH@ 41
|
||||
------------------INS StringLiteral@@"Invalid file name for save: " @TO@ InfixExpression@@"Invalid file name for save: " + fileName @AT@ 9064 @LENGTH@ 30
|
||||
------------------INS Operator@@+ @TO@ InfixExpression@@"Invalid file name for save: " + fileName @AT@ 9094 @LENGTH@ 1
|
||||
------------------INS SimpleName@@fileName @TO@ InfixExpression@@"Invalid file name for save: " + fileName @AT@ 9097 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD IfStatement@@if (getIncludesAllowed() && url != null) { String[] files=StringUtils.split(value,getDelimiter()); for (int i=0; i < files.length; i++) { load(ConfigurationUtils.locate(getBasePath(),files[i].trim())); }} @TO@ if (getIncludesAllowed()) { String[] files=StringUtils.split(value,getDelimiter()); for (int i=0; i < files.length; i++) { load(ConfigurationUtils.locate(getBasePath(),files[i].trim())); }} @AT@ 9394 @LENGTH@ 404
|
||||
---DEL InfixExpression@@getIncludesAllowed() && url != null @AT@ 9398 @LENGTH@ 35
|
||||
------DEL MethodInvocation@@MethodName:getIncludesAllowed:[] @AT@ 9398 @LENGTH@ 20
|
||||
------DEL Operator@@&& @AT@ 9418 @LENGTH@ 2
|
||||
------DEL InfixExpression@@url != null @AT@ 9422 @LENGTH@ 11
|
||||
---------DEL SimpleName@@url @AT@ 9422 @LENGTH@ 3
|
||||
---------DEL Operator@@!= @AT@ 9425 @LENGTH@ 2
|
||||
---------DEL NullLiteral@@null @AT@ 9429 @LENGTH@ 4
|
||||
---INS MethodInvocation@@MethodName:getIncludesAllowed:[] @TO@ IfStatement@@if (getIncludesAllowed() && url != null) { String[] files=StringUtils.split(value,getDelimiter()); for (int i=0; i < files.length; i++) { load(ConfigurationUtils.locate(getBasePath(),files[i].trim())); }} @AT@ 9398 @LENGTH@ 20
|
||||
|
||||
|
||||
UPD ForStatement@@for (Iterator iter=mappedClasses.iterator(); iter.hasNext(); ) { this.validationRegistryManager.findValidator((Class)iter.next());} @TO@ for (Iterator iter=mappedClasses.iterator(); iter.hasNext(); ) { String className=(String)iter.next(); this.validationRegistryManager.findValidator(Class.forName(className));} @AT@ 3351 @LENGTH@ 154
|
||||
---UPD ExpressionStatement@@MethodInvocation:this.validationRegistryManager.findValidator((Class)iter.next()) @TO@ MethodInvocation:this.validationRegistryManager.findValidator(Class.forName(className)) @AT@ 3429 @LENGTH@ 66
|
||||
------UPD MethodInvocation@@this.validationRegistryManager.findValidator((Class)iter.next()) @TO@ this.validationRegistryManager.findValidator(Class.forName(className)) @AT@ 3429 @LENGTH@ 65
|
||||
---------UPD SimpleName@@MethodName:findValidator:[(Class)iter.next()] @TO@ MethodName:findValidator:[Class.forName(className)] @AT@ 3460 @LENGTH@ 34
|
||||
------------DEL CastExpression@@(Class)iter.next() @AT@ 3474 @LENGTH@ 19
|
||||
---------------DEL SimpleType@@Class @AT@ 3475 @LENGTH@ 5
|
||||
---------------DEL MethodInvocation@@iter.next() @AT@ 3482 @LENGTH@ 11
|
||||
------------INS MethodInvocation@@Class.forName(className) @TO@ SimpleName@@MethodName:findValidator:[(Class)iter.next()] @AT@ 3527 @LENGTH@ 45
|
||||
---------------MOV SimpleName@@Name:iter @TO@ MethodInvocation@@Class.forName(className) @AT@ 3482 @LENGTH@ 4
|
||||
---------------MOV SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@Class.forName(className) @AT@ 3487 @LENGTH@ 6
|
||||
------------------INS SimpleName@@className @TO@ SimpleName@@MethodName:next:[] @AT@ 3562 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@String className=(String)iter.next(); @TO@ ForStatement@@for (Iterator iter=mappedClasses.iterator(); iter.hasNext(); ) { this.validationRegistryManager.findValidator((Class)iter.next());} @AT@ 3429 @LENGTH@ 40
|
||||
------INS SimpleType@@String @TO@ VariableDeclarationStatement@@String className=(String)iter.next(); @AT@ 3429 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@className=(String)iter.next() @TO@ VariableDeclarationStatement@@String className=(String)iter.next(); @AT@ 3436 @LENGTH@ 32
|
||||
---------INS SimpleName@@className @TO@ VariableDeclarationFragment@@className=(String)iter.next() @AT@ 3436 @LENGTH@ 9
|
||||
---------INS CastExpression@@(String)iter.next() @TO@ VariableDeclarationFragment@@className=(String)iter.next() @AT@ 3448 @LENGTH@ 20
|
||||
------------INS SimpleType@@String @TO@ CastExpression@@(String)iter.next() @AT@ 3449 @LENGTH@ 6
|
||||
------------INS MethodInvocation@@iter.next() @TO@ CastExpression@@(String)iter.next() @AT@ 3457 @LENGTH@ 11
|
||||
---------------INS SimpleName@@Name:iter @TO@ MethodInvocation@@iter.next() @AT@ 3457 @LENGTH@ 4
|
||||
---------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@iter.next() @AT@ 3462 @LENGTH@ 6
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, synchronized, void, MethodName:write, int b, @TO@ public, void, MethodName:write, int b, @AT@ 1232 @LENGTH@ 68
|
||||
---DEL Modifier@@synchronized @AT@ 1239 @LENGTH@ 12
|
||||
|
||||
|
||||
INS IfStatement@@if (map.isEmpty()) { return map;} @TO@ MethodDeclaration@@protected, Map, MethodName:transformMap, Map map, @AT@ 5235 @LENGTH@ 54
|
||||
---INS MethodInvocation@@map.isEmpty() @TO@ IfStatement@@if (map.isEmpty()) { return map;} @AT@ 5239 @LENGTH@ 13
|
||||
------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.isEmpty() @AT@ 5239 @LENGTH@ 3
|
||||
------INS SimpleName@@MethodName:isEmpty:[] @TO@ MethodInvocation@@map.isEmpty() @AT@ 5243 @LENGTH@ 9
|
||||
---INS Block@@ThenBody:{ return map;} @TO@ IfStatement@@if (map.isEmpty()) { return map;} @AT@ 5254 @LENGTH@ 35
|
||||
------INS ReturnStatement@@SimpleName:map @TO@ Block@@ThenBody:{ return map;} @AT@ 5268 @LENGTH@ 11
|
||||
---------INS SimpleName@@map @TO@ ReturnStatement@@SimpleName:map @AT@ 5275 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD IfStatement@@if (url != null) { File result=fileFromURL(url); if (result != null) { return result; }} @TO@ if (url != null) { return fileFromURL(url);} @AT@ 12579 @LENGTH@ 171
|
||||
---DEL Block@@ThenBody:{ File result=fileFromURL(url); if (result != null) { return result; }} @AT@ 12604 @LENGTH@ 146
|
||||
------DEL VariableDeclarationStatement@@File result=fileFromURL(url); @AT@ 12618 @LENGTH@ 31
|
||||
---------DEL SimpleType@@File @AT@ 12618 @LENGTH@ 4
|
||||
---------DEL VariableDeclarationFragment@@result=fileFromURL(url) @AT@ 12623 @LENGTH@ 25
|
||||
------------DEL SimpleName@@result @AT@ 12623 @LENGTH@ 6
|
||||
------DEL IfStatement@@if (result != null) { return result;} @AT@ 12662 @LENGTH@ 78
|
||||
---------DEL InfixExpression@@result != null @AT@ 12666 @LENGTH@ 14
|
||||
------------DEL SimpleName@@result @AT@ 12666 @LENGTH@ 6
|
||||
------------DEL Operator@@!= @AT@ 12672 @LENGTH@ 2
|
||||
------------DEL NullLiteral@@null @AT@ 12676 @LENGTH@ 4
|
||||
---MOV Block@@ThenBody:{ return result;} @TO@ IfStatement@@if (url != null) { File result=fileFromURL(url); if (result != null) { return result; }} @AT@ 12694 @LENGTH@ 46
|
||||
------UPD ReturnStatement@@SimpleName:result @TO@ MethodInvocation:fileFromURL(url) @AT@ 12712 @LENGTH@ 14
|
||||
---------MOV MethodInvocation@@fileFromURL(url) @TO@ ReturnStatement@@SimpleName:result @AT@ 12632 @LENGTH@ 16
|
||||
---------DEL SimpleName@@result @AT@ 12719 @LENGTH@ 6
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testGetApplicationContext, Exception, @TO@ TypeDeclaration@@[public]JaasAuthenticationProviderTests, TestCase @AT@ 8019 @LENGTH@ 125
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testGetApplicationContext, Exception, @AT@ 8019 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testGetApplicationContext, Exception, @AT@ 8026 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testGetApplicationContext @TO@ MethodDeclaration@@public, void, MethodName:testGetApplicationContext, Exception, @AT@ 8031 @LENGTH@ 25
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testGetApplicationContext, Exception, @AT@ 8066 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:assertNotNull(jaasProvider.getApplicationContext()) @TO@ MethodDeclaration@@public, void, MethodName:testGetApplicationContext, Exception, @AT@ 8086 @LENGTH@ 52
|
||||
------INS MethodInvocation@@assertNotNull(jaasProvider.getApplicationContext()) @TO@ ExpressionStatement@@MethodInvocation:assertNotNull(jaasProvider.getApplicationContext()) @AT@ 8086 @LENGTH@ 51
|
||||
---------INS SimpleName@@MethodName:assertNotNull:[jaasProvider.getApplicationContext()] @TO@ MethodInvocation@@assertNotNull(jaasProvider.getApplicationContext()) @AT@ 8086 @LENGTH@ 51
|
||||
------------INS MethodInvocation@@jaasProvider.getApplicationContext() @TO@ SimpleName@@MethodName:assertNotNull:[jaasProvider.getApplicationContext()] @AT@ 8100 @LENGTH@ 36
|
||||
---------------INS SimpleName@@Name:jaasProvider @TO@ MethodInvocation@@jaasProvider.getApplicationContext() @AT@ 8100 @LENGTH@ 12
|
||||
---------------INS SimpleName@@MethodName:getApplicationContext:[] @TO@ MethodInvocation@@jaasProvider.getApplicationContext() @AT@ 8113 @LENGTH@ 23
|
||||
@@ -0,0 +1,546 @@
|
||||
INS MethodDeclaration@@public, void, MethodName:putAll, Map map, @TO@ TypeDeclaration@@[public]MultiValueMap, AbstractMapDecorator[MultiMap] @AT@ 8134 @LENGTH@ 559
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:putAll, Map map, @AT@ 8134 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:putAll, Map map, @AT@ 8141 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:putAll @TO@ MethodDeclaration@@public, void, MethodName:putAll, Map map, @AT@ 8146 @LENGTH@ 6
|
||||
---INS SingleVariableDeclaration@@Map map @TO@ MethodDeclaration@@public, void, MethodName:putAll, Map map, @AT@ 8153 @LENGTH@ 7
|
||||
------INS SimpleType@@Map @TO@ SingleVariableDeclaration@@Map map @AT@ 8153 @LENGTH@ 3
|
||||
------INS SimpleName@@map @TO@ SingleVariableDeclaration@@Map map @AT@ 8157 @LENGTH@ 3
|
||||
---INS IfStatement@@if (map instanceof MultiMap) { for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll); }} else { for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue()); }} @TO@ MethodDeclaration@@public, void, MethodName:putAll, Map map, @AT@ 8172 @LENGTH@ 515
|
||||
------INS InstanceofExpression@@map instanceof MultiMap @TO@ IfStatement@@if (map instanceof MultiMap) { for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll); }} else { for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue()); }} @AT@ 8176 @LENGTH@ 23
|
||||
---------INS SimpleName@@map @TO@ InstanceofExpression@@map instanceof MultiMap @AT@ 8176 @LENGTH@ 3
|
||||
---------INS Instanceof@@instanceof @TO@ InstanceofExpression@@map instanceof MultiMap @AT@ 8180 @LENGTH@ 10
|
||||
---------INS SimpleType@@MultiMap @TO@ InstanceofExpression@@map instanceof MultiMap @AT@ 8191 @LENGTH@ 8
|
||||
------INS Block@@ThenBody:{ for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll); }} @TO@ IfStatement@@if (map instanceof MultiMap) { for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll); }} else { for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue()); }} @AT@ 8201 @LENGTH@ 268
|
||||
---------INS ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll);} @TO@ Block@@ThenBody:{ for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll); }} @AT@ 8215 @LENGTH@ 244
|
||||
------------INS VariableDeclarationExpression@@Iterator it=map.entrySet().iterator() @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll);} @AT@ 8220 @LENGTH@ 39
|
||||
---------------INS SimpleType@@Iterator @TO@ VariableDeclarationExpression@@Iterator it=map.entrySet().iterator() @AT@ 8220 @LENGTH@ 8
|
||||
---------------INS VariableDeclarationFragment@@it=map.entrySet().iterator() @TO@ VariableDeclarationExpression@@Iterator it=map.entrySet().iterator() @AT@ 8229 @LENGTH@ 30
|
||||
------------------INS SimpleName@@it @TO@ VariableDeclarationFragment@@it=map.entrySet().iterator() @AT@ 8229 @LENGTH@ 2
|
||||
------------------INS MethodInvocation@@map.entrySet().iterator() @TO@ VariableDeclarationFragment@@it=map.entrySet().iterator() @AT@ 8234 @LENGTH@ 25
|
||||
---------------------INS MethodInvocation@@MethodName:entrySet:[] @TO@ MethodInvocation@@map.entrySet().iterator() @AT@ 8234 @LENGTH@ 14
|
||||
---------------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.entrySet().iterator() @AT@ 8234 @LENGTH@ 3
|
||||
---------------------INS SimpleName@@MethodName:iterator:[] @TO@ MethodInvocation@@map.entrySet().iterator() @AT@ 8249 @LENGTH@ 10
|
||||
------------INS MethodInvocation@@it.hasNext() @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll);} @AT@ 8261 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.hasNext() @AT@ 8261 @LENGTH@ 2
|
||||
---------------INS SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@it.hasNext() @AT@ 8264 @LENGTH@ 9
|
||||
------------INS VariableDeclarationStatement@@Map.Entry entry=(Map.Entry)it.next(); @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll);} @AT@ 8294 @LENGTH@ 40
|
||||
---------------INS SimpleType@@Map.Entry @TO@ VariableDeclarationStatement@@Map.Entry entry=(Map.Entry)it.next(); @AT@ 8294 @LENGTH@ 9
|
||||
---------------INS VariableDeclarationFragment@@entry=(Map.Entry)it.next() @TO@ VariableDeclarationStatement@@Map.Entry entry=(Map.Entry)it.next(); @AT@ 8304 @LENGTH@ 29
|
||||
------------------INS SimpleName@@entry @TO@ VariableDeclarationFragment@@entry=(Map.Entry)it.next() @AT@ 8304 @LENGTH@ 5
|
||||
------------------INS CastExpression@@(Map.Entry)it.next() @TO@ VariableDeclarationFragment@@entry=(Map.Entry)it.next() @AT@ 8312 @LENGTH@ 21
|
||||
---------------------INS SimpleType@@Map.Entry @TO@ CastExpression@@(Map.Entry)it.next() @AT@ 8313 @LENGTH@ 9
|
||||
---------------------INS MethodInvocation@@it.next() @TO@ CastExpression@@(Map.Entry)it.next() @AT@ 8324 @LENGTH@ 9
|
||||
------------------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.next() @AT@ 8324 @LENGTH@ 2
|
||||
------------------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@it.next() @AT@ 8327 @LENGTH@ 6
|
||||
------------INS VariableDeclarationStatement@@Collection coll=(Collection)entry.getValue(); @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll);} @AT@ 8351 @LENGTH@ 48
|
||||
---------------INS SimpleType@@Collection @TO@ VariableDeclarationStatement@@Collection coll=(Collection)entry.getValue(); @AT@ 8351 @LENGTH@ 10
|
||||
---------------INS VariableDeclarationFragment@@coll=(Collection)entry.getValue() @TO@ VariableDeclarationStatement@@Collection coll=(Collection)entry.getValue(); @AT@ 8362 @LENGTH@ 36
|
||||
------------------INS SimpleName@@coll @TO@ VariableDeclarationFragment@@coll=(Collection)entry.getValue() @AT@ 8362 @LENGTH@ 4
|
||||
------------------INS CastExpression@@(Collection)entry.getValue() @TO@ VariableDeclarationFragment@@coll=(Collection)entry.getValue() @AT@ 8369 @LENGTH@ 29
|
||||
---------------------INS SimpleType@@Collection @TO@ CastExpression@@(Collection)entry.getValue() @AT@ 8370 @LENGTH@ 10
|
||||
---------------------INS MethodInvocation@@entry.getValue() @TO@ CastExpression@@(Collection)entry.getValue() @AT@ 8382 @LENGTH@ 16
|
||||
------------------------INS SimpleName@@Name:entry @TO@ MethodInvocation@@entry.getValue() @AT@ 8382 @LENGTH@ 5
|
||||
------------------------INS SimpleName@@MethodName:getValue:[] @TO@ MethodInvocation@@entry.getValue() @AT@ 8388 @LENGTH@ 10
|
||||
------------INS ExpressionStatement@@MethodInvocation:putAll(entry.getKey(),coll) @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll);} @AT@ 8416 @LENGTH@ 29
|
||||
---------------INS MethodInvocation@@putAll(entry.getKey(),coll) @TO@ ExpressionStatement@@MethodInvocation:putAll(entry.getKey(),coll) @AT@ 8416 @LENGTH@ 28
|
||||
------------------INS SimpleName@@MethodName:putAll:[entry.getKey(), coll] @TO@ MethodInvocation@@putAll(entry.getKey(),coll) @AT@ 8416 @LENGTH@ 28
|
||||
---------------------INS MethodInvocation@@entry.getKey() @TO@ SimpleName@@MethodName:putAll:[entry.getKey(), coll] @AT@ 8423 @LENGTH@ 14
|
||||
------------------------INS SimpleName@@Name:entry @TO@ MethodInvocation@@entry.getKey() @AT@ 8423 @LENGTH@ 5
|
||||
------------------------INS SimpleName@@MethodName:getKey:[] @TO@ MethodInvocation@@entry.getKey() @AT@ 8429 @LENGTH@ 8
|
||||
---------------------INS SimpleName@@coll @TO@ SimpleName@@MethodName:putAll:[entry.getKey(), coll] @AT@ 8439 @LENGTH@ 4
|
||||
------INS Block@@ElseBody:{ for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue()); }} @TO@ IfStatement@@if (map instanceof MultiMap) { for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); Collection coll=(Collection)entry.getValue(); putAll(entry.getKey(),coll); }} else { for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue()); }} @AT@ 8475 @LENGTH@ 212
|
||||
---------INS ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue());} @TO@ Block@@ElseBody:{ for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue()); }} @AT@ 8489 @LENGTH@ 188
|
||||
------------INS VariableDeclarationExpression@@Iterator it=map.entrySet().iterator() @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue());} @AT@ 8494 @LENGTH@ 39
|
||||
---------------INS SimpleType@@Iterator @TO@ VariableDeclarationExpression@@Iterator it=map.entrySet().iterator() @AT@ 8494 @LENGTH@ 8
|
||||
---------------INS VariableDeclarationFragment@@it=map.entrySet().iterator() @TO@ VariableDeclarationExpression@@Iterator it=map.entrySet().iterator() @AT@ 8503 @LENGTH@ 30
|
||||
------------------INS SimpleName@@it @TO@ VariableDeclarationFragment@@it=map.entrySet().iterator() @AT@ 8503 @LENGTH@ 2
|
||||
------------------INS MethodInvocation@@map.entrySet().iterator() @TO@ VariableDeclarationFragment@@it=map.entrySet().iterator() @AT@ 8508 @LENGTH@ 25
|
||||
---------------------INS MethodInvocation@@MethodName:entrySet:[] @TO@ MethodInvocation@@map.entrySet().iterator() @AT@ 8508 @LENGTH@ 14
|
||||
---------------------INS SimpleName@@Name:map @TO@ MethodInvocation@@map.entrySet().iterator() @AT@ 8508 @LENGTH@ 3
|
||||
---------------------INS SimpleName@@MethodName:iterator:[] @TO@ MethodInvocation@@map.entrySet().iterator() @AT@ 8523 @LENGTH@ 10
|
||||
------------INS MethodInvocation@@it.hasNext() @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue());} @AT@ 8535 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.hasNext() @AT@ 8535 @LENGTH@ 2
|
||||
---------------INS SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@it.hasNext() @AT@ 8538 @LENGTH@ 9
|
||||
------------INS VariableDeclarationStatement@@Map.Entry entry=(Map.Entry)it.next(); @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue());} @AT@ 8568 @LENGTH@ 40
|
||||
---------------INS SimpleType@@Map.Entry @TO@ VariableDeclarationStatement@@Map.Entry entry=(Map.Entry)it.next(); @AT@ 8568 @LENGTH@ 9
|
||||
---------------INS VariableDeclarationFragment@@entry=(Map.Entry)it.next() @TO@ VariableDeclarationStatement@@Map.Entry entry=(Map.Entry)it.next(); @AT@ 8578 @LENGTH@ 29
|
||||
------------------INS SimpleName@@entry @TO@ VariableDeclarationFragment@@entry=(Map.Entry)it.next() @AT@ 8578 @LENGTH@ 5
|
||||
------------------INS CastExpression@@(Map.Entry)it.next() @TO@ VariableDeclarationFragment@@entry=(Map.Entry)it.next() @AT@ 8586 @LENGTH@ 21
|
||||
---------------------INS SimpleType@@Map.Entry @TO@ CastExpression@@(Map.Entry)it.next() @AT@ 8587 @LENGTH@ 9
|
||||
---------------------INS MethodInvocation@@it.next() @TO@ CastExpression@@(Map.Entry)it.next() @AT@ 8598 @LENGTH@ 9
|
||||
------------------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.next() @AT@ 8598 @LENGTH@ 2
|
||||
------------------------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@it.next() @AT@ 8601 @LENGTH@ 6
|
||||
------------INS ExpressionStatement@@MethodInvocation:put(entry.getKey(),entry.getValue()) @TO@ ForStatement@@for (Iterator it=map.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry=(Map.Entry)it.next(); put(entry.getKey(),entry.getValue());} @AT@ 8625 @LENGTH@ 38
|
||||
---------------INS MethodInvocation@@put(entry.getKey(),entry.getValue()) @TO@ ExpressionStatement@@MethodInvocation:put(entry.getKey(),entry.getValue()) @AT@ 8625 @LENGTH@ 37
|
||||
------------------INS SimpleName@@MethodName:put:[entry.getKey(), entry.getValue()] @TO@ MethodInvocation@@put(entry.getKey(),entry.getValue()) @AT@ 8625 @LENGTH@ 37
|
||||
---------------------INS MethodInvocation@@entry.getKey() @TO@ SimpleName@@MethodName:put:[entry.getKey(), entry.getValue()] @AT@ 8629 @LENGTH@ 14
|
||||
------------------------INS SimpleName@@Name:entry @TO@ MethodInvocation@@entry.getKey() @AT@ 8629 @LENGTH@ 5
|
||||
------------------------INS SimpleName@@MethodName:getKey:[] @TO@ MethodInvocation@@entry.getKey() @AT@ 8635 @LENGTH@ 8
|
||||
---------------------INS MethodInvocation@@entry.getValue() @TO@ SimpleName@@MethodName:put:[entry.getKey(), entry.getValue()] @AT@ 8645 @LENGTH@ 16
|
||||
------------------------INS SimpleName@@Name:entry @TO@ MethodInvocation@@entry.getValue() @AT@ 8645 @LENGTH@ 5
|
||||
------------------------INS SimpleName@@MethodName:getValue:[] @TO@ MethodInvocation@@entry.getValue() @AT@ 8651 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals("jacklord",targetAuth.getPrincipal()) @TO@ MethodInvocation:assertEquals("jacklord",((User)targetAuth.getPrincipal()).getUsername()) @AT@ 14176 @LENGTH@ 52
|
||||
---UPD MethodInvocation@@assertEquals("jacklord",targetAuth.getPrincipal()) @TO@ assertEquals("jacklord",((User)targetAuth.getPrincipal()).getUsername()) @AT@ 14176 @LENGTH@ 51
|
||||
------UPD SimpleName@@MethodName:assertEquals:["jacklord", targetAuth.getPrincipal()] @TO@ MethodName:assertEquals:["jacklord", ((User)targetAuth.getPrincipal()).getUsername()] @AT@ 14176 @LENGTH@ 51
|
||||
---------DEL MethodInvocation@@targetAuth.getPrincipal() @AT@ 14201 @LENGTH@ 25
|
||||
---------INS MethodInvocation@@((User)targetAuth.getPrincipal()).getUsername() @TO@ SimpleName@@MethodName:assertEquals:["jacklord", targetAuth.getPrincipal()] @AT@ 14271 @LENGTH@ 47
|
||||
------------INS ParenthesizedExpression@@((User)targetAuth.getPrincipal()) @TO@ MethodInvocation@@((User)targetAuth.getPrincipal()).getUsername() @AT@ 14271 @LENGTH@ 33
|
||||
---------------INS CastExpression@@(User)targetAuth.getPrincipal() @TO@ ParenthesizedExpression@@((User)targetAuth.getPrincipal()) @AT@ 14272 @LENGTH@ 31
|
||||
------------------INS SimpleType@@User @TO@ CastExpression@@(User)targetAuth.getPrincipal() @AT@ 14273 @LENGTH@ 4
|
||||
------------------INS MethodInvocation@@targetAuth.getPrincipal() @TO@ CastExpression@@(User)targetAuth.getPrincipal() @AT@ 14278 @LENGTH@ 25
|
||||
---------------------MOV SimpleName@@Name:targetAuth @TO@ MethodInvocation@@targetAuth.getPrincipal() @AT@ 14201 @LENGTH@ 10
|
||||
---------------------MOV SimpleName@@Name:targetAuth @TO@ MethodInvocation@@targetAuth.getPrincipal() @AT@ 14201 @LENGTH@ 10
|
||||
---------------------MOV SimpleName@@MethodName:getPrincipal:[] @TO@ MethodInvocation@@targetAuth.getPrincipal() @AT@ 14212 @LENGTH@ 14
|
||||
---------------------MOV SimpleName@@MethodName:getPrincipal:[] @TO@ MethodInvocation@@targetAuth.getPrincipal() @AT@ 14212 @LENGTH@ 14
|
||||
------------INS SimpleName@@MethodName:getUsername:[] @TO@ MethodInvocation@@((User)targetAuth.getPrincipal()).getUsername() @AT@ 14305 @LENGTH@ 13
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @TO@ TypeDeclaration@@[public]ContextPropagatingRemoteInvocationTests, TestCase @AT@ 3456 @LENGTH@ 850
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 3456 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 3463 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testContextIsResetEvenIfExceptionOccurs @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 3468 @LENGTH@ 39
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 3517 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@Authentication clientSideAuthentication=new UsernamePasswordAuthenticationToken("marissa","koala"); @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 3574 @LENGTH@ 118
|
||||
------INS SimpleType@@Authentication @TO@ VariableDeclarationStatement@@Authentication clientSideAuthentication=new UsernamePasswordAuthenticationToken("marissa","koala"); @AT@ 3574 @LENGTH@ 14
|
||||
------INS VariableDeclarationFragment@@clientSideAuthentication=new UsernamePasswordAuthenticationToken("marissa","koala") @TO@ VariableDeclarationStatement@@Authentication clientSideAuthentication=new UsernamePasswordAuthenticationToken("marissa","koala"); @AT@ 3589 @LENGTH@ 102
|
||||
---------INS SimpleName@@clientSideAuthentication @TO@ VariableDeclarationFragment@@clientSideAuthentication=new UsernamePasswordAuthenticationToken("marissa","koala") @AT@ 3589 @LENGTH@ 24
|
||||
---------INS ClassInstanceCreation@@UsernamePasswordAuthenticationToken["marissa", "koala"] @TO@ VariableDeclarationFragment@@clientSideAuthentication=new UsernamePasswordAuthenticationToken("marissa","koala") @AT@ 3616 @LENGTH@ 75
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@UsernamePasswordAuthenticationToken["marissa", "koala"] @AT@ 3616 @LENGTH@ 3
|
||||
------------INS SimpleType@@UsernamePasswordAuthenticationToken @TO@ ClassInstanceCreation@@UsernamePasswordAuthenticationToken["marissa", "koala"] @AT@ 3620 @LENGTH@ 35
|
||||
------------INS StringLiteral@@"marissa" @TO@ ClassInstanceCreation@@UsernamePasswordAuthenticationToken["marissa", "koala"] @AT@ 3656 @LENGTH@ 9
|
||||
------------INS StringLiteral@@"koala" @TO@ ClassInstanceCreation@@UsernamePasswordAuthenticationToken["marissa", "koala"] @AT@ 3683 @LENGTH@ 7
|
||||
---INS ExpressionStatement@@MethodInvocation:SecurityContextHolder.getContext().setAuthentication(clientSideAuthentication) @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 3701 @LENGTH@ 79
|
||||
------INS MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(clientSideAuthentication) @TO@ ExpressionStatement@@MethodInvocation:SecurityContextHolder.getContext().setAuthentication(clientSideAuthentication) @AT@ 3701 @LENGTH@ 78
|
||||
---------INS MethodInvocation@@MethodName:getContext:[] @TO@ MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(clientSideAuthentication) @AT@ 3701 @LENGTH@ 34
|
||||
---------INS SimpleName@@Name:SecurityContextHolder @TO@ MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(clientSideAuthentication) @AT@ 3701 @LENGTH@ 21
|
||||
---------INS SimpleName@@MethodName:setAuthentication:[clientSideAuthentication] @TO@ MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(clientSideAuthentication) @AT@ 3736 @LENGTH@ 43
|
||||
------------INS SimpleName@@clientSideAuthentication @TO@ SimpleName@@MethodName:setAuthentication:[clientSideAuthentication] @AT@ 3754 @LENGTH@ 24
|
||||
---INS VariableDeclarationStatement@@ContextPropagatingRemoteInvocation remoteInvocation=getRemoteInvocation(); @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 3790 @LENGTH@ 76
|
||||
------INS SimpleType@@ContextPropagatingRemoteInvocation @TO@ VariableDeclarationStatement@@ContextPropagatingRemoteInvocation remoteInvocation=getRemoteInvocation(); @AT@ 3790 @LENGTH@ 34
|
||||
------INS VariableDeclarationFragment@@remoteInvocation=getRemoteInvocation() @TO@ VariableDeclarationStatement@@ContextPropagatingRemoteInvocation remoteInvocation=getRemoteInvocation(); @AT@ 3825 @LENGTH@ 40
|
||||
---------INS SimpleName@@remoteInvocation @TO@ VariableDeclarationFragment@@remoteInvocation=getRemoteInvocation() @AT@ 3825 @LENGTH@ 16
|
||||
---------INS MethodInvocation@@MethodName:getRemoteInvocation:[] @TO@ VariableDeclarationFragment@@remoteInvocation=getRemoteInvocation() @AT@ 3844 @LENGTH@ 21
|
||||
---INS TryStatement@@try { remoteInvocation.setArguments(new Object[]{}); remoteInvocation.invoke(TargetObject.class.newInstance()); fail("Expected IllegalArgumentException");} catch (IllegalArgumentException e) {} @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 3876 @LENGTH@ 314
|
||||
------INS ExpressionStatement@@MethodInvocation:remoteInvocation.setArguments(new Object[]{}) @TO@ TryStatement@@try { remoteInvocation.setArguments(new Object[]{}); remoteInvocation.invoke(TargetObject.class.newInstance()); fail("Expected IllegalArgumentException");} catch (IllegalArgumentException e) {} @AT@ 3937 @LENGTH@ 47
|
||||
---------INS MethodInvocation@@remoteInvocation.setArguments(new Object[]{}) @TO@ ExpressionStatement@@MethodInvocation:remoteInvocation.setArguments(new Object[]{}) @AT@ 3937 @LENGTH@ 46
|
||||
------------INS SimpleName@@Name:remoteInvocation @TO@ MethodInvocation@@remoteInvocation.setArguments(new Object[]{}) @AT@ 3937 @LENGTH@ 16
|
||||
------------INS SimpleName@@MethodName:setArguments:[new Object[]{}] @TO@ MethodInvocation@@remoteInvocation.setArguments(new Object[]{}) @AT@ 3954 @LENGTH@ 29
|
||||
---------------INS ArrayCreation@@new Object[]{} @TO@ SimpleName@@MethodName:setArguments:[new Object[]{}] @AT@ 3967 @LENGTH@ 15
|
||||
------------------INS ArrayType@@Object[] @TO@ ArrayCreation@@new Object[]{} @AT@ 3971 @LENGTH@ 8
|
||||
---------------------INS SimpleType@@Object @TO@ ArrayType@@Object[] @AT@ 3971 @LENGTH@ 6
|
||||
------------------INS ArrayInitializer@@{} @TO@ ArrayCreation@@new Object[]{} @AT@ 3980 @LENGTH@ 2
|
||||
------INS ExpressionStatement@@MethodInvocation:remoteInvocation.invoke(TargetObject.class.newInstance()) @TO@ TryStatement@@try { remoteInvocation.setArguments(new Object[]{}); remoteInvocation.invoke(TargetObject.class.newInstance()); fail("Expected IllegalArgumentException");} catch (IllegalArgumentException e) {} @AT@ 3997 @LENGTH@ 58
|
||||
---------INS MethodInvocation@@remoteInvocation.invoke(TargetObject.class.newInstance()) @TO@ ExpressionStatement@@MethodInvocation:remoteInvocation.invoke(TargetObject.class.newInstance()) @AT@ 3997 @LENGTH@ 57
|
||||
------------INS SimpleName@@Name:remoteInvocation @TO@ MethodInvocation@@remoteInvocation.invoke(TargetObject.class.newInstance()) @AT@ 3997 @LENGTH@ 16
|
||||
------------INS SimpleName@@MethodName:invoke:[TargetObject.class.newInstance()] @TO@ MethodInvocation@@remoteInvocation.invoke(TargetObject.class.newInstance()) @AT@ 4014 @LENGTH@ 40
|
||||
---------------INS MethodInvocation@@TargetObject.class.newInstance() @TO@ SimpleName@@MethodName:invoke:[TargetObject.class.newInstance()] @AT@ 4021 @LENGTH@ 32
|
||||
------------------INS TypeLiteral@@TargetObject.class @TO@ MethodInvocation@@TargetObject.class.newInstance() @AT@ 4021 @LENGTH@ 18
|
||||
------------------INS SimpleName@@MethodName:newInstance:[] @TO@ MethodInvocation@@TargetObject.class.newInstance() @AT@ 4040 @LENGTH@ 13
|
||||
------INS ExpressionStatement@@MethodInvocation:fail("Expected IllegalArgumentException") @TO@ TryStatement@@try { remoteInvocation.setArguments(new Object[]{}); remoteInvocation.invoke(TargetObject.class.newInstance()); fail("Expected IllegalArgumentException");} catch (IllegalArgumentException e) {} @AT@ 4068 @LENGTH@ 42
|
||||
---------INS MethodInvocation@@fail("Expected IllegalArgumentException") @TO@ ExpressionStatement@@MethodInvocation:fail("Expected IllegalArgumentException") @AT@ 4068 @LENGTH@ 41
|
||||
------------INS SimpleName@@MethodName:fail:["Expected IllegalArgumentException"] @TO@ MethodInvocation@@fail("Expected IllegalArgumentException") @AT@ 4068 @LENGTH@ 41
|
||||
---------------INS StringLiteral@@"Expected IllegalArgumentException" @TO@ SimpleName@@MethodName:fail:["Expected IllegalArgumentException"] @AT@ 4073 @LENGTH@ 35
|
||||
------INS CatchClause@@catch (IllegalArgumentException e) {} @TO@ TryStatement@@try { remoteInvocation.setArguments(new Object[]{}); remoteInvocation.invoke(TargetObject.class.newInstance()); fail("Expected IllegalArgumentException");} catch (IllegalArgumentException e) {} @AT@ 4121 @LENGTH@ 69
|
||||
---------INS SingleVariableDeclaration@@IllegalArgumentException e @TO@ CatchClause@@catch (IllegalArgumentException e) {} @AT@ 4127 @LENGTH@ 26
|
||||
------------INS SimpleType@@IllegalArgumentException @TO@ SingleVariableDeclaration@@IllegalArgumentException e @AT@ 4127 @LENGTH@ 24
|
||||
------------INS SimpleName@@e @TO@ SingleVariableDeclaration@@IllegalArgumentException e @AT@ 4152 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:assertNull("Authentication must be null ",SecurityContextHolder.getContext().getAuthentication()) @TO@ MethodDeclaration@@public, void, MethodName:testContextIsResetEvenIfExceptionOccurs, Exception, @AT@ 4200 @LENGTH@ 99
|
||||
------INS MethodInvocation@@assertNull("Authentication must be null ",SecurityContextHolder.getContext().getAuthentication()) @TO@ ExpressionStatement@@MethodInvocation:assertNull("Authentication must be null ",SecurityContextHolder.getContext().getAuthentication()) @AT@ 4200 @LENGTH@ 98
|
||||
---------INS SimpleName@@MethodName:assertNull:["Authentication must be null ", SecurityContextHolder.getContext().getAuthentication()] @TO@ MethodInvocation@@assertNull("Authentication must be null ",SecurityContextHolder.getContext().getAuthentication()) @AT@ 4200 @LENGTH@ 98
|
||||
------------INS StringLiteral@@"Authentication must be null " @TO@ SimpleName@@MethodName:assertNull:["Authentication must be null ", SecurityContextHolder.getContext().getAuthentication()] @AT@ 4211 @LENGTH@ 30
|
||||
------------INS MethodInvocation@@SecurityContextHolder.getContext().getAuthentication() @TO@ SimpleName@@MethodName:assertNull:["Authentication must be null ", SecurityContextHolder.getContext().getAuthentication()] @AT@ 4243 @LENGTH@ 54
|
||||
---------------INS MethodInvocation@@MethodName:getContext:[] @TO@ MethodInvocation@@SecurityContextHolder.getContext().getAuthentication() @AT@ 4243 @LENGTH@ 34
|
||||
---------------INS SimpleName@@Name:SecurityContextHolder @TO@ MethodInvocation@@SecurityContextHolder.getContext().getAuthentication() @AT@ 4243 @LENGTH@ 21
|
||||
---------------INS SimpleName@@MethodName:getAuthentication:[] @TO@ MethodInvocation@@SecurityContextHolder.getContext().getAuthentication() @AT@ 4278 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD CatchClause@@catch (IllegalArgumentException expected) { assertEquals("FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",expected.getMessage());} @TO@ catch (IllegalArgumentException expected) { System.out.println(expected.getMessage()); assertEquals("Exception message mismatch","FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",expected.getMessage());} @AT@ 2664 @LENGTH@ 249
|
||||
---INS ExpressionStatement@@MethodInvocation:System.out.println(expected.getMessage()) @TO@ CatchClause@@catch (IllegalArgumentException expected) { assertEquals("FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",expected.getMessage());} @AT@ 2717 @LENGTH@ 42
|
||||
------INS MethodInvocation@@System.out.println(expected.getMessage()) @TO@ ExpressionStatement@@MethodInvocation:System.out.println(expected.getMessage()) @AT@ 2717 @LENGTH@ 41
|
||||
---------INS QualifiedName@@Name:System.out @TO@ MethodInvocation@@System.out.println(expected.getMessage()) @AT@ 2717 @LENGTH@ 10
|
||||
---------INS SimpleName@@MethodName:println:[expected.getMessage()] @TO@ MethodInvocation@@System.out.println(expected.getMessage()) @AT@ 2728 @LENGTH@ 30
|
||||
------------INS MethodInvocation@@expected.getMessage() @TO@ SimpleName@@MethodName:println:[expected.getMessage()] @AT@ 2736 @LENGTH@ 21
|
||||
---------------INS SimpleName@@Name:expected @TO@ MethodInvocation@@expected.getMessage() @AT@ 2736 @LENGTH@ 8
|
||||
---------------INS SimpleName@@MethodName:getMessage:[] @TO@ MethodInvocation@@expected.getMessage() @AT@ 2745 @LENGTH@ 12
|
||||
---UPD ExpressionStatement@@MethodInvocation:assertEquals("FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",expected.getMessage()) @TO@ MethodInvocation:assertEquals("Exception message mismatch","FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",expected.getMessage()) @AT@ 2720 @LENGTH@ 183
|
||||
------UPD MethodInvocation@@assertEquals("FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",expected.getMessage()) @TO@ assertEquals("Exception message mismatch","FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",expected.getMessage()) @AT@ 2720 @LENGTH@ 182
|
||||
---------UPD SimpleName@@MethodName:assertEquals:["FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()", expected.getMessage()] @TO@ MethodName:assertEquals:["Exception message mismatch", "FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()", expected.getMessage()] @AT@ 2720 @LENGTH@ 182
|
||||
------------UPD StringLiteral@@"FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()" @TO@ "FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()" @AT@ 2733 @LENGTH@ 129
|
||||
------------INS StringLiteral@@"Exception message mismatch" @TO@ SimpleName@@MethodName:assertEquals:["FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()", expected.getMessage()] @AT@ 2785 @LENGTH@ 28
|
||||
|
||||
|
||||
UPD IfStatement@@if (SecurityContextHolder.getContext().getAuthentication() == null) { SecurityContextHolder.getContext().setAuthentication(rememberMeServices.autoLogin(httpRequest,httpResponse)); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} else { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not replaced with remember-me token, as SecurityContextHolder already contained: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); }} @TO@ if (SecurityContextHolder.getContext().getAuthentication() == null) { Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); if (rememberMeAuth != null) { SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } }} else { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not replaced with remember-me token, as SecurityContextHolder already contained: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); }} @AT@ 4376 @LENGTH@ 1110
|
||||
---UPD Block@@ThenBody:{ SecurityContextHolder.getContext().setAuthentication(rememberMeServices.autoLogin(httpRequest,httpResponse)); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} @TO@ ThenBody:{ SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} @AT@ 4444 @LENGTH@ 706
|
||||
---INS Block@@ThenBody:{ Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); if (rememberMeAuth != null) { SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } }} @TO@ IfStatement@@if (SecurityContextHolder.getContext().getAuthentication() == null) { SecurityContextHolder.getContext().setAuthentication(rememberMeServices.autoLogin(httpRequest,httpResponse)); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} else { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not replaced with remember-me token, as SecurityContextHolder already contained: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); }} @AT@ 4487 @LENGTH@ 877
|
||||
------INS VariableDeclarationStatement@@Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); @TO@ Block@@ThenBody:{ Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); if (rememberMeAuth != null) { SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } }} @AT@ 4501 @LENGTH@ 108
|
||||
---------INS SimpleType@@Authentication @TO@ VariableDeclarationStatement@@Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); @AT@ 4501 @LENGTH@ 14
|
||||
---------INS VariableDeclarationFragment@@rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse) @TO@ VariableDeclarationStatement@@Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); @AT@ 4516 @LENGTH@ 92
|
||||
------------MOV MethodInvocation@@rememberMeServices.autoLogin(httpRequest,httpResponse) @TO@ VariableDeclarationFragment@@rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse) @AT@ 4511 @LENGTH@ 72
|
||||
------------INS SimpleName@@rememberMeAuth @TO@ VariableDeclarationFragment@@rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse) @AT@ 4516 @LENGTH@ 14
|
||||
------INS IfStatement@@if (rememberMeAuth != null) { SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} @TO@ Block@@ThenBody:{ Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); if (rememberMeAuth != null) { SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } }} @AT@ 4623 @LENGTH@ 731
|
||||
---------MOV Block@@ThenBody:{ SecurityContextHolder.getContext().setAuthentication(rememberMeServices.autoLogin(httpRequest,httpResponse)); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} @TO@ IfStatement@@if (rememberMeAuth != null) { SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} @AT@ 4444 @LENGTH@ 706
|
||||
------------UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.getContext().setAuthentication(rememberMeServices.autoLogin(httpRequest,httpResponse)) @TO@ MethodInvocation:SecurityContextHolder.getContext().setAuthentication(rememberMeAuth) @AT@ 4458 @LENGTH@ 127
|
||||
---------------UPD MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(rememberMeServices.autoLogin(httpRequest,httpResponse)) @TO@ SecurityContextHolder.getContext().setAuthentication(rememberMeAuth) @AT@ 4458 @LENGTH@ 126
|
||||
------------------UPD SimpleName@@MethodName:setAuthentication:[rememberMeServices.autoLogin(httpRequest,httpResponse)] @TO@ MethodName:setAuthentication:[rememberMeAuth] @AT@ 4493 @LENGTH@ 91
|
||||
---------------------INS SimpleName@@rememberMeAuth @TO@ SimpleName@@MethodName:setAuthentication:[rememberMeServices.autoLogin(httpRequest,httpResponse)] @AT@ 4721 @LENGTH@ 14
|
||||
---------INS InfixExpression@@rememberMeAuth != null @TO@ IfStatement@@if (rememberMeAuth != null) { SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("Replaced SecurityContextHolder with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.context != null) { context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} @AT@ 4626 @LENGTH@ 22
|
||||
------------INS SimpleName@@rememberMeAuth @TO@ InfixExpression@@rememberMeAuth != null @AT@ 4626 @LENGTH@ 14
|
||||
------------INS Operator@@!= @TO@ InfixExpression@@rememberMeAuth != null @AT@ 4640 @LENGTH@ 2
|
||||
------------INS NullLiteral@@null @TO@ InfixExpression@@rememberMeAuth != null @AT@ 4644 @LENGTH@ 4
|
||||
|
||||
|
||||
INS IfStatement@@if (getFileName() == null) { return null;} else { if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL); } else { return ConfigurationUtils.getFile(getBasePath(),getFileName()); }} @TO@ MethodDeclaration@@public, File, MethodName:getFile, @AT@ 14872 @LENGTH@ 359
|
||||
---INS InfixExpression@@getFileName() == null @TO@ IfStatement@@if (getFileName() == null) { return null;} else { if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL); } else { return ConfigurationUtils.getFile(getBasePath(),getFileName()); }} @AT@ 14876 @LENGTH@ 21
|
||||
------INS MethodInvocation@@MethodName:getFileName:[] @TO@ InfixExpression@@getFileName() == null @AT@ 14876 @LENGTH@ 13
|
||||
------INS Operator@@== @TO@ InfixExpression@@getFileName() == null @AT@ 14889 @LENGTH@ 2
|
||||
------INS NullLiteral@@null @TO@ InfixExpression@@getFileName() == null @AT@ 14893 @LENGTH@ 4
|
||||
---INS Block@@ThenBody:{ return null;} @TO@ IfStatement@@if (getFileName() == null) { return null;} else { if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL); } else { return ConfigurationUtils.getFile(getBasePath(),getFileName()); }} @AT@ 14907 @LENGTH@ 36
|
||||
------INS ReturnStatement@@NullLiteral:null @TO@ Block@@ThenBody:{ return null;} @AT@ 14921 @LENGTH@ 12
|
||||
---------INS NullLiteral@@null @TO@ ReturnStatement@@NullLiteral:null @AT@ 14928 @LENGTH@ 4
|
||||
---INS Block@@ElseBody:{ if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL); } else { return ConfigurationUtils.getFile(getBasePath(),getFileName()); }} @TO@ IfStatement@@if (getFileName() == null) { return null;} else { if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL); } else { return ConfigurationUtils.getFile(getBasePath(),getFileName()); }} @AT@ 14965 @LENGTH@ 266
|
||||
------INS IfStatement@@if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL);} else { return ConfigurationUtils.getFile(getBasePath(),getFileName());} @TO@ Block@@ElseBody:{ if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL); } else { return ConfigurationUtils.getFile(getBasePath(),getFileName()); }} @AT@ 14979 @LENGTH@ 242
|
||||
---------INS InfixExpression@@sourceURL != null @TO@ IfStatement@@if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL);} else { return ConfigurationUtils.getFile(getBasePath(),getFileName());} @AT@ 14983 @LENGTH@ 17
|
||||
------------INS SimpleName@@sourceURL @TO@ InfixExpression@@sourceURL != null @AT@ 14983 @LENGTH@ 9
|
||||
------------INS Operator@@!= @TO@ InfixExpression@@sourceURL != null @AT@ 14992 @LENGTH@ 2
|
||||
------------INS NullLiteral@@null @TO@ InfixExpression@@sourceURL != null @AT@ 14996 @LENGTH@ 4
|
||||
---------INS Block@@ThenBody:{ return ConfigurationUtils.fileFromURL(sourceURL);} @TO@ IfStatement@@if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL);} else { return ConfigurationUtils.getFile(getBasePath(),getFileName());} @AT@ 15014 @LENGTH@ 81
|
||||
------------INS ReturnStatement@@MethodInvocation:ConfigurationUtils.fileFromURL(sourceURL) @TO@ Block@@ThenBody:{ return ConfigurationUtils.fileFromURL(sourceURL);} @AT@ 15032 @LENGTH@ 49
|
||||
---------------INS MethodInvocation@@ConfigurationUtils.fileFromURL(sourceURL) @TO@ ReturnStatement@@MethodInvocation:ConfigurationUtils.fileFromURL(sourceURL) @AT@ 15039 @LENGTH@ 41
|
||||
------------------INS SimpleName@@Name:ConfigurationUtils @TO@ MethodInvocation@@ConfigurationUtils.fileFromURL(sourceURL) @AT@ 15039 @LENGTH@ 18
|
||||
------------------INS SimpleName@@MethodName:fileFromURL:[sourceURL] @TO@ MethodInvocation@@ConfigurationUtils.fileFromURL(sourceURL) @AT@ 15058 @LENGTH@ 22
|
||||
---------------------INS SimpleName@@sourceURL @TO@ SimpleName@@MethodName:fileFromURL:[sourceURL] @AT@ 15070 @LENGTH@ 9
|
||||
---------INS Block@@ElseBody:{ return ConfigurationUtils.getFile(getBasePath(),getFileName());} @TO@ IfStatement@@if (sourceURL != null) { return ConfigurationUtils.fileFromURL(sourceURL);} else { return ConfigurationUtils.getFile(getBasePath(),getFileName());} @AT@ 15125 @LENGTH@ 96
|
||||
------------MOV ReturnStatement@@MethodInvocation:ConfigurationUtils.getFile(getBasePath(),getFileName()) @TO@ Block@@ElseBody:{ return ConfigurationUtils.getFile(getBasePath(),getFileName());} @AT@ 14847 @LENGTH@ 64
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @TO@ TypeDeclaration@@[public]TestFileConfiguration, TestCase @AT@ 11250 @LENGTH@ 388
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11250 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11257 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testGetFile @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11262 @LENGTH@ 11
|
||||
---INS SimpleType@@ConfigurationException @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11283 @LENGTH@ 22
|
||||
---INS VariableDeclarationStatement@@FileConfiguration config=new PropertiesConfiguration(); @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11320 @LENGTH@ 57
|
||||
------INS SimpleType@@FileConfiguration @TO@ VariableDeclarationStatement@@FileConfiguration config=new PropertiesConfiguration(); @AT@ 11320 @LENGTH@ 17
|
||||
------INS VariableDeclarationFragment@@config=new PropertiesConfiguration() @TO@ VariableDeclarationStatement@@FileConfiguration config=new PropertiesConfiguration(); @AT@ 11338 @LENGTH@ 38
|
||||
---------INS SimpleName@@config @TO@ VariableDeclarationFragment@@config=new PropertiesConfiguration() @AT@ 11338 @LENGTH@ 6
|
||||
---------INS ClassInstanceCreation@@PropertiesConfiguration[] @TO@ VariableDeclarationFragment@@config=new PropertiesConfiguration() @AT@ 11347 @LENGTH@ 29
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@PropertiesConfiguration[] @AT@ 11347 @LENGTH@ 3
|
||||
------------INS SimpleType@@PropertiesConfiguration @TO@ ClassInstanceCreation@@PropertiesConfiguration[] @AT@ 11351 @LENGTH@ 23
|
||||
---INS ExpressionStatement@@MethodInvocation:assertNull(config.getFile()) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11386 @LENGTH@ 29
|
||||
------INS MethodInvocation@@assertNull(config.getFile()) @TO@ ExpressionStatement@@MethodInvocation:assertNull(config.getFile()) @AT@ 11386 @LENGTH@ 28
|
||||
---------INS SimpleName@@MethodName:assertNull:[config.getFile()] @TO@ MethodInvocation@@assertNull(config.getFile()) @AT@ 11386 @LENGTH@ 28
|
||||
------------INS MethodInvocation@@config.getFile() @TO@ SimpleName@@MethodName:assertNull:[config.getFile()] @AT@ 11397 @LENGTH@ 16
|
||||
---------------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.getFile() @AT@ 11397 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:getFile:[] @TO@ MethodInvocation@@config.getFile() @AT@ 11404 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@File file=new File("conf/test.properties").getAbsoluteFile(); @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11424 @LENGTH@ 63
|
||||
------INS SimpleType@@File @TO@ VariableDeclarationStatement@@File file=new File("conf/test.properties").getAbsoluteFile(); @AT@ 11424 @LENGTH@ 4
|
||||
------INS VariableDeclarationFragment@@file=new File("conf/test.properties").getAbsoluteFile() @TO@ VariableDeclarationStatement@@File file=new File("conf/test.properties").getAbsoluteFile(); @AT@ 11429 @LENGTH@ 57
|
||||
---------INS SimpleName@@file @TO@ VariableDeclarationFragment@@file=new File("conf/test.properties").getAbsoluteFile() @AT@ 11429 @LENGTH@ 4
|
||||
---------INS MethodInvocation@@new File("conf/test.properties").getAbsoluteFile() @TO@ VariableDeclarationFragment@@file=new File("conf/test.properties").getAbsoluteFile() @AT@ 11436 @LENGTH@ 50
|
||||
------------INS ClassInstanceCreation@@File["conf/test.properties"] @TO@ MethodInvocation@@new File("conf/test.properties").getAbsoluteFile() @AT@ 11436 @LENGTH@ 32
|
||||
---------------INS New@@new @TO@ ClassInstanceCreation@@File["conf/test.properties"] @AT@ 11436 @LENGTH@ 3
|
||||
---------------INS SimpleType@@File @TO@ ClassInstanceCreation@@File["conf/test.properties"] @AT@ 11440 @LENGTH@ 4
|
||||
---------------INS StringLiteral@@"conf/test.properties" @TO@ ClassInstanceCreation@@File["conf/test.properties"] @AT@ 11445 @LENGTH@ 22
|
||||
------------INS SimpleName@@MethodName:getAbsoluteFile:[] @TO@ MethodInvocation@@new File("conf/test.properties").getAbsoluteFile() @AT@ 11469 @LENGTH@ 17
|
||||
---INS ExpressionStatement@@MethodInvocation:config.setFile(file) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11496 @LENGTH@ 21
|
||||
------INS MethodInvocation@@config.setFile(file) @TO@ ExpressionStatement@@MethodInvocation:config.setFile(file) @AT@ 11496 @LENGTH@ 20
|
||||
---------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.setFile(file) @AT@ 11496 @LENGTH@ 6
|
||||
---------INS SimpleName@@MethodName:setFile:[file] @TO@ MethodInvocation@@config.setFile(file) @AT@ 11503 @LENGTH@ 13
|
||||
------------INS SimpleName@@file @TO@ SimpleName@@MethodName:setFile:[file] @AT@ 11511 @LENGTH@ 4
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(file,config.getFile()) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11526 @LENGTH@ 37
|
||||
------INS MethodInvocation@@assertEquals(file,config.getFile()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(file,config.getFile()) @AT@ 11526 @LENGTH@ 36
|
||||
---------INS SimpleName@@MethodName:assertEquals:[file, config.getFile()] @TO@ MethodInvocation@@assertEquals(file,config.getFile()) @AT@ 11526 @LENGTH@ 36
|
||||
------------INS SimpleName@@file @TO@ SimpleName@@MethodName:assertEquals:[file, config.getFile()] @AT@ 11539 @LENGTH@ 4
|
||||
------------INS MethodInvocation@@config.getFile() @TO@ SimpleName@@MethodName:assertEquals:[file, config.getFile()] @AT@ 11545 @LENGTH@ 16
|
||||
---------------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.getFile() @AT@ 11545 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:getFile:[] @TO@ MethodInvocation@@config.getFile() @AT@ 11552 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:config.load() @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11572 @LENGTH@ 14
|
||||
------INS MethodInvocation@@config.load() @TO@ ExpressionStatement@@MethodInvocation:config.load() @AT@ 11572 @LENGTH@ 13
|
||||
---------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.load() @AT@ 11572 @LENGTH@ 6
|
||||
---------INS SimpleName@@MethodName:load:[] @TO@ MethodInvocation@@config.load() @AT@ 11579 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals(file,config.getFile()) @TO@ MethodDeclaration@@public, void, MethodName:testGetFile, ConfigurationException, @AT@ 11595 @LENGTH@ 37
|
||||
------INS MethodInvocation@@assertEquals(file,config.getFile()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals(file,config.getFile()) @AT@ 11595 @LENGTH@ 36
|
||||
---------INS SimpleName@@MethodName:assertEquals:[file, config.getFile()] @TO@ MethodInvocation@@assertEquals(file,config.getFile()) @AT@ 11595 @LENGTH@ 36
|
||||
------------INS SimpleName@@file @TO@ SimpleName@@MethodName:assertEquals:[file, config.getFile()] @AT@ 11608 @LENGTH@ 4
|
||||
------------INS MethodInvocation@@config.getFile() @TO@ SimpleName@@MethodName:assertEquals:[file, config.getFile()] @AT@ 11614 @LENGTH@ 16
|
||||
---------------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.getFile() @AT@ 11614 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:getFile:[] @TO@ MethodInvocation@@config.getFile() @AT@ 11621 @LENGTH@ 9
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:SecurityContextHolder.getContext().setAuthentication(null) @TO@ MethodDeclaration@@protected, void, MethodName:sendStartAuthentication, FilterInvocation fi, AuthenticationException reason, ServletException, IOException, @AT@ 11191 @LENGTH@ 59
|
||||
---INS MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(null) @TO@ ExpressionStatement@@MethodInvocation:SecurityContextHolder.getContext().setAuthentication(null) @AT@ 11191 @LENGTH@ 58
|
||||
------INS MethodInvocation@@MethodName:getContext:[] @TO@ MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(null) @AT@ 11191 @LENGTH@ 34
|
||||
------INS SimpleName@@Name:SecurityContextHolder @TO@ MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(null) @AT@ 11191 @LENGTH@ 21
|
||||
------INS SimpleName@@MethodName:setAuthentication:[null] @TO@ MethodInvocation@@SecurityContextHolder.getContext().setAuthentication(null) @AT@ 11226 @LENGTH@ 23
|
||||
---------INS NullLiteral@@null @TO@ SimpleName@@MethodName:setAuthentication:[null] @AT@ 11244 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD TypeDeclaration@@[public]IOFileFilterAbstractTestCase, TestCase @TO@ [public, abstract]IOFileFilterAbstractTestCase, TestCase @AT@ 722 @LENGTH@ 4315
|
||||
---INS Modifier@@abstract @TO@ TypeDeclaration@@[public]IOFileFilterAbstractTestCase, TestCase @AT@ 729 @LENGTH@ 8
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(ClassLoaderObjectInputStreamTest.class)) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 1079 @LENGTH@ 69
|
||||
---INS MethodInvocation@@suite.addTest(new TestSuite(ClassLoaderObjectInputStreamTest.class)) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(ClassLoaderObjectInputStreamTest.class)) @AT@ 1079 @LENGTH@ 68
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(new TestSuite(ClassLoaderObjectInputStreamTest.class)) @AT@ 1079 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[new TestSuite(ClassLoaderObjectInputStreamTest.class)] @TO@ MethodInvocation@@suite.addTest(new TestSuite(ClassLoaderObjectInputStreamTest.class)) @AT@ 1085 @LENGTH@ 62
|
||||
---------INS ClassInstanceCreation@@TestSuite[ClassLoaderObjectInputStreamTest.class] @TO@ SimpleName@@MethodName:addTest:[new TestSuite(ClassLoaderObjectInputStreamTest.class)] @AT@ 1093 @LENGTH@ 53
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@TestSuite[ClassLoaderObjectInputStreamTest.class] @AT@ 1093 @LENGTH@ 3
|
||||
------------INS SimpleType@@TestSuite @TO@ ClassInstanceCreation@@TestSuite[ClassLoaderObjectInputStreamTest.class] @AT@ 1097 @LENGTH@ 9
|
||||
------------INS TypeLiteral@@ClassLoaderObjectInputStreamTest.class @TO@ ClassInstanceCreation@@TestSuite[ClassLoaderObjectInputStreamTest.class] @AT@ 1107 @LENGTH@ 38
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@String name="cn=user.two,ou=users"; @TO@ String name="cn=User Two,ou=users"; @AT@ 2297 @LENGTH@ 37
|
||||
---UPD VariableDeclarationFragment@@name="cn=user.two,ou=users" @TO@ name="cn=User Two,ou=users" @AT@ 2304 @LENGTH@ 29
|
||||
------UPD StringLiteral@@"cn=user.two,ou=users" @TO@ "cn=User Two,ou=users" @AT@ 2311 @LENGTH@ 22
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:buffer=new Object[size] @TO@ Assignment:buffer=new Object[size + 1] @AT@ 4366 @LENGTH@ 26
|
||||
---UPD Assignment@@buffer=new Object[size] @TO@ buffer=new Object[size + 1] @AT@ 4366 @LENGTH@ 25
|
||||
------UPD ArrayCreation@@new Object[size] @TO@ new Object[size + 1] @AT@ 4375 @LENGTH@ 16
|
||||
---------INS InfixExpression@@size + 1 @TO@ ArrayCreation@@new Object[size] @AT@ 4386 @LENGTH@ 6
|
||||
------------INS SimpleName@@size @TO@ InfixExpression@@size + 1 @AT@ 4386 @LENGTH@ 4
|
||||
------------INS Operator@@+ @TO@ InfixExpression@@size + 1 @AT@ 4390 @LENGTH@ 1
|
||||
------------INS NumberLiteral@@1 @TO@ InfixExpression@@size + 1 @AT@ 4391 @LENGTH@ 1
|
||||
---------DEL SimpleName@@size @AT@ 4386 @LENGTH@ 4
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:assertTrue(targetAuth.getPrincipal() instanceof UserDetails) @TO@ MethodDeclaration@@public, void, MethodName:testSwitchRequestFromDanoToJackLord, Exception, @AT@ 14176 @LENGTH@ 61
|
||||
---INS MethodInvocation@@assertTrue(targetAuth.getPrincipal() instanceof UserDetails) @TO@ ExpressionStatement@@MethodInvocation:assertTrue(targetAuth.getPrincipal() instanceof UserDetails) @AT@ 14176 @LENGTH@ 60
|
||||
------INS SimpleName@@MethodName:assertTrue:[targetAuth.getPrincipal() instanceof UserDetails] @TO@ MethodInvocation@@assertTrue(targetAuth.getPrincipal() instanceof UserDetails) @AT@ 14176 @LENGTH@ 60
|
||||
---------INS InstanceofExpression@@targetAuth.getPrincipal() instanceof UserDetails @TO@ SimpleName@@MethodName:assertTrue:[targetAuth.getPrincipal() instanceof UserDetails] @AT@ 14187 @LENGTH@ 48
|
||||
------------INS MethodInvocation@@targetAuth.getPrincipal() @TO@ InstanceofExpression@@targetAuth.getPrincipal() instanceof UserDetails @AT@ 14187 @LENGTH@ 25
|
||||
---------------INS SimpleName@@Name:targetAuth @TO@ MethodInvocation@@targetAuth.getPrincipal() @AT@ 14187 @LENGTH@ 10
|
||||
---------------INS SimpleName@@MethodName:getPrincipal:[] @TO@ MethodInvocation@@targetAuth.getPrincipal() @AT@ 14198 @LENGTH@ 14
|
||||
------------INS Instanceof@@instanceof @TO@ InstanceofExpression@@targetAuth.getPrincipal() instanceof UserDetails @AT@ 14213 @LENGTH@ 10
|
||||
------------INS SimpleType@@UserDetails @TO@ InstanceofExpression@@targetAuth.getPrincipal() instanceof UserDetails @AT@ 14224 @LENGTH@ 11
|
||||
|
||||
|
||||
INS VariableDeclarationStatement@@HttpSession session=request.getSession(forceSessionCreation); @TO@ MethodDeclaration@@public, voidMethodName:WebAuthenticationDetails, HttpServletRequest request, boolean forceSessionCreation, @AT@ 1837 @LENGTH@ 63
|
||||
---INS SimpleType@@HttpSession @TO@ VariableDeclarationStatement@@HttpSession session=request.getSession(forceSessionCreation); @AT@ 1837 @LENGTH@ 11
|
||||
---INS VariableDeclarationFragment@@session=request.getSession(forceSessionCreation) @TO@ VariableDeclarationStatement@@HttpSession session=request.getSession(forceSessionCreation); @AT@ 1849 @LENGTH@ 50
|
||||
------INS SimpleName@@session @TO@ VariableDeclarationFragment@@session=request.getSession(forceSessionCreation) @AT@ 1849 @LENGTH@ 7
|
||||
------INS MethodInvocation@@request.getSession(forceSessionCreation) @TO@ VariableDeclarationFragment@@session=request.getSession(forceSessionCreation) @AT@ 1859 @LENGTH@ 40
|
||||
---------INS SimpleName@@Name:request @TO@ MethodInvocation@@request.getSession(forceSessionCreation) @AT@ 1859 @LENGTH@ 7
|
||||
---------INS SimpleName@@MethodName:getSession:[forceSessionCreation] @TO@ MethodInvocation@@request.getSession(forceSessionCreation) @AT@ 1867 @LENGTH@ 32
|
||||
------------INS SimpleName@@forceSessionCreation @TO@ SimpleName@@MethodName:getSession:[forceSessionCreation] @AT@ 1878 @LENGTH@ 20
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:context.publishEvent(new InteractiveAuthenticationSuccesEvent(authResult,this.getClass())) @TO@ MethodInvocation:context.publishEvent(new InteractiveAuthenticationSuccessEvent(authResult,this.getClass())) @AT@ 6989 @LENGTH@ 113
|
||||
---UPD MethodInvocation@@context.publishEvent(new InteractiveAuthenticationSuccesEvent(authResult,this.getClass())) @TO@ context.publishEvent(new InteractiveAuthenticationSuccessEvent(authResult,this.getClass())) @AT@ 6989 @LENGTH@ 112
|
||||
------UPD SimpleName@@MethodName:publishEvent:[new InteractiveAuthenticationSuccesEvent(authResult,this.getClass())] @TO@ MethodName:publishEvent:[new InteractiveAuthenticationSuccessEvent(authResult,this.getClass())] @AT@ 6997 @LENGTH@ 104
|
||||
---------UPD ClassInstanceCreation@@InteractiveAuthenticationSuccesEvent[authResult, this.getClass()] @TO@ InteractiveAuthenticationSuccessEvent[authResult, this.getClass()] @AT@ 7010 @LENGTH@ 90
|
||||
------------UPD SimpleType@@InteractiveAuthenticationSuccesEvent @TO@ InteractiveAuthenticationSuccessEvent @AT@ 7014 @LENGTH@ 36
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(FileSystemUtilsTestCase.class)) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 1504 @LENGTH@ 60
|
||||
---INS MethodInvocation@@suite.addTest(new TestSuite(FileSystemUtilsTestCase.class)) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(FileSystemUtilsTestCase.class)) @AT@ 1504 @LENGTH@ 59
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(new TestSuite(FileSystemUtilsTestCase.class)) @AT@ 1504 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[new TestSuite(FileSystemUtilsTestCase.class)] @TO@ MethodInvocation@@suite.addTest(new TestSuite(FileSystemUtilsTestCase.class)) @AT@ 1510 @LENGTH@ 53
|
||||
---------INS ClassInstanceCreation@@TestSuite[FileSystemUtilsTestCase.class] @TO@ SimpleName@@MethodName:addTest:[new TestSuite(FileSystemUtilsTestCase.class)] @AT@ 1518 @LENGTH@ 44
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@TestSuite[FileSystemUtilsTestCase.class] @AT@ 1518 @LENGTH@ 3
|
||||
------------INS SimpleType@@TestSuite @TO@ ClassInstanceCreation@@TestSuite[FileSystemUtilsTestCase.class] @AT@ 1522 @LENGTH@ 9
|
||||
------------INS TypeLiteral@@FileSystemUtilsTestCase.class @TO@ ClassInstanceCreation@@TestSuite[FileSystemUtilsTestCase.class] @AT@ 1532 @LENGTH@ 29
|
||||
|
||||
|
||||
UPD IfStatement@@if (PROTOCOL_FILE.equals(url.getProtocol())) { try { return new File(URLDecoder.decode(url.getPath(),ENCODING)); } catch ( UnsupportedEncodingException uex) { return null; }} else { return null;} @TO@ if (PROTOCOL_FILE.equals(url.getProtocol())) { return new File(URLDecoder.decode(url.getPath()));} else { return null;} @AT@ 13567 @LENGTH@ 399
|
||||
---UPD Block@@ThenBody:{ try { return new File(URLDecoder.decode(url.getPath(),ENCODING)); } catch ( UnsupportedEncodingException uex) { return null; }} @TO@ ThenBody:{ return new File(URLDecoder.decode(url.getPath()));} @AT@ 13620 @LENGTH@ 288
|
||||
------INS ReturnStatement@@ClassInstanceCreation:new File(URLDecoder.decode(url.getPath())) @TO@ Block@@ThenBody:{ try { return new File(URLDecoder.decode(url.getPath(),ENCODING)); } catch ( UnsupportedEncodingException uex) { return null; }} @AT@ 13533 @LENGTH@ 50
|
||||
---------MOV ClassInstanceCreation@@File[URLDecoder.decode(url.getPath(),ENCODING)] @TO@ ReturnStatement@@ClassInstanceCreation:new File(URLDecoder.decode(url.getPath())) @AT@ 13675 @LENGTH@ 52
|
||||
------DEL TryStatement@@try { return new File(URLDecoder.decode(url.getPath(),ENCODING));} catch (UnsupportedEncodingException uex) { return null;} @AT@ 13634 @LENGTH@ 264
|
||||
---------DEL ReturnStatement@@ClassInstanceCreation:new File(URLDecoder.decode(url.getPath(),ENCODING)) @AT@ 13668 @LENGTH@ 60
|
||||
---------DEL CatchClause@@catch (UnsupportedEncodingException uex) { return null;} @AT@ 13755 @LENGTH@ 143
|
||||
------------DEL SingleVariableDeclaration@@UnsupportedEncodingException uex @AT@ 13762 @LENGTH@ 32
|
||||
---------------DEL SimpleType@@UnsupportedEncodingException @AT@ 13762 @LENGTH@ 28
|
||||
---------------DEL SimpleName@@uex @AT@ 13791 @LENGTH@ 3
|
||||
------------DEL ReturnStatement@@NullLiteral:null @AT@ 13872 @LENGTH@ 12
|
||||
---------------DEL NullLiteral@@null @AT@ 13879 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@ArrayNode node=(ArrayNode)digester.peek(); @TO@ ArrayNode node=(ArrayNode)getDigester().peek(); @AT@ 8470 @LENGTH@ 45
|
||||
---UPD VariableDeclarationFragment@@node=(ArrayNode)digester.peek() @TO@ node=(ArrayNode)getDigester().peek() @AT@ 8480 @LENGTH@ 34
|
||||
------UPD CastExpression@@(ArrayNode)digester.peek() @TO@ (ArrayNode)getDigester().peek() @AT@ 8487 @LENGTH@ 27
|
||||
---------UPD MethodInvocation@@digester.peek() @TO@ getDigester().peek() @AT@ 8499 @LENGTH@ 15
|
||||
------------INS MethodInvocation@@MethodName:getDigester:[] @TO@ MethodInvocation@@digester.peek() @AT@ 8499 @LENGTH@ 13
|
||||
------------DEL SimpleName@@Name:digester @AT@ 8499 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ReturnStatement@@MethodInvocation:keyBuffer.hashCode() @TO@ MethodInvocation:keyBuffer.toString().hashCode() @AT@ 8417 @LENGTH@ 28
|
||||
---UPD MethodInvocation@@keyBuffer.hashCode() @TO@ keyBuffer.toString().hashCode() @AT@ 8424 @LENGTH@ 20
|
||||
------INS MethodInvocation@@MethodName:toString:[] @TO@ MethodInvocation@@keyBuffer.hashCode() @AT@ 8424 @LENGTH@ 20
|
||||
|
||||
|
||||
INS IfStatement@@if (name == null) { return null;} @TO@ MethodDeclaration@@public, static, URL, MethodName:locate, String base, String name, @AT@ 7922 @LENGTH@ 107
|
||||
---INS InfixExpression@@name == null @TO@ IfStatement@@if (name == null) { return null;} @AT@ 7926 @LENGTH@ 12
|
||||
------INS SimpleName@@name @TO@ InfixExpression@@name == null @AT@ 7926 @LENGTH@ 4
|
||||
------INS Operator@@== @TO@ InfixExpression@@name == null @AT@ 7930 @LENGTH@ 2
|
||||
------INS NullLiteral@@null @TO@ InfixExpression@@name == null @AT@ 7934 @LENGTH@ 4
|
||||
---INS Block@@ThenBody:{ return null;} @TO@ IfStatement@@if (name == null) { return null;} @AT@ 7948 @LENGTH@ 81
|
||||
------INS ReturnStatement@@NullLiteral:null @TO@ Block@@ThenBody:{ return null;} @AT@ 8007 @LENGTH@ 12
|
||||
---------INS NullLiteral@@null @TO@ ReturnStatement@@NullLiteral:null @AT@ 8014 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, static, void, MethodName:evictIfRequired, Object daoOrServices, Collection<Object> collection, @TO@ public, static, void, MethodName:evictIfRequired, Object daoOrServices, Collection<? extends Object> collection, @AT@ 3564 @LENGTH@ 591
|
||||
---UPD SingleVariableDeclaration@@Collection<Object> collection @TO@ Collection<? extends Object> collection @AT@ 3629 @LENGTH@ 29
|
||||
------UPD ParameterizedType@@Collection<Object> @TO@ Collection<? extends Object> @AT@ 3629 @LENGTH@ 18
|
||||
---------INS WildcardType@@? @TO@ ParameterizedType@@Collection<Object> @AT@ 3640 @LENGTH@ 16
|
||||
---------DEL SimpleType@@Object @AT@ 3640 @LENGTH@ 6
|
||||
---UPD VariableDeclarationStatement@@Iterator<Object> iter=collection.iterator(); @TO@ Iterator<? extends Object> iter=collection.iterator(); @AT@ 3881 @LENGTH@ 46
|
||||
------UPD ParameterizedType@@Iterator<Object> @TO@ Iterator<? extends Object> @AT@ 3881 @LENGTH@ 16
|
||||
---------DEL SimpleType@@Object @AT@ 3890 @LENGTH@ 6
|
||||
---------INS WildcardType@@? @TO@ ParameterizedType@@Iterator<Object> @AT@ 3900 @LENGTH@ 16
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())) @TO@ MethodInvocation:context.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())) @AT@ 5129 @LENGTH@ 193
|
||||
---UPD MethodInvocation@@context.publishEvent(new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())) @TO@ context.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())) @AT@ 5129 @LENGTH@ 192
|
||||
------UPD SimpleName@@MethodName:publishEvent:[new InteractiveAuthenticationSuccesEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())] @TO@ MethodName:publishEvent:[new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())] @AT@ 5137 @LENGTH@ 184
|
||||
---------UPD ClassInstanceCreation@@InteractiveAuthenticationSuccesEvent[SecurityContextHolder.getContext().getAuthentication(), this.getClass()] @TO@ InteractiveAuthenticationSuccessEvent[SecurityContextHolder.getContext().getAuthentication(), this.getClass()] @AT@ 5150 @LENGTH@ 170
|
||||
------------UPD SimpleType@@InteractiveAuthenticationSuccesEvent @TO@ InteractiveAuthenticationSuccessEvent @AT@ 5154 @LENGTH@ 36
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:junit.textui.TestRunner.run(MethodDefinitionSourceEditorTests.class) @TO@ MethodInvocation:junit.textui.TestRunner.run(MethodDefinitionSourceEditorTigerTests.class) @AT@ 1831 @LENGTH@ 69
|
||||
---UPD MethodInvocation@@junit.textui.TestRunner.run(MethodDefinitionSourceEditorTests.class) @TO@ junit.textui.TestRunner.run(MethodDefinitionSourceEditorTigerTests.class) @AT@ 1831 @LENGTH@ 68
|
||||
------UPD SimpleName@@MethodName:run:[MethodDefinitionSourceEditorTests.class] @TO@ MethodName:run:[MethodDefinitionSourceEditorTigerTests.class] @AT@ 1855 @LENGTH@ 44
|
||||
---------UPD TypeLiteral@@MethodDefinitionSourceEditorTests.class @TO@ MethodDefinitionSourceEditorTigerTests.class @AT@ 1859 @LENGTH@ 39
|
||||
|
||||
|
||||
UPD IfStatement@@if ((obj != null) && obj instanceof User) { originalUser=(User)obj;} @TO@ if ((obj != null) && obj instanceof UserDetails) { originalUser=(UserDetails)obj;} @AT@ 10158 @LENGTH@ 92
|
||||
---UPD InfixExpression@@(obj != null) && obj instanceof User @TO@ (obj != null) && obj instanceof UserDetails @AT@ 10162 @LENGTH@ 36
|
||||
------UPD InstanceofExpression@@obj instanceof User @TO@ obj instanceof UserDetails @AT@ 10179 @LENGTH@ 19
|
||||
---------UPD SimpleType@@User @TO@ UserDetails @AT@ 10194 @LENGTH@ 4
|
||||
---UPD Block@@ThenBody:{ originalUser=(User)obj;} @TO@ ThenBody:{ originalUser=(UserDetails)obj;} @AT@ 10200 @LENGTH@ 50
|
||||
------UPD ExpressionStatement@@Assignment:originalUser=(User)obj @TO@ Assignment:originalUser=(UserDetails)obj @AT@ 10214 @LENGTH@ 26
|
||||
---------UPD Assignment@@originalUser=(User)obj @TO@ originalUser=(UserDetails)obj @AT@ 10214 @LENGTH@ 25
|
||||
------------UPD CastExpression@@(User)obj @TO@ (UserDetails)obj @AT@ 10229 @LENGTH@ 10
|
||||
---------------UPD SimpleType@@User @TO@ UserDetails @AT@ 10230 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:context.publishEvent(new InteractiveAuthenticationSuccesEvent(authResult,this.getClass())) @TO@ MethodInvocation:context.publishEvent(new InteractiveAuthenticationSuccessEvent(authResult,this.getClass())) @AT@ 15193 @LENGTH@ 113
|
||||
---UPD MethodInvocation@@context.publishEvent(new InteractiveAuthenticationSuccesEvent(authResult,this.getClass())) @TO@ context.publishEvent(new InteractiveAuthenticationSuccessEvent(authResult,this.getClass())) @AT@ 15193 @LENGTH@ 112
|
||||
------UPD SimpleName@@MethodName:publishEvent:[new InteractiveAuthenticationSuccesEvent(authResult,this.getClass())] @TO@ MethodName:publishEvent:[new InteractiveAuthenticationSuccessEvent(authResult,this.getClass())] @AT@ 15201 @LENGTH@ 104
|
||||
---------UPD ClassInstanceCreation@@InteractiveAuthenticationSuccesEvent[authResult, this.getClass()] @TO@ InteractiveAuthenticationSuccessEvent[authResult, this.getClass()] @AT@ 15214 @LENGTH@ 90
|
||||
------------UPD SimpleType@@InteractiveAuthenticationSuccesEvent @TO@ InteractiveAuthenticationSuccessEvent @AT@ 15218 @LENGTH@ 36
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:config.setURL(new URL("jar:file:/D:/data/projects/OpenSource/commons-configuration/conf/resources.jar!/test-jar.xml")) @TO@ MethodInvocation:config.setURL(new URL("jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml")) @AT@ 4194 @LENGTH@ 119
|
||||
---UPD MethodInvocation@@config.setURL(new URL("jar:file:/D:/data/projects/OpenSource/commons-configuration/conf/resources.jar!/test-jar.xml")) @TO@ config.setURL(new URL("jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml")) @AT@ 4194 @LENGTH@ 118
|
||||
------UPD SimpleName@@MethodName:setURL:[new URL("jar:file:/D:/data/projects/OpenSource/commons-configuration/conf/resources.jar!/test-jar.xml")] @TO@ MethodName:setURL:[new URL("jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml")] @AT@ 4201 @LENGTH@ 111
|
||||
---------UPD ClassInstanceCreation@@URL["jar:file:/D:/data/projects/OpenSource/commons-configuration/conf/resources.jar!/test-jar.xml"] @TO@ URL["jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml"] @AT@ 4208 @LENGTH@ 103
|
||||
------------INS InfixExpression@@"jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml" @TO@ ClassInstanceCreation@@URL["jar:file:/D:/data/projects/OpenSource/commons-configuration/conf/resources.jar!/test-jar.xml"] @AT@ 4192 @LENGTH@ 84
|
||||
---------------INS StringLiteral@@"jar:" @TO@ InfixExpression@@"jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml" @AT@ 4192 @LENGTH@ 6
|
||||
---------------INS Operator@@+ @TO@ InfixExpression@@"jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml" @AT@ 4198 @LENGTH@ 1
|
||||
---------------INS MethodInvocation@@new File("conf/resources.jar").getAbsoluteFile().toURL() @TO@ InfixExpression@@"jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml" @AT@ 4201 @LENGTH@ 56
|
||||
------------------INS MethodInvocation@@MethodName:getAbsoluteFile:[] @TO@ MethodInvocation@@new File("conf/resources.jar").getAbsoluteFile().toURL() @AT@ 4201 @LENGTH@ 48
|
||||
------------------INS ClassInstanceCreation@@File["conf/resources.jar"] @TO@ MethodInvocation@@new File("conf/resources.jar").getAbsoluteFile().toURL() @AT@ 4201 @LENGTH@ 30
|
||||
---------------------INS New@@new @TO@ ClassInstanceCreation@@File["conf/resources.jar"] @AT@ 4201 @LENGTH@ 3
|
||||
---------------------INS SimpleType@@File @TO@ ClassInstanceCreation@@File["conf/resources.jar"] @AT@ 4205 @LENGTH@ 4
|
||||
---------------------MOV StringLiteral@@"jar:file:/D:/data/projects/OpenSource/commons-configuration/conf/resources.jar!/test-jar.xml" @TO@ ClassInstanceCreation@@File["conf/resources.jar"] @AT@ 4216 @LENGTH@ 94
|
||||
------------------INS SimpleName@@MethodName:toURL:[] @TO@ MethodInvocation@@new File("conf/resources.jar").getAbsoluteFile().toURL() @AT@ 4250 @LENGTH@ 7
|
||||
---------------INS StringLiteral@@"!/test-jar.xml" @TO@ InfixExpression@@"jar:" + new File("conf/resources.jar").getAbsoluteFile().toURL() + "!/test-jar.xml" @AT@ 4260 @LENGTH@ 16
|
||||
------------UPD StringLiteral@@"jar:file:/D:/data/projects/OpenSource/commons-configuration/conf/resources.jar!/test-jar.xml" @TO@ "conf/resources.jar" @AT@ 4216 @LENGTH@ 94
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:targetUserRequest=new UsernamePasswordAuthenticationToken(username,targetUser.getPassword(),authorities) @TO@ Assignment:targetUserRequest=new UsernamePasswordAuthenticationToken(targetUser,targetUser.getPassword(),authorities) @AT@ 17091 @LENGTH@ 125
|
||||
---UPD Assignment@@targetUserRequest=new UsernamePasswordAuthenticationToken(username,targetUser.getPassword(),authorities) @TO@ targetUserRequest=new UsernamePasswordAuthenticationToken(targetUser,targetUser.getPassword(),authorities) @AT@ 17091 @LENGTH@ 124
|
||||
------UPD ClassInstanceCreation@@UsernamePasswordAuthenticationToken[username, targetUser.getPassword(), authorities] @TO@ UsernamePasswordAuthenticationToken[targetUser, targetUser.getPassword(), authorities] @AT@ 17111 @LENGTH@ 104
|
||||
---------UPD SimpleName@@username @TO@ targetUser @AT@ 17151 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD IfStatement@@if (isSeparator(basePath.charAt(len - 1))) { return normalize(basePath + fullFilenameToAdd);} else { return normalize(basePath + '/' + fullFilenameToAdd);} @TO@ if (isSeparator(ch)) { return normalize(basePath + fullFilenameToAdd);} else { return normalize(basePath + '/' + fullFilenameToAdd);} @AT@ 10902 @LENGTH@ 197
|
||||
---UPD MethodInvocation@@isSeparator(basePath.charAt(len - 1)) @TO@ isSeparator(ch) @AT@ 10906 @LENGTH@ 37
|
||||
------UPD SimpleName@@MethodName:isSeparator:[basePath.charAt(len - 1)] @TO@ MethodName:isSeparator:[ch] @AT@ 10906 @LENGTH@ 37
|
||||
---------DEL MethodInvocation@@basePath.charAt(len - 1) @AT@ 10918 @LENGTH@ 24
|
||||
------------DEL SimpleName@@Name:basePath @AT@ 10918 @LENGTH@ 8
|
||||
------------DEL SimpleName@@MethodName:charAt:[len - 1] @AT@ 10927 @LENGTH@ 15
|
||||
---------------DEL InfixExpression@@len - 1 @AT@ 10934 @LENGTH@ 7
|
||||
------------------DEL SimpleName@@len @AT@ 10934 @LENGTH@ 3
|
||||
------------------DEL Operator@@- @AT@ 10937 @LENGTH@ 1
|
||||
------------------DEL NumberLiteral@@1 @AT@ 10940 @LENGTH@ 1
|
||||
---------INS SimpleName@@ch @TO@ SimpleName@@MethodName:isSeparator:[basePath.charAt(len - 1)] @AT@ 10918 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD VariableDeclarationStatement@@int idx=key.indexOf(INDEX_START); @TO@ int idx=key.lastIndexOf(INDEX_START); @AT@ 16362 @LENGTH@ 35
|
||||
---UPD VariableDeclarationFragment@@idx=key.indexOf(INDEX_START) @TO@ idx=key.lastIndexOf(INDEX_START) @AT@ 16366 @LENGTH@ 30
|
||||
------UPD MethodInvocation@@key.indexOf(INDEX_START) @TO@ key.lastIndexOf(INDEX_START) @AT@ 16372 @LENGTH@ 24
|
||||
---------UPD SimpleName@@MethodName:indexOf:[INDEX_START] @TO@ MethodName:lastIndexOf:[INDEX_START] @AT@ 16376 @LENGTH@ 20
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals(found,cis.getCount()) @TO@ MethodInvocation:assertEquals(found,count) @AT@ 2663 @LENGTH@ 38
|
||||
---UPD MethodInvocation@@assertEquals(found,cis.getCount()) @TO@ assertEquals(found,count) @AT@ 2663 @LENGTH@ 37
|
||||
------UPD SimpleName@@MethodName:assertEquals:[found, cis.getCount()] @TO@ MethodName:assertEquals:[found, count] @AT@ 2663 @LENGTH@ 37
|
||||
---------INS SimpleName@@count @TO@ SimpleName@@MethodName:assertEquals:[found, cis.getCount()] @AT@ 2659 @LENGTH@ 5
|
||||
---------DEL MethodInvocation@@cis.getCount() @AT@ 2684 @LENGTH@ 14
|
||||
------------DEL SimpleName@@Name:cis @AT@ 2684 @LENGTH@ 3
|
||||
------------DEL SimpleName@@MethodName:getCount:[] @AT@ 2688 @LENGTH@ 10
|
||||
|
||||
|
||||
UPD Block@@ThenBody:{ NameCallback ncb=(NameCallback)callback; ncb.setName(authentication.getPrincipal().toString());} @TO@ ThenBody:{ NameCallback ncb=(NameCallback)callback; String username=""; Object principal=authentication.getPrincipal(); if (principal instanceof UserDetails) { username=((UserDetails)principal).getUsername(); } else { username=principal.toString(); } ncb.setName(username);} @AT@ 2153 @LENGTH@ 134
|
||||
---UPD ExpressionStatement@@MethodInvocation:ncb.setName(authentication.getPrincipal().toString()) @TO@ MethodInvocation:ncb.setName(username) @AT@ 2223 @LENGTH@ 54
|
||||
------UPD MethodInvocation@@ncb.setName(authentication.getPrincipal().toString()) @TO@ ncb.setName(username) @AT@ 2223 @LENGTH@ 53
|
||||
---------UPD SimpleName@@MethodName:setName:[authentication.getPrincipal().toString()] @TO@ MethodName:setName:[username] @AT@ 2227 @LENGTH@ 49
|
||||
------------DEL MethodInvocation@@authentication.getPrincipal().toString() @AT@ 2235 @LENGTH@ 40
|
||||
---------------DEL MethodInvocation@@MethodName:getPrincipal:[] @AT@ 2235 @LENGTH@ 29
|
||||
---------------DEL SimpleName@@Name:authentication @AT@ 2235 @LENGTH@ 14
|
||||
---------------DEL SimpleName@@MethodName:toString:[] @AT@ 2265 @LENGTH@ 10
|
||||
------------INS SimpleName@@username @TO@ SimpleName@@MethodName:setName:[authentication.getPrincipal().toString()] @AT@ 2584 @LENGTH@ 8
|
||||
---INS VariableDeclarationStatement@@String username=""; @TO@ Block@@ThenBody:{ NameCallback ncb=(NameCallback)callback; ncb.setName(authentication.getPrincipal().toString());} @AT@ 2270 @LENGTH@ 21
|
||||
------INS SimpleType@@String @TO@ VariableDeclarationStatement@@String username=""; @AT@ 2270 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@username="" @TO@ VariableDeclarationStatement@@String username=""; @AT@ 2277 @LENGTH@ 13
|
||||
---------INS SimpleName@@username @TO@ VariableDeclarationFragment@@username="" @AT@ 2277 @LENGTH@ 8
|
||||
---------INS StringLiteral@@"" @TO@ VariableDeclarationFragment@@username="" @AT@ 2288 @LENGTH@ 2
|
||||
---INS VariableDeclarationStatement@@Object principal=authentication.getPrincipal(); @TO@ Block@@ThenBody:{ NameCallback ncb=(NameCallback)callback; ncb.setName(authentication.getPrincipal().toString());} @AT@ 2305 @LENGTH@ 49
|
||||
------INS SimpleType@@Object @TO@ VariableDeclarationStatement@@Object principal=authentication.getPrincipal(); @AT@ 2305 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@principal=authentication.getPrincipal() @TO@ VariableDeclarationStatement@@Object principal=authentication.getPrincipal(); @AT@ 2312 @LENGTH@ 41
|
||||
---------INS SimpleName@@principal @TO@ VariableDeclarationFragment@@principal=authentication.getPrincipal() @AT@ 2312 @LENGTH@ 9
|
||||
---------INS MethodInvocation@@authentication.getPrincipal() @TO@ VariableDeclarationFragment@@principal=authentication.getPrincipal() @AT@ 2324 @LENGTH@ 29
|
||||
------------INS SimpleName@@Name:authentication @TO@ MethodInvocation@@authentication.getPrincipal() @AT@ 2324 @LENGTH@ 14
|
||||
------------INS SimpleName@@MethodName:getPrincipal:[] @TO@ MethodInvocation@@authentication.getPrincipal() @AT@ 2339 @LENGTH@ 14
|
||||
---INS IfStatement@@if (principal instanceof UserDetails) { username=((UserDetails)principal).getUsername();} else { username=principal.toString();} @TO@ Block@@ThenBody:{ NameCallback ncb=(NameCallback)callback; ncb.setName(authentication.getPrincipal().toString());} @AT@ 2367 @LENGTH@ 191
|
||||
------INS InstanceofExpression@@principal instanceof UserDetails @TO@ IfStatement@@if (principal instanceof UserDetails) { username=((UserDetails)principal).getUsername();} else { username=principal.toString();} @AT@ 2371 @LENGTH@ 32
|
||||
---------INS SimpleName@@principal @TO@ InstanceofExpression@@principal instanceof UserDetails @AT@ 2371 @LENGTH@ 9
|
||||
---------INS Instanceof@@instanceof @TO@ InstanceofExpression@@principal instanceof UserDetails @AT@ 2381 @LENGTH@ 10
|
||||
---------INS SimpleType@@UserDetails @TO@ InstanceofExpression@@principal instanceof UserDetails @AT@ 2392 @LENGTH@ 11
|
||||
------INS Block@@ThenBody:{ username=((UserDetails)principal).getUsername();} @TO@ IfStatement@@if (principal instanceof UserDetails) { username=((UserDetails)principal).getUsername();} else { username=principal.toString();} @AT@ 2405 @LENGTH@ 83
|
||||
---------INS ExpressionStatement@@Assignment:username=((UserDetails)principal).getUsername() @TO@ Block@@ThenBody:{ username=((UserDetails)principal).getUsername();} @AT@ 2423 @LENGTH@ 51
|
||||
------------INS Assignment@@username=((UserDetails)principal).getUsername() @TO@ ExpressionStatement@@Assignment:username=((UserDetails)principal).getUsername() @AT@ 2423 @LENGTH@ 50
|
||||
---------------INS SimpleName@@username @TO@ Assignment@@username=((UserDetails)principal).getUsername() @AT@ 2423 @LENGTH@ 8
|
||||
---------------INS Operator@@= @TO@ Assignment@@username=((UserDetails)principal).getUsername() @AT@ 2431 @LENGTH@ 1
|
||||
---------------INS MethodInvocation@@((UserDetails)principal).getUsername() @TO@ Assignment@@username=((UserDetails)principal).getUsername() @AT@ 2434 @LENGTH@ 39
|
||||
------------------INS ParenthesizedExpression@@((UserDetails)principal) @TO@ MethodInvocation@@((UserDetails)principal).getUsername() @AT@ 2434 @LENGTH@ 25
|
||||
---------------------INS CastExpression@@(UserDetails)principal @TO@ ParenthesizedExpression@@((UserDetails)principal) @AT@ 2435 @LENGTH@ 23
|
||||
------------------------INS SimpleType@@UserDetails @TO@ CastExpression@@(UserDetails)principal @AT@ 2436 @LENGTH@ 11
|
||||
------------------------INS SimpleName@@principal @TO@ CastExpression@@(UserDetails)principal @AT@ 2449 @LENGTH@ 9
|
||||
------------------INS SimpleName@@MethodName:getUsername:[] @TO@ MethodInvocation@@((UserDetails)principal).getUsername() @AT@ 2460 @LENGTH@ 13
|
||||
------INS Block@@ElseBody:{ username=principal.toString();} @TO@ IfStatement@@if (principal instanceof UserDetails) { username=((UserDetails)principal).getUsername();} else { username=principal.toString();} @AT@ 2494 @LENGTH@ 64
|
||||
---------INS ExpressionStatement@@Assignment:username=principal.toString() @TO@ Block@@ElseBody:{ username=principal.toString();} @AT@ 2512 @LENGTH@ 32
|
||||
------------INS Assignment@@username=principal.toString() @TO@ ExpressionStatement@@Assignment:username=principal.toString() @AT@ 2512 @LENGTH@ 31
|
||||
---------------INS SimpleName@@username @TO@ Assignment@@username=principal.toString() @AT@ 2512 @LENGTH@ 8
|
||||
---------------INS Operator@@= @TO@ Assignment@@username=principal.toString() @AT@ 2520 @LENGTH@ 1
|
||||
---------------INS MethodInvocation@@principal.toString() @TO@ Assignment@@username=principal.toString() @AT@ 2523 @LENGTH@ 20
|
||||
------------------INS SimpleName@@Name:principal @TO@ MethodInvocation@@principal.toString() @AT@ 2523 @LENGTH@ 9
|
||||
------------------INS SimpleName@@MethodName:toString:[] @TO@ MethodInvocation@@principal.toString() @AT@ 2533 @LENGTH@ 10
|
||||
|
||||
|
||||
DEL FieldDeclaration@@static, final, String, [ENCODING="UTF-8"] @AT@ 1388 @LENGTH@ 39
|
||||
---DEL Modifier@@static @AT@ 1388 @LENGTH@ 6
|
||||
---DEL Modifier@@final @AT@ 1395 @LENGTH@ 5
|
||||
---DEL SimpleType@@String @AT@ 1401 @LENGTH@ 6
|
||||
---DEL VariableDeclarationFragment@@ENCODING="UTF-8" @AT@ 1408 @LENGTH@ 18
|
||||
------DEL SimpleName@@ENCODING @AT@ 1408 @LENGTH@ 8
|
||||
------DEL StringLiteral@@"UTF-8" @AT@ 1419 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:this.sessionId=request.getSession(forceSessionCreation).getId() @TO@ Assignment:this.sessionId=session != null ? session.getId() : null @AT@ 1798 @LENGTH@ 66
|
||||
---UPD Assignment@@this.sessionId=request.getSession(forceSessionCreation).getId() @TO@ this.sessionId=session != null ? session.getId() : null @AT@ 1798 @LENGTH@ 65
|
||||
------DEL MethodInvocation@@request.getSession(forceSessionCreation).getId() @AT@ 1815 @LENGTH@ 48
|
||||
---------DEL MethodInvocation@@MethodName:getSession:[forceSessionCreation] @AT@ 1815 @LENGTH@ 40
|
||||
------------DEL SimpleName@@forceSessionCreation @AT@ 1834 @LENGTH@ 20
|
||||
------INS ConditionalExpression@@session != null ? session.getId() : null @TO@ Assignment@@this.sessionId=request.getSession(forceSessionCreation).getId() @AT@ 1926 @LENGTH@ 40
|
||||
---------INS InfixExpression@@session != null @TO@ ConditionalExpression@@session != null ? session.getId() : null @AT@ 1926 @LENGTH@ 15
|
||||
------------INS SimpleName@@session @TO@ InfixExpression@@session != null @AT@ 1926 @LENGTH@ 7
|
||||
------------INS Operator@@!= @TO@ InfixExpression@@session != null @AT@ 1933 @LENGTH@ 2
|
||||
------------INS NullLiteral@@null @TO@ InfixExpression@@session != null @AT@ 1937 @LENGTH@ 4
|
||||
---------INS MethodInvocation@@session.getId() @TO@ ConditionalExpression@@session != null ? session.getId() : null @AT@ 1944 @LENGTH@ 15
|
||||
------------MOV SimpleName@@Name:request @TO@ MethodInvocation@@session.getId() @AT@ 1815 @LENGTH@ 7
|
||||
------------MOV SimpleName@@MethodName:getId:[] @TO@ MethodInvocation@@session.getId() @AT@ 1856 @LENGTH@ 7
|
||||
---------INS NullLiteral@@null @TO@ ConditionalExpression@@session != null ? session.getId() : null @AT@ 1962 @LENGTH@ 4
|
||||
@@ -0,0 +1,910 @@
|
||||
INS MethodDeclaration@@protected, InitialDirContextFactory, MethodName:getInitialDirContextFactory, @TO@ TypeDeclaration@@[public]DefaultLdapAuthoritiesPopulator, [LdapAuthoritiesPopulator] @AT@ 11620 @LENGTH@ 113
|
||||
---INS Modifier@@protected @TO@ MethodDeclaration@@protected, InitialDirContextFactory, MethodName:getInitialDirContextFactory, @AT@ 11620 @LENGTH@ 9
|
||||
---INS SimpleType@@InitialDirContextFactory @TO@ MethodDeclaration@@protected, InitialDirContextFactory, MethodName:getInitialDirContextFactory, @AT@ 11630 @LENGTH@ 24
|
||||
---INS SimpleName@@MethodName:getInitialDirContextFactory @TO@ MethodDeclaration@@protected, InitialDirContextFactory, MethodName:getInitialDirContextFactory, @AT@ 11655 @LENGTH@ 27
|
||||
---INS ReturnStatement@@SimpleName:initialDirContextFactory @TO@ MethodDeclaration@@protected, InitialDirContextFactory, MethodName:getInitialDirContextFactory, @AT@ 11695 @LENGTH@ 32
|
||||
------INS SimpleName@@initialDirContextFactory @TO@ ReturnStatement@@SimpleName:initialDirContextFactory @AT@ 11702 @LENGTH@ 24
|
||||
|
||||
|
||||
UPD FieldDeclaration@@private, String, [managerPassword=null] @TO@ private, String, [managerPassword="manager_password_not_set"] @AT@ 3703 @LENGTH@ 38
|
||||
---UPD VariableDeclarationFragment@@managerPassword=null @TO@ managerPassword="manager_password_not_set" @AT@ 3718 @LENGTH@ 22
|
||||
------INS StringLiteral@@"manager_password_not_set" @TO@ VariableDeclarationFragment@@managerPassword=null @AT@ 3736 @LENGTH@ 26
|
||||
------DEL NullLiteral@@null @AT@ 3736 @LENGTH@ 4
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:tearDown, @TO@ TypeDeclaration@@[public]CaptchaChannelProcessorTemplateTests, TestCase @AT@ 1496 @LENGTH@ 76
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:tearDown, @AT@ 1496 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:tearDown, @AT@ 1503 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:tearDown @TO@ MethodDeclaration@@public, void, MethodName:tearDown, @AT@ 1508 @LENGTH@ 8
|
||||
---INS ExpressionStatement@@MethodInvocation:SecurityContextHolder.clearContext() @TO@ MethodDeclaration@@public, void, MethodName:tearDown, @AT@ 1529 @LENGTH@ 37
|
||||
------INS MethodInvocation@@SecurityContextHolder.clearContext() @TO@ ExpressionStatement@@MethodInvocation:SecurityContextHolder.clearContext() @AT@ 1529 @LENGTH@ 36
|
||||
---------INS SimpleName@@Name:SecurityContextHolder @TO@ MethodInvocation@@SecurityContextHolder.clearContext() @AT@ 1529 @LENGTH@ 21
|
||||
---------INS SimpleName@@MethodName:clearContext:[] @TO@ MethodInvocation@@SecurityContextHolder.clearContext() @AT@ 1551 @LENGTH@ 14
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 1807 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 1807 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 1829 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 1840 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 1840 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 1844 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 4816 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 4816 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 4838 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 4849 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 4849 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 4853 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:authRequest.setDetails(new WebAuthenticationDetails(request)) @TO@ MethodInvocation:authRequest.setDetails(new WebAuthenticationDetails(request,false)) @AT@ 8669 @LENGTH@ 62
|
||||
---UPD MethodInvocation@@authRequest.setDetails(new WebAuthenticationDetails(request)) @TO@ authRequest.setDetails(new WebAuthenticationDetails(request,false)) @AT@ 8669 @LENGTH@ 61
|
||||
------UPD SimpleName@@MethodName:setDetails:[new WebAuthenticationDetails(request)] @TO@ MethodName:setDetails:[new WebAuthenticationDetails(request,false)] @AT@ 8681 @LENGTH@ 49
|
||||
---------UPD ClassInstanceCreation@@WebAuthenticationDetails[request] @TO@ WebAuthenticationDetails[request, false] @AT@ 8692 @LENGTH@ 37
|
||||
------------INS BooleanLiteral@@false @TO@ ClassInstanceCreation@@WebAuthenticationDetails[request] @AT@ 8730 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 9950 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 9950 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 9972 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 9983 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 9983 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 9987 @LENGTH@ 19
|
||||
|
||||
|
||||
INS IfStatement@@if (context == null) { log.debug("The destroyed session has no SecurityContext"); return;} @TO@ MethodDeclaration@@protected, void, MethodName:handleLogout, HttpSessionDestroyedEvent event, @AT@ 16834 @LENGTH@ 123
|
||||
---INS InfixExpression@@context == null @TO@ IfStatement@@if (context == null) { log.debug("The destroyed session has no SecurityContext"); return;} @AT@ 16838 @LENGTH@ 15
|
||||
------INS SimpleName@@context @TO@ InfixExpression@@context == null @AT@ 16838 @LENGTH@ 7
|
||||
------INS Operator@@== @TO@ InfixExpression@@context == null @AT@ 16845 @LENGTH@ 2
|
||||
------INS NullLiteral@@null @TO@ InfixExpression@@context == null @AT@ 16849 @LENGTH@ 4
|
||||
---INS Block@@ThenBody:{ log.debug("The destroyed session has no SecurityContext"); return;} @TO@ IfStatement@@if (context == null) { log.debug("The destroyed session has no SecurityContext"); return;} @AT@ 16855 @LENGTH@ 102
|
||||
------INS ExpressionStatement@@MethodInvocation:log.debug("The destroyed session has no SecurityContext") @TO@ Block@@ThenBody:{ log.debug("The destroyed session has no SecurityContext"); return;} @AT@ 16869 @LENGTH@ 58
|
||||
---------INS MethodInvocation@@log.debug("The destroyed session has no SecurityContext") @TO@ ExpressionStatement@@MethodInvocation:log.debug("The destroyed session has no SecurityContext") @AT@ 16869 @LENGTH@ 57
|
||||
------------INS SimpleName@@Name:log @TO@ MethodInvocation@@log.debug("The destroyed session has no SecurityContext") @AT@ 16869 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:debug:["The destroyed session has no SecurityContext"] @TO@ MethodInvocation@@log.debug("The destroyed session has no SecurityContext") @AT@ 16873 @LENGTH@ 53
|
||||
---------------INS StringLiteral@@"The destroyed session has no SecurityContext" @TO@ SimpleName@@MethodName:debug:["The destroyed session has no SecurityContext"] @AT@ 16879 @LENGTH@ 46
|
||||
------INS ReturnStatement@@ @TO@ Block@@ThenBody:{ log.debug("The destroyed session has no SecurityContext"); return;} @AT@ 16940 @LENGTH@ 7
|
||||
|
||||
|
||||
UPD IfStatement@@if (auth instanceof JaasAuthenticationToken) { JaasAuthenticationToken token=(JaasAuthenticationToken)auth; try { LoginContext loginContext=token.getLoginContext(); if (loginContext != null) { log.debug("Logging principal: [" + token.getPrincipal() + "] out of LoginContext"); loginContext.logout(); } else { log.debug("Cannot logout principal: [" + token.getPrincipal() + "] from LoginContext. "+ "The LoginContext is unavailable"); } } catch ( LoginException e) { log.warn("Error error logging out of LoginContext",e); }} @TO@ if ((auth != null) && (auth instanceof JaasAuthenticationToken)) { JaasAuthenticationToken token=(JaasAuthenticationToken)auth; try { LoginContext loginContext=token.getLoginContext(); if (loginContext != null) { log.debug("Logging principal: [" + token.getPrincipal() + "] out of LoginContext"); loginContext.logout(); } else { log.debug("Cannot logout principal: [" + token.getPrincipal() + "] from LoginContext. "+ "The LoginContext is unavailable"); } } catch ( LoginException e) { log.warn("Error error logging out of LoginContext",e); }} @AT@ 16893 @LENGTH@ 754
|
||||
---DEL InstanceofExpression@@auth instanceof JaasAuthenticationToken @AT@ 16897 @LENGTH@ 39
|
||||
---INS InfixExpression@@(auth != null) && (auth instanceof JaasAuthenticationToken) @TO@ IfStatement@@if (auth instanceof JaasAuthenticationToken) { JaasAuthenticationToken token=(JaasAuthenticationToken)auth; try { LoginContext loginContext=token.getLoginContext(); if (loginContext != null) { log.debug("Logging principal: [" + token.getPrincipal() + "] out of LoginContext"); loginContext.logout(); } else { log.debug("Cannot logout principal: [" + token.getPrincipal() + "] from LoginContext. "+ "The LoginContext is unavailable"); } } catch ( LoginException e) { log.warn("Error error logging out of LoginContext",e); }} @AT@ 17029 @LENGTH@ 59
|
||||
------INS ParenthesizedExpression@@(auth != null) @TO@ InfixExpression@@(auth != null) && (auth instanceof JaasAuthenticationToken) @AT@ 17029 @LENGTH@ 14
|
||||
---------INS InfixExpression@@auth != null @TO@ ParenthesizedExpression@@(auth != null) @AT@ 17030 @LENGTH@ 12
|
||||
------------INS SimpleName@@auth @TO@ InfixExpression@@auth != null @AT@ 17030 @LENGTH@ 4
|
||||
------------INS Operator@@!= @TO@ InfixExpression@@auth != null @AT@ 17034 @LENGTH@ 2
|
||||
------------INS NullLiteral@@null @TO@ InfixExpression@@auth != null @AT@ 17038 @LENGTH@ 4
|
||||
------INS Operator@@&& @TO@ InfixExpression@@(auth != null) && (auth instanceof JaasAuthenticationToken) @AT@ 17043 @LENGTH@ 2
|
||||
------INS ParenthesizedExpression@@(auth instanceof JaasAuthenticationToken) @TO@ InfixExpression@@(auth != null) && (auth instanceof JaasAuthenticationToken) @AT@ 17047 @LENGTH@ 41
|
||||
---------INS InstanceofExpression@@auth instanceof JaasAuthenticationToken @TO@ ParenthesizedExpression@@(auth instanceof JaasAuthenticationToken) @AT@ 17048 @LENGTH@ 39
|
||||
------------MOV SimpleName@@auth @TO@ InstanceofExpression@@auth instanceof JaasAuthenticationToken @AT@ 16897 @LENGTH@ 4
|
||||
------------MOV Instanceof@@instanceof @TO@ InstanceofExpression@@auth instanceof JaasAuthenticationToken @AT@ 16902 @LENGTH@ 10
|
||||
------------MOV SimpleType@@JaasAuthenticationToken @TO@ InstanceofExpression@@auth instanceof JaasAuthenticationToken @AT@ 16913 @LENGTH@ 23
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:components[i]=Integer.parseInt(color.substring(i,i + 2),HEX_RADIX) @TO@ Assignment:components[i]=Integer.parseInt(color.substring(2 * i,2 * i + 2),HEX_RADIX) @AT@ 17023 @LENGTH@ 71
|
||||
---UPD Assignment@@components[i]=Integer.parseInt(color.substring(i,i + 2),HEX_RADIX) @TO@ components[i]=Integer.parseInt(color.substring(2 * i,2 * i + 2),HEX_RADIX) @AT@ 17023 @LENGTH@ 70
|
||||
------UPD MethodInvocation@@Integer.parseInt(color.substring(i,i + 2),HEX_RADIX) @TO@ Integer.parseInt(color.substring(2 * i,2 * i + 2),HEX_RADIX) @AT@ 17039 @LENGTH@ 54
|
||||
---------UPD SimpleName@@MethodName:parseInt:[color.substring(i,i + 2), HEX_RADIX] @TO@ MethodName:parseInt:[color.substring(2 * i,2 * i + 2), HEX_RADIX] @AT@ 17047 @LENGTH@ 46
|
||||
------------UPD MethodInvocation@@color.substring(i,i + 2) @TO@ color.substring(2 * i,2 * i + 2) @AT@ 17056 @LENGTH@ 25
|
||||
---------------UPD SimpleName@@MethodName:substring:[i, i + 2] @TO@ MethodName:substring:[2 * i, 2 * i + 2] @AT@ 17062 @LENGTH@ 19
|
||||
------------------INS InfixExpression@@2 * i @TO@ SimpleName@@MethodName:substring:[i, i + 2] @AT@ 17072 @LENGTH@ 5
|
||||
---------------------INS NumberLiteral@@2 @TO@ InfixExpression@@2 * i @AT@ 17072 @LENGTH@ 1
|
||||
---------------------INS Operator@@* @TO@ InfixExpression@@2 * i @AT@ 17073 @LENGTH@ 1
|
||||
---------------------INS SimpleName@@i @TO@ InfixExpression@@2 * i @AT@ 17076 @LENGTH@ 1
|
||||
------------------DEL SimpleName@@i @AT@ 17072 @LENGTH@ 1
|
||||
------------------UPD InfixExpression@@i + 2 @TO@ 2 * i + 2 @AT@ 17075 @LENGTH@ 5
|
||||
---------------------INS InfixExpression@@2 * i @TO@ InfixExpression@@i + 2 @AT@ 17079 @LENGTH@ 5
|
||||
------------------------MOV SimpleName@@i @TO@ InfixExpression@@2 * i @AT@ 17075 @LENGTH@ 1
|
||||
------------------------MOV SimpleName@@i @TO@ InfixExpression@@2 * i @AT@ 17075 @LENGTH@ 1
|
||||
------------------------INS NumberLiteral@@2 @TO@ InfixExpression@@2 * i @AT@ 17079 @LENGTH@ 1
|
||||
------------------------INS Operator@@* @TO@ InfixExpression@@2 * i @AT@ 17080 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 3616 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 3616 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 3638 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 3649 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 3649 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 3653 @LENGTH@ 19
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, static, void, MethodName:clearContext, @TO@ TypeDeclaration@@[public]SecurityContextHolder, @AT@ 3115 @LENGTH@ 179
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, static, void, MethodName:clearContext, @AT@ 3115 @LENGTH@ 6
|
||||
---INS Modifier@@static @TO@ MethodDeclaration@@public, static, void, MethodName:clearContext, @AT@ 3122 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, static, void, MethodName:clearContext, @AT@ 3129 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:clearContext @TO@ MethodDeclaration@@public, static, void, MethodName:clearContext, @AT@ 3134 @LENGTH@ 12
|
||||
---INS ExpressionStatement@@MethodInvocation:contextHolder.set(null) @TO@ MethodDeclaration@@public, static, void, MethodName:clearContext, @AT@ 3264 @LENGTH@ 24
|
||||
------INS MethodInvocation@@contextHolder.set(null) @TO@ ExpressionStatement@@MethodInvocation:contextHolder.set(null) @AT@ 3264 @LENGTH@ 23
|
||||
---------INS SimpleName@@Name:contextHolder @TO@ MethodInvocation@@contextHolder.set(null) @AT@ 3264 @LENGTH@ 13
|
||||
---------INS SimpleName@@MethodName:set:[null] @TO@ MethodInvocation@@contextHolder.set(null) @AT@ 3278 @LENGTH@ 9
|
||||
------------INS NullLiteral@@null @TO@ SimpleName@@MethodName:set:[null] @AT@ 3282 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 3912 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 3912 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 3934 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 3945 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 3945 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 3949 @LENGTH@ 19
|
||||
|
||||
|
||||
INS IfStatement@@if (predicates.length == 1) { return predicates[0];} @TO@ MethodDeclaration@@public, static, Predicate, MethodName:getInstance, Predicate[] predicates, @AT@ 1917 @LENGTH@ 73
|
||||
---INS InfixExpression@@predicates.length == 1 @TO@ IfStatement@@if (predicates.length == 1) { return predicates[0];} @AT@ 1921 @LENGTH@ 22
|
||||
------INS QualifiedName@@predicates.length @TO@ InfixExpression@@predicates.length == 1 @AT@ 1921 @LENGTH@ 17
|
||||
---------INS SimpleName@@predicates @TO@ QualifiedName@@predicates.length @AT@ 1921 @LENGTH@ 10
|
||||
---------INS SimpleName@@length @TO@ QualifiedName@@predicates.length @AT@ 1932 @LENGTH@ 6
|
||||
------INS Operator@@== @TO@ InfixExpression@@predicates.length == 1 @AT@ 1938 @LENGTH@ 2
|
||||
------INS NumberLiteral@@1 @TO@ InfixExpression@@predicates.length == 1 @AT@ 1942 @LENGTH@ 1
|
||||
---INS Block@@ThenBody:{ return predicates[0];} @TO@ IfStatement@@if (predicates.length == 1) { return predicates[0];} @AT@ 1945 @LENGTH@ 45
|
||||
------INS ReturnStatement@@ArrayAccess:predicates[0] @TO@ Block@@ThenBody:{ return predicates[0];} @AT@ 1959 @LENGTH@ 21
|
||||
---------INS ArrayAccess@@predicates[0] @TO@ ReturnStatement@@ArrayAccess:predicates[0] @AT@ 1966 @LENGTH@ 13
|
||||
------------INS SimpleName@@predicates @TO@ ArrayAccess@@predicates[0] @AT@ 1966 @LENGTH@ 10
|
||||
------------INS NumberLiteral@@0 @TO@ ArrayAccess@@predicates[0] @AT@ 1977 @LENGTH@ 1
|
||||
|
||||
|
||||
INS IfStatement@@if (groupSearchBase.length() == 0) { logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn());} @TO@ MethodDeclaration@@public, voidMethodName:DefaultLdapAuthoritiesPopulator, InitialDirContextFactory initialDirContextFactory, String groupSearchBase, @AT@ 7198 @LENGTH@ 201
|
||||
---INS InfixExpression@@groupSearchBase.length() == 0 @TO@ IfStatement@@if (groupSearchBase.length() == 0) { logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn());} @AT@ 7201 @LENGTH@ 29
|
||||
------INS MethodInvocation@@groupSearchBase.length() @TO@ InfixExpression@@groupSearchBase.length() == 0 @AT@ 7201 @LENGTH@ 24
|
||||
---------INS SimpleName@@Name:groupSearchBase @TO@ MethodInvocation@@groupSearchBase.length() @AT@ 7201 @LENGTH@ 15
|
||||
---------INS SimpleName@@MethodName:length:[] @TO@ MethodInvocation@@groupSearchBase.length() @AT@ 7217 @LENGTH@ 8
|
||||
------INS Operator@@== @TO@ InfixExpression@@groupSearchBase.length() == 0 @AT@ 7225 @LENGTH@ 2
|
||||
------INS NumberLiteral@@0 @TO@ InfixExpression@@groupSearchBase.length() == 0 @AT@ 7229 @LENGTH@ 1
|
||||
---INS Block@@ThenBody:{ logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn());} @TO@ IfStatement@@if (groupSearchBase.length() == 0) { logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn());} @AT@ 7232 @LENGTH@ 167
|
||||
------INS ExpressionStatement@@MethodInvocation:logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn()) @TO@ Block@@ThenBody:{ logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn());} @AT@ 7246 @LENGTH@ 143
|
||||
---------INS MethodInvocation@@logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn()) @TO@ ExpressionStatement@@MethodInvocation:logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn()) @AT@ 7246 @LENGTH@ 142
|
||||
------------INS SimpleName@@Name:logger @TO@ MethodInvocation@@logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn()) @AT@ 7246 @LENGTH@ 6
|
||||
------------INS SimpleName@@MethodName:info:["groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn()] @TO@ MethodInvocation@@logger.info("groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn()) @AT@ 7253 @LENGTH@ 135
|
||||
---------------INS InfixExpression@@"groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn() @TO@ SimpleName@@MethodName:info:["groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn()] @AT@ 7258 @LENGTH@ 129
|
||||
------------------INS StringLiteral@@"groupSearchBase is empty. Searches will be performed from the root: " @TO@ InfixExpression@@"groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn() @AT@ 7258 @LENGTH@ 70
|
||||
------------------INS Operator@@+ @TO@ InfixExpression@@"groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn() @AT@ 7328 @LENGTH@ 1
|
||||
------------------INS MethodInvocation@@initialDirContextFactory.getRootDn() @TO@ InfixExpression@@"groupSearchBase is empty. Searches will be performed from the root: " + initialDirContextFactory.getRootDn() @AT@ 7351 @LENGTH@ 36
|
||||
---------------------INS SimpleName@@Name:initialDirContextFactory @TO@ MethodInvocation@@initialDirContextFactory.getRootDn() @AT@ 7351 @LENGTH@ 24
|
||||
---------------------INS SimpleName@@MethodName:getRootDn:[] @TO@ MethodInvocation@@initialDirContextFactory.getRootDn() @AT@ 7376 @LENGTH@ 11
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:testNoArgConstructor, @TO@ public, void, MethodName:testNoArgConstructorDoesntExist, @AT@ 2308 @LENGTH@ 261
|
||||
---UPD SimpleName@@MethodName:testNoArgConstructor @TO@ MethodName:testNoArgConstructorDoesntExist @AT@ 2320 @LENGTH@ 20
|
||||
---UPD TryStatement@@try { new TestingAuthenticationToken(); fail("Should have thrown IllegalArgumentException");} catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ try { clazz.getDeclaredConstructor((Class[])null); fail("Should have thrown NoSuchMethodException");} catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 2353 @LENGTH@ 210
|
||||
------UPD ExpressionStatement@@ClassInstanceCreation:new TestingAuthenticationToken() @TO@ MethodInvocation:clazz.getDeclaredConstructor((Class[])null) @AT@ 2371 @LENGTH@ 33
|
||||
---------DEL ClassInstanceCreation@@TestingAuthenticationToken[] @AT@ 2371 @LENGTH@ 32
|
||||
------------DEL New@@new @AT@ 2371 @LENGTH@ 3
|
||||
------------DEL SimpleType@@TestingAuthenticationToken @AT@ 2375 @LENGTH@ 26
|
||||
---------INS MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @TO@ ExpressionStatement@@ClassInstanceCreation:new TestingAuthenticationToken() @AT@ 2516 @LENGTH@ 43
|
||||
------------INS SimpleName@@Name:clazz @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 2516 @LENGTH@ 5
|
||||
------------INS SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 2522 @LENGTH@ 37
|
||||
---------------INS CastExpression@@(Class[])null @TO@ SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @AT@ 2545 @LENGTH@ 13
|
||||
------------------INS ArrayType@@Class[] @TO@ CastExpression@@(Class[])null @AT@ 2546 @LENGTH@ 7
|
||||
---------------------INS SimpleType@@Class @TO@ ArrayType@@Class[] @AT@ 2546 @LENGTH@ 5
|
||||
------------------INS NullLiteral@@null @TO@ CastExpression@@(Class[])null @AT@ 2554 @LENGTH@ 4
|
||||
------UPD ExpressionStatement@@MethodInvocation:fail("Should have thrown IllegalArgumentException") @TO@ MethodInvocation:fail("Should have thrown NoSuchMethodException") @AT@ 2417 @LENGTH@ 52
|
||||
---------UPD MethodInvocation@@fail("Should have thrown IllegalArgumentException") @TO@ fail("Should have thrown NoSuchMethodException") @AT@ 2417 @LENGTH@ 51
|
||||
------------UPD SimpleName@@MethodName:fail:["Should have thrown IllegalArgumentException"] @TO@ MethodName:fail:["Should have thrown NoSuchMethodException"] @AT@ 2417 @LENGTH@ 51
|
||||
---------------UPD StringLiteral@@"Should have thrown IllegalArgumentException" @TO@ "Should have thrown NoSuchMethodException" @AT@ 2422 @LENGTH@ 45
|
||||
------UPD CatchClause@@catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 2480 @LENGTH@ 83
|
||||
---------UPD SingleVariableDeclaration@@IllegalArgumentException expected @TO@ NoSuchMethodException expected @AT@ 2487 @LENGTH@ 33
|
||||
------------UPD SimpleType@@IllegalArgumentException @TO@ NoSuchMethodException @AT@ 2487 @LENGTH@ 24
|
||||
---INS VariableDeclarationStatement@@Class clazz=TestingAuthenticationToken.class; @TO@ MethodDeclaration@@public, void, MethodName:testNoArgConstructor, @AT@ 2441 @LENGTH@ 47
|
||||
------INS SimpleType@@Class @TO@ VariableDeclarationStatement@@Class clazz=TestingAuthenticationToken.class; @AT@ 2441 @LENGTH@ 5
|
||||
------INS VariableDeclarationFragment@@clazz=TestingAuthenticationToken.class @TO@ VariableDeclarationStatement@@Class clazz=TestingAuthenticationToken.class; @AT@ 2447 @LENGTH@ 40
|
||||
---------INS SimpleName@@clazz @TO@ VariableDeclarationFragment@@clazz=TestingAuthenticationToken.class @AT@ 2447 @LENGTH@ 5
|
||||
---------INS TypeLiteral@@TestingAuthenticationToken.class @TO@ VariableDeclarationFragment@@clazz=TestingAuthenticationToken.class @AT@ 2455 @LENGTH@ 32
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 3976 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 3976 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 3998 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 4009 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 4009 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 4013 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, GrantedAuthority[], MethodName:getAuthorities, @TO@ public, voidMethodName:MockRunAsAuthenticationToken, @AT@ 1349 @LENGTH@ 71
|
||||
---INS SuperConstructorInvocation@@super(null);
|
||||
@TO@ MethodDeclaration@@public, GrantedAuthority[], MethodName:getAuthorities, @AT@ 1213 @LENGTH@ 12
|
||||
------INS NullLiteral@@null @TO@ SuperConstructorInvocation@@super(null);
|
||||
@AT@ 1219 @LENGTH@ 4
|
||||
---DEL ArrayType@@GrantedAuthority[] @AT@ 1356 @LENGTH@ 18
|
||||
------DEL SimpleType@@GrantedAuthority @AT@ 1356 @LENGTH@ 16
|
||||
---UPD SimpleName@@MethodName:getAuthorities @TO@ MethodName:MockRunAsAuthenticationToken @AT@ 1375 @LENGTH@ 14
|
||||
---DEL ReturnStatement@@NullLiteral:null @AT@ 1402 @LENGTH@ 12
|
||||
------DEL NullLiteral@@null @AT@ 1409 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 1760 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 1760 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 1782 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 1793 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 1793 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 1797 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:Assert.hasLength(groupSearchBase,"The groupSearchBase (name to search under), must be specified.") @TO@ MethodInvocation:Assert.notNull(groupSearchBase,"The groupSearchBase (name to search under), must not be null.") @AT@ 6977 @LENGTH@ 100
|
||||
---UPD MethodInvocation@@Assert.hasLength(groupSearchBase,"The groupSearchBase (name to search under), must be specified.") @TO@ Assert.notNull(groupSearchBase,"The groupSearchBase (name to search under), must not be null.") @AT@ 6977 @LENGTH@ 99
|
||||
------UPD SimpleName@@MethodName:hasLength:[groupSearchBase, "The groupSearchBase (name to search under), must be specified."] @TO@ MethodName:notNull:[groupSearchBase, "The groupSearchBase (name to search under), must not be null."] @AT@ 6984 @LENGTH@ 92
|
||||
---------UPD StringLiteral@@"The groupSearchBase (name to search under), must be specified." @TO@ "The groupSearchBase (name to search under), must not be null." @AT@ 7011 @LENGTH@ 64
|
||||
|
||||
|
||||
DEL MethodDeclaration@@public, void, MethodName:testWaitFor, @AT@ 3409 @LENGTH@ 123
|
||||
---DEL Modifier@@public @AT@ 3409 @LENGTH@ 6
|
||||
---DEL PrimitiveType@@void @AT@ 3416 @LENGTH@ 4
|
||||
---DEL SimpleName@@MethodName:testWaitFor @AT@ 3421 @LENGTH@ 11
|
||||
---DEL ExpressionStatement@@MethodInvocation:FileUtils.waitFor(new File(""),-1) @AT@ 3445 @LENGTH@ 36
|
||||
------DEL MethodInvocation@@FileUtils.waitFor(new File(""),-1) @AT@ 3445 @LENGTH@ 35
|
||||
---------DEL SimpleName@@Name:FileUtils @AT@ 3445 @LENGTH@ 9
|
||||
---------DEL SimpleName@@MethodName:waitFor:[new File(""), -1] @AT@ 3455 @LENGTH@ 25
|
||||
------------DEL ClassInstanceCreation@@File[""] @AT@ 3463 @LENGTH@ 12
|
||||
---------------DEL New@@new @AT@ 3463 @LENGTH@ 3
|
||||
---------------DEL SimpleType@@File @AT@ 3467 @LENGTH@ 4
|
||||
---------------DEL StringLiteral@@"" @AT@ 3472 @LENGTH@ 2
|
||||
------------DEL PrefixExpression@@-1 @AT@ 3477 @LENGTH@ 2
|
||||
---------------DEL Operator@@- @AT@ 3477 @LENGTH@ 1
|
||||
---------------DEL NumberLiteral@@1 @AT@ 3478 @LENGTH@ 1
|
||||
---DEL ExpressionStatement@@MethodInvocation:FileUtils.waitFor(new File(""),2) @AT@ 3491 @LENGTH@ 35
|
||||
------DEL MethodInvocation@@FileUtils.waitFor(new File(""),2) @AT@ 3491 @LENGTH@ 34
|
||||
---------DEL SimpleName@@Name:FileUtils @AT@ 3491 @LENGTH@ 9
|
||||
---------DEL SimpleName@@MethodName:waitFor:[new File(""), 2] @AT@ 3501 @LENGTH@ 24
|
||||
------------DEL ClassInstanceCreation@@File[""] @AT@ 3509 @LENGTH@ 12
|
||||
---------------DEL New@@new @AT@ 3509 @LENGTH@ 3
|
||||
---------------DEL SimpleType@@File @AT@ 3513 @LENGTH@ 4
|
||||
---------------DEL StringLiteral@@"" @AT@ 3518 @LENGTH@ 2
|
||||
------------DEL NumberLiteral@@2 @AT@ 3523 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:testNoArgConstructor, @TO@ public, void, MethodName:testNoArgConstructorDoesntExist, @AT@ 4600 @LENGTH@ 264
|
||||
---UPD SimpleName@@MethodName:testNoArgConstructor @TO@ MethodName:testNoArgConstructorDoesntExist @AT@ 4612 @LENGTH@ 20
|
||||
---UPD TryStatement@@try { new RememberMeAuthenticationToken(); fail("Should have thrown IllegalArgumentException");} catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ try { clazz.getDeclaredConstructor((Class[])null); fail("Should have thrown NoSuchMethodException");} catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 4645 @LENGTH@ 213
|
||||
------UPD ExpressionStatement@@ClassInstanceCreation:new RememberMeAuthenticationToken() @TO@ MethodInvocation:clazz.getDeclaredConstructor((Class[])null) @AT@ 4663 @LENGTH@ 36
|
||||
---------DEL ClassInstanceCreation@@RememberMeAuthenticationToken[] @AT@ 4663 @LENGTH@ 35
|
||||
------------DEL New@@new @AT@ 4663 @LENGTH@ 3
|
||||
------------DEL SimpleType@@RememberMeAuthenticationToken @AT@ 4667 @LENGTH@ 29
|
||||
---------INS MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @TO@ ExpressionStatement@@ClassInstanceCreation:new RememberMeAuthenticationToken() @AT@ 4734 @LENGTH@ 43
|
||||
------------INS SimpleName@@Name:clazz @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 4734 @LENGTH@ 5
|
||||
------------INS SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 4740 @LENGTH@ 37
|
||||
---------------INS CastExpression@@(Class[])null @TO@ SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @AT@ 4763 @LENGTH@ 13
|
||||
------------------INS ArrayType@@Class[] @TO@ CastExpression@@(Class[])null @AT@ 4764 @LENGTH@ 7
|
||||
---------------------INS SimpleType@@Class @TO@ ArrayType@@Class[] @AT@ 4764 @LENGTH@ 5
|
||||
------------------INS NullLiteral@@null @TO@ CastExpression@@(Class[])null @AT@ 4772 @LENGTH@ 4
|
||||
------UPD ExpressionStatement@@MethodInvocation:fail("Should have thrown IllegalArgumentException") @TO@ MethodInvocation:fail("Should have thrown NoSuchMethodException") @AT@ 4712 @LENGTH@ 52
|
||||
---------UPD MethodInvocation@@fail("Should have thrown IllegalArgumentException") @TO@ fail("Should have thrown NoSuchMethodException") @AT@ 4712 @LENGTH@ 51
|
||||
------------UPD SimpleName@@MethodName:fail:["Should have thrown IllegalArgumentException"] @TO@ MethodName:fail:["Should have thrown NoSuchMethodException"] @AT@ 4712 @LENGTH@ 51
|
||||
---------------UPD StringLiteral@@"Should have thrown IllegalArgumentException" @TO@ "Should have thrown NoSuchMethodException" @AT@ 4717 @LENGTH@ 45
|
||||
------UPD CatchClause@@catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 4775 @LENGTH@ 83
|
||||
---------UPD SingleVariableDeclaration@@IllegalArgumentException expected @TO@ NoSuchMethodException expected @AT@ 4782 @LENGTH@ 33
|
||||
------------UPD SimpleType@@IllegalArgumentException @TO@ NoSuchMethodException @AT@ 4782 @LENGTH@ 24
|
||||
---INS VariableDeclarationStatement@@Class clazz=RememberMeAuthenticationToken.class; @TO@ MethodDeclaration@@public, void, MethodName:testNoArgConstructor, @AT@ 4656 @LENGTH@ 50
|
||||
------INS SimpleType@@Class @TO@ VariableDeclarationStatement@@Class clazz=RememberMeAuthenticationToken.class; @AT@ 4656 @LENGTH@ 5
|
||||
------INS VariableDeclarationFragment@@clazz=RememberMeAuthenticationToken.class @TO@ VariableDeclarationStatement@@Class clazz=RememberMeAuthenticationToken.class; @AT@ 4662 @LENGTH@ 43
|
||||
---------INS SimpleName@@clazz @TO@ VariableDeclarationFragment@@clazz=RememberMeAuthenticationToken.class @AT@ 4662 @LENGTH@ 5
|
||||
---------INS TypeLiteral@@RememberMeAuthenticationToken.class @TO@ VariableDeclarationFragment@@clazz=RememberMeAuthenticationToken.class @AT@ 4670 @LENGTH@ 35
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 4660 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 4660 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 4682 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 4693 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 4693 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 4697 @LENGTH@ 19
|
||||
|
||||
|
||||
INS IfStatement@@if (predicates.length == 0) { return FalsePredicate.INSTANCE;} @TO@ MethodDeclaration@@public, static, Predicate, MethodName:getInstance, Predicate[] predicates, @AT@ 1825 @LENGTH@ 83
|
||||
---INS InfixExpression@@predicates.length == 0 @TO@ IfStatement@@if (predicates.length == 0) { return FalsePredicate.INSTANCE;} @AT@ 1829 @LENGTH@ 22
|
||||
------INS QualifiedName@@predicates.length @TO@ InfixExpression@@predicates.length == 0 @AT@ 1829 @LENGTH@ 17
|
||||
---------INS SimpleName@@predicates @TO@ QualifiedName@@predicates.length @AT@ 1829 @LENGTH@ 10
|
||||
---------INS SimpleName@@length @TO@ QualifiedName@@predicates.length @AT@ 1840 @LENGTH@ 6
|
||||
------INS Operator@@== @TO@ InfixExpression@@predicates.length == 0 @AT@ 1846 @LENGTH@ 2
|
||||
------INS NumberLiteral@@0 @TO@ InfixExpression@@predicates.length == 0 @AT@ 1850 @LENGTH@ 1
|
||||
---INS Block@@ThenBody:{ return FalsePredicate.INSTANCE;} @TO@ IfStatement@@if (predicates.length == 0) { return FalsePredicate.INSTANCE;} @AT@ 1853 @LENGTH@ 55
|
||||
------INS ReturnStatement@@QualifiedName:FalsePredicate.INSTANCE @TO@ Block@@ThenBody:{ return FalsePredicate.INSTANCE;} @AT@ 1867 @LENGTH@ 31
|
||||
---------INS QualifiedName@@FalsePredicate.INSTANCE @TO@ ReturnStatement@@QualifiedName:FalsePredicate.INSTANCE @AT@ 1874 @LENGTH@ 23
|
||||
------------INS SimpleName@@FalsePredicate @TO@ QualifiedName@@FalsePredicate.INSTANCE @AT@ 1874 @LENGTH@ 14
|
||||
------------INS SimpleName@@INSTANCE @TO@ QualifiedName@@FalsePredicate.INSTANCE @AT@ 1889 @LENGTH@ 8
|
||||
|
||||
|
||||
INS ExpressionStatement@@Assignment:sourceURL=url @TO@ MethodDeclaration@@public, void, MethodName:setURL, URL url, @AT@ 19070 @LENGTH@ 16
|
||||
---INS Assignment@@sourceURL=url @TO@ ExpressionStatement@@Assignment:sourceURL=url @AT@ 19070 @LENGTH@ 15
|
||||
------INS SimpleName@@sourceURL @TO@ Assignment@@sourceURL=url @AT@ 19070 @LENGTH@ 9
|
||||
------INS Operator@@= @TO@ Assignment@@sourceURL=url @AT@ 19079 @LENGTH@ 1
|
||||
------INS SimpleName@@url @TO@ Assignment@@sourceURL=url @AT@ 19082 @LENGTH@ 3
|
||||
|
||||
|
||||
UPD IfStatement@@if (url.startsWith("ldap:")) { URI uri=LdapUtils.parseLdapUrl(url); rootDn=uri.getPath();} else { rootDn=url;} @TO@ if (url.startsWith("ldap:") || url.startsWith("ldaps:")) { URI uri=LdapUtils.parseLdapUrl(url); rootDn=uri.getPath();} else { rootDn=url;} @AT@ 4726 @LENGTH@ 219
|
||||
---INS InfixExpression@@url.startsWith("ldap:") || url.startsWith("ldaps:") @TO@ IfStatement@@if (url.startsWith("ldap:")) { URI uri=LdapUtils.parseLdapUrl(url); rootDn=uri.getPath();} else { rootDn=url;} @AT@ 4730 @LENGTH@ 51
|
||||
------MOV MethodInvocation@@url.startsWith("ldap:") @TO@ InfixExpression@@url.startsWith("ldap:") || url.startsWith("ldaps:") @AT@ 4730 @LENGTH@ 23
|
||||
------INS Operator@@|| @TO@ InfixExpression@@url.startsWith("ldap:") || url.startsWith("ldaps:") @AT@ 4753 @LENGTH@ 2
|
||||
------INS MethodInvocation@@url.startsWith("ldaps:") @TO@ InfixExpression@@url.startsWith("ldap:") || url.startsWith("ldaps:") @AT@ 4757 @LENGTH@ 24
|
||||
---------INS SimpleName@@Name:url @TO@ MethodInvocation@@url.startsWith("ldaps:") @AT@ 4757 @LENGTH@ 3
|
||||
---------INS SimpleName@@MethodName:startsWith:["ldaps:"] @TO@ MethodInvocation@@url.startsWith("ldaps:") @AT@ 4761 @LENGTH@ 20
|
||||
------------INS StringLiteral@@"ldaps:" @TO@ SimpleName@@MethodName:startsWith:["ldaps:"] @AT@ 4772 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 17833 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 17833 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 17855 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 17866 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 17866 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 17870 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 2605 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 2605 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 2627 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 2638 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 2638 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 2642 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD TryStatement@@try { authenticationManager.authenticate(rememberMeAuth);} catch (AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response);} @TO@ try { authenticationManager.authenticate(rememberMeAuth); SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} catch (AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse);} @AT@ 5031 @LENGTH@ 754
|
||||
---UPD CatchClause@@catch (AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response);} @TO@ catch (AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse);} @AT@ 5127 @LENGTH@ 658
|
||||
------DEL ExpressionStatement@@MethodInvocation:chain.doFilter(request,response) @AT@ 5733 @LENGTH@ 34
|
||||
---------DEL MethodInvocation@@chain.doFilter(request,response) @AT@ 5733 @LENGTH@ 33
|
||||
------------DEL SimpleName@@Name:chain @AT@ 5733 @LENGTH@ 5
|
||||
------------DEL SimpleName@@MethodName:doFilter:[request, response] @AT@ 5739 @LENGTH@ 27
|
||||
---------------DEL SimpleName@@request @AT@ 5748 @LENGTH@ 7
|
||||
---------------DEL SimpleName@@response @AT@ 5757 @LENGTH@ 8
|
||||
---MOV ExpressionStatement@@MethodInvocation:SecurityContextHolder.getContext().setAuthentication(rememberMeAuth) @TO@ TryStatement@@try { authenticationManager.authenticate(rememberMeAuth);} catch (AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response);} @AT@ 5853 @LENGTH@ 107
|
||||
---MOV IfStatement@@if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'");} @TO@ TryStatement@@try { authenticationManager.authenticate(rememberMeAuth);} catch (AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response);} @AT@ 5978 @LENGTH@ 279
|
||||
---MOV IfStatement@@if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass()));} @TO@ TryStatement@@try { authenticationManager.authenticate(rememberMeAuth);} catch (AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response);} @AT@ 6305 @LENGTH@ 324
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 7211 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 7211 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 7233 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 7244 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 7244 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 7248 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 4151 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 4151 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 4173 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 4184 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 4184 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 4188 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 3094 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 3094 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 3116 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 3127 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 3127 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 3131 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 4276 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 4276 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 4298 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 4309 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 4309 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 4313 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(generateNewContext()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 12367 @LENGTH@ 55
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(generateNewContext()) @TO@ SecurityContextHolder.clearContext() @AT@ 12367 @LENGTH@ 54
|
||||
------UPD SimpleName@@MethodName:setContext:[generateNewContext()] @TO@ MethodName:clearContext:[] @AT@ 12389 @LENGTH@ 32
|
||||
---------DEL MethodInvocation@@MethodName:generateNewContext:[] @AT@ 12400 @LENGTH@ 20
|
||||
|
||||
|
||||
UPD Block@@ThenBody:{ Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); if (rememberMeAuth != null) { try { authenticationManager.authenticate(rememberMeAuth); } catch ( AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response); } SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } chain.doFilter(request,response); }} @TO@ ThenBody:{ Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); if (rememberMeAuth != null) { try { authenticationManager.authenticate(rememberMeAuth); } catch ( AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response); } SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } } chain.doFilter(request,response);} @AT@ 4782 @LENGTH@ 1923
|
||||
---UPD IfStatement@@if (rememberMeAuth != null) { try { authenticationManager.authenticate(rememberMeAuth); } catch ( AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response); } SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } chain.doFilter(request,response);} @TO@ if (rememberMeAuth != null) { try { authenticationManager.authenticate(rememberMeAuth); } catch ( AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response); } SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} @AT@ 4918 @LENGTH@ 1777
|
||||
------UPD Block@@ThenBody:{ try { authenticationManager.authenticate(rememberMeAuth); } catch ( AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response); } SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } chain.doFilter(request,response);} @TO@ ThenBody:{ try { authenticationManager.authenticate(rememberMeAuth); } catch ( AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response); } SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); }} @AT@ 4946 @LENGTH@ 1749
|
||||
---MOV ExpressionStatement@@MethodInvocation:chain.doFilter(request,response) @TO@ Block@@ThenBody:{ Authentication rememberMeAuth=rememberMeServices.autoLogin(httpRequest,httpResponse); if (rememberMeAuth != null) { try { authenticationManager.authenticate(rememberMeAuth); } catch ( AuthenticationException authenticationException) { if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder not populated with remember-me token, as AuthenticationManager rejected Authentication returned by RememberMeServices: '" + rememberMeAuth + "'; invalidating remember-me token",authenticationException); } rememberMeServices.loginFail(httpRequest,httpResponse); chain.doFilter(request,response); } SecurityContextHolder.getContext().setAuthentication(rememberMeAuth); if (logger.isDebugEnabled()) { logger.debug("SecurityContextHolder populated with remember-me token: '" + SecurityContextHolder.getContext().getAuthentication() + "'"); } if (this.eventPublisher != null) { eventPublisher.publishEvent(new InteractiveAuthenticationSuccessEvent(SecurityContextHolder.getContext().getAuthentication(),this.getClass())); } chain.doFilter(request,response); }} @AT@ 6647 @LENGTH@ 34
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:this.classname=(getPackageName(object.getClass().getName()) == null) ? ClassUtils.getShortName(object.getClass()) : getPackageName(object.getClass().getName() + "." + ClassUtils.getShortName(object.getClass())) @TO@ Assignment:this.classname=(getPackageName(object.getClass().getName()) == null) ? ClassUtils.getShortName(object.getClass()) : getPackageName(object.getClass().getName()) + "." + ClassUtils.getShortName(object.getClass()) @AT@ 2223 @LENGTH@ 253
|
||||
---UPD Assignment@@this.classname=(getPackageName(object.getClass().getName()) == null) ? ClassUtils.getShortName(object.getClass()) : getPackageName(object.getClass().getName() + "." + ClassUtils.getShortName(object.getClass())) @TO@ this.classname=(getPackageName(object.getClass().getName()) == null) ? ClassUtils.getShortName(object.getClass()) : getPackageName(object.getClass().getName()) + "." + ClassUtils.getShortName(object.getClass()) @AT@ 2223 @LENGTH@ 252
|
||||
------UPD ConditionalExpression@@(getPackageName(object.getClass().getName()) == null) ? ClassUtils.getShortName(object.getClass()) : getPackageName(object.getClass().getName() + "." + ClassUtils.getShortName(object.getClass())) @TO@ (getPackageName(object.getClass().getName()) == null) ? ClassUtils.getShortName(object.getClass()) : getPackageName(object.getClass().getName()) + "." + ClassUtils.getShortName(object.getClass()) @AT@ 2240 @LENGTH@ 235
|
||||
---------DEL MethodInvocation@@getPackageName(object.getClass().getName() + "." + ClassUtils.getShortName(object.getClass())) @AT@ 2365 @LENGTH@ 110
|
||||
------------DEL SimpleName@@MethodName:getPackageName:[object.getClass().getName() + "." + ClassUtils.getShortName(object.getClass())] @AT@ 2365 @LENGTH@ 110
|
||||
---------MOV InfixExpression@@object.getClass().getName() + "." + ClassUtils.getShortName(object.getClass()) @TO@ ConditionalExpression@@(getPackageName(object.getClass().getName()) == null) ? ClassUtils.getShortName(object.getClass()) : getPackageName(object.getClass().getName() + "." + ClassUtils.getShortName(object.getClass())) @AT@ 2380 @LENGTH@ 94
|
||||
------------INS MethodInvocation@@getPackageName(object.getClass().getName()) @TO@ InfixExpression@@object.getClass().getName() + "." + ClassUtils.getShortName(object.getClass()) @AT@ 2359 @LENGTH@ 43
|
||||
---------------INS SimpleName@@MethodName:getPackageName:[object.getClass().getName()] @TO@ MethodInvocation@@getPackageName(object.getClass().getName()) @AT@ 2359 @LENGTH@ 43
|
||||
------------------INS MethodInvocation@@object.getClass().getName() @TO@ SimpleName@@MethodName:getPackageName:[object.getClass().getName()] @AT@ 2374 @LENGTH@ 27
|
||||
---------------------MOV MethodInvocation@@MethodName:getClass:[] @TO@ MethodInvocation@@object.getClass().getName() @AT@ 2380 @LENGTH@ 17
|
||||
---------------------MOV SimpleName@@Name:object @TO@ MethodInvocation@@object.getClass().getName() @AT@ 2380 @LENGTH@ 6
|
||||
---------------------MOV SimpleName@@MethodName:getName:[] @TO@ MethodInvocation@@object.getClass().getName() @AT@ 2398 @LENGTH@ 9
|
||||
------------DEL MethodInvocation@@object.getClass().getName() @AT@ 2380 @LENGTH@ 27
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @TO@ TypeDeclaration@@[public]TestConfigurationKey, TestCase @AT@ 7519 @LENGTH@ 689
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7519 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7526 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testAttributeKeyWithIndex @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7531 @LENGTH@ 25
|
||||
---INS VariableDeclarationStatement@@ConfigurationKey k=new ConfigurationKey(TESTATTR); @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7573 @LENGTH@ 52
|
||||
------INS SimpleType@@ConfigurationKey @TO@ VariableDeclarationStatement@@ConfigurationKey k=new ConfigurationKey(TESTATTR); @AT@ 7573 @LENGTH@ 16
|
||||
------INS VariableDeclarationFragment@@k=new ConfigurationKey(TESTATTR) @TO@ VariableDeclarationStatement@@ConfigurationKey k=new ConfigurationKey(TESTATTR); @AT@ 7590 @LENGTH@ 34
|
||||
---------INS SimpleName@@k @TO@ VariableDeclarationFragment@@k=new ConfigurationKey(TESTATTR) @AT@ 7590 @LENGTH@ 1
|
||||
---------INS ClassInstanceCreation@@ConfigurationKey[TESTATTR] @TO@ VariableDeclarationFragment@@k=new ConfigurationKey(TESTATTR) @AT@ 7594 @LENGTH@ 30
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@ConfigurationKey[TESTATTR] @AT@ 7594 @LENGTH@ 3
|
||||
------------INS SimpleType@@ConfigurationKey @TO@ ClassInstanceCreation@@ConfigurationKey[TESTATTR] @AT@ 7598 @LENGTH@ 16
|
||||
------------INS SimpleName@@TESTATTR @TO@ ClassInstanceCreation@@ConfigurationKey[TESTATTR] @AT@ 7615 @LENGTH@ 8
|
||||
---INS ExpressionStatement@@MethodInvocation:k.appendIndex(0) @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7634 @LENGTH@ 17
|
||||
------INS MethodInvocation@@k.appendIndex(0) @TO@ ExpressionStatement@@MethodInvocation:k.appendIndex(0) @AT@ 7634 @LENGTH@ 16
|
||||
---------INS SimpleName@@Name:k @TO@ MethodInvocation@@k.appendIndex(0) @AT@ 7634 @LENGTH@ 1
|
||||
---------INS SimpleName@@MethodName:appendIndex:[0] @TO@ MethodInvocation@@k.appendIndex(0) @AT@ 7636 @LENGTH@ 14
|
||||
------------INS NumberLiteral@@0 @TO@ SimpleName@@MethodName:appendIndex:[0] @AT@ 7648 @LENGTH@ 1
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("Wrong attribute key with index",TESTATTR + "(0)",k.toString()) @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7660 @LENGTH@ 79
|
||||
------INS MethodInvocation@@assertEquals("Wrong attribute key with index",TESTATTR + "(0)",k.toString()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("Wrong attribute key with index",TESTATTR + "(0)",k.toString()) @AT@ 7660 @LENGTH@ 78
|
||||
---------INS SimpleName@@MethodName:assertEquals:["Wrong attribute key with index", TESTATTR + "(0)", k.toString()] @TO@ MethodInvocation@@assertEquals("Wrong attribute key with index",TESTATTR + "(0)",k.toString()) @AT@ 7660 @LENGTH@ 78
|
||||
------------INS StringLiteral@@"Wrong attribute key with index" @TO@ SimpleName@@MethodName:assertEquals:["Wrong attribute key with index", TESTATTR + "(0)", k.toString()] @AT@ 7673 @LENGTH@ 32
|
||||
------------INS InfixExpression@@TESTATTR + "(0)" @TO@ SimpleName@@MethodName:assertEquals:["Wrong attribute key with index", TESTATTR + "(0)", k.toString()] @AT@ 7707 @LENGTH@ 16
|
||||
---------------INS SimpleName@@TESTATTR @TO@ InfixExpression@@TESTATTR + "(0)" @AT@ 7707 @LENGTH@ 8
|
||||
---------------INS Operator@@+ @TO@ InfixExpression@@TESTATTR + "(0)" @AT@ 7715 @LENGTH@ 1
|
||||
---------------INS StringLiteral@@"(0)" @TO@ InfixExpression@@TESTATTR + "(0)" @AT@ 7718 @LENGTH@ 5
|
||||
------------INS MethodInvocation@@k.toString() @TO@ SimpleName@@MethodName:assertEquals:["Wrong attribute key with index", TESTATTR + "(0)", k.toString()] @AT@ 7725 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:k @TO@ MethodInvocation@@k.toString() @AT@ 7725 @LENGTH@ 1
|
||||
---------------INS SimpleName@@MethodName:toString:[] @TO@ MethodInvocation@@k.toString() @AT@ 7727 @LENGTH@ 10
|
||||
---INS VariableDeclarationStatement@@ConfigurationKey.KeyIterator it=k.iterator(); @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7757 @LENGTH@ 47
|
||||
------INS SimpleType@@ConfigurationKey.KeyIterator @TO@ VariableDeclarationStatement@@ConfigurationKey.KeyIterator it=k.iterator(); @AT@ 7757 @LENGTH@ 28
|
||||
------INS VariableDeclarationFragment@@it=k.iterator() @TO@ VariableDeclarationStatement@@ConfigurationKey.KeyIterator it=k.iterator(); @AT@ 7786 @LENGTH@ 17
|
||||
---------INS SimpleName@@it @TO@ VariableDeclarationFragment@@it=k.iterator() @AT@ 7786 @LENGTH@ 2
|
||||
---------INS MethodInvocation@@k.iterator() @TO@ VariableDeclarationFragment@@it=k.iterator() @AT@ 7791 @LENGTH@ 12
|
||||
------------INS SimpleName@@Name:k @TO@ MethodInvocation@@k.iterator() @AT@ 7791 @LENGTH@ 1
|
||||
------------INS SimpleName@@MethodName:iterator:[] @TO@ MethodInvocation@@k.iterator() @AT@ 7793 @LENGTH@ 10
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue("No first element",it.hasNext()) @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7813 @LENGTH@ 45
|
||||
------INS MethodInvocation@@assertTrue("No first element",it.hasNext()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("No first element",it.hasNext()) @AT@ 7813 @LENGTH@ 44
|
||||
---------INS SimpleName@@MethodName:assertTrue:["No first element", it.hasNext()] @TO@ MethodInvocation@@assertTrue("No first element",it.hasNext()) @AT@ 7813 @LENGTH@ 44
|
||||
------------INS StringLiteral@@"No first element" @TO@ SimpleName@@MethodName:assertTrue:["No first element", it.hasNext()] @AT@ 7824 @LENGTH@ 18
|
||||
------------INS MethodInvocation@@it.hasNext() @TO@ SimpleName@@MethodName:assertTrue:["No first element", it.hasNext()] @AT@ 7844 @LENGTH@ 12
|
||||
---------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.hasNext() @AT@ 7844 @LENGTH@ 2
|
||||
---------------INS SimpleName@@MethodName:hasNext:[] @TO@ MethodInvocation@@it.hasNext() @AT@ 7847 @LENGTH@ 9
|
||||
---INS ExpressionStatement@@MethodInvocation:it.next() @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7867 @LENGTH@ 10
|
||||
------INS MethodInvocation@@it.next() @TO@ ExpressionStatement@@MethodInvocation:it.next() @AT@ 7867 @LENGTH@ 9
|
||||
---------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.next() @AT@ 7867 @LENGTH@ 2
|
||||
---------INS SimpleName@@MethodName:next:[] @TO@ MethodInvocation@@it.next() @AT@ 7870 @LENGTH@ 6
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue("Index not found",it.hasIndex()) @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7886 @LENGTH@ 45
|
||||
------INS MethodInvocation@@assertTrue("Index not found",it.hasIndex()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("Index not found",it.hasIndex()) @AT@ 7886 @LENGTH@ 44
|
||||
---------INS SimpleName@@MethodName:assertTrue:["Index not found", it.hasIndex()] @TO@ MethodInvocation@@assertTrue("Index not found",it.hasIndex()) @AT@ 7886 @LENGTH@ 44
|
||||
------------INS StringLiteral@@"Index not found" @TO@ SimpleName@@MethodName:assertTrue:["Index not found", it.hasIndex()] @AT@ 7897 @LENGTH@ 17
|
||||
------------INS MethodInvocation@@it.hasIndex() @TO@ SimpleName@@MethodName:assertTrue:["Index not found", it.hasIndex()] @AT@ 7916 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.hasIndex() @AT@ 7916 @LENGTH@ 2
|
||||
---------------INS SimpleName@@MethodName:hasIndex:[] @TO@ MethodInvocation@@it.hasIndex() @AT@ 7919 @LENGTH@ 10
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("Incorrect index",0,it.getIndex()) @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7940 @LENGTH@ 50
|
||||
------INS MethodInvocation@@assertEquals("Incorrect index",0,it.getIndex()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("Incorrect index",0,it.getIndex()) @AT@ 7940 @LENGTH@ 49
|
||||
---------INS SimpleName@@MethodName:assertEquals:["Incorrect index", 0, it.getIndex()] @TO@ MethodInvocation@@assertEquals("Incorrect index",0,it.getIndex()) @AT@ 7940 @LENGTH@ 49
|
||||
------------INS StringLiteral@@"Incorrect index" @TO@ SimpleName@@MethodName:assertEquals:["Incorrect index", 0, it.getIndex()] @AT@ 7953 @LENGTH@ 17
|
||||
------------INS NumberLiteral@@0 @TO@ SimpleName@@MethodName:assertEquals:["Incorrect index", 0, it.getIndex()] @AT@ 7972 @LENGTH@ 1
|
||||
------------INS MethodInvocation@@it.getIndex() @TO@ SimpleName@@MethodName:assertEquals:["Incorrect index", 0, it.getIndex()] @AT@ 7975 @LENGTH@ 13
|
||||
---------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.getIndex() @AT@ 7975 @LENGTH@ 2
|
||||
---------------INS SimpleName@@MethodName:getIndex:[] @TO@ MethodInvocation@@it.getIndex() @AT@ 7978 @LENGTH@ 10
|
||||
---INS ExpressionStatement@@MethodInvocation:assertTrue("Attribute not found",it.isAttribute()) @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 7999 @LENGTH@ 52
|
||||
------INS MethodInvocation@@assertTrue("Attribute not found",it.isAttribute()) @TO@ ExpressionStatement@@MethodInvocation:assertTrue("Attribute not found",it.isAttribute()) @AT@ 7999 @LENGTH@ 51
|
||||
---------INS SimpleName@@MethodName:assertTrue:["Attribute not found", it.isAttribute()] @TO@ MethodInvocation@@assertTrue("Attribute not found",it.isAttribute()) @AT@ 7999 @LENGTH@ 51
|
||||
------------INS StringLiteral@@"Attribute not found" @TO@ SimpleName@@MethodName:assertTrue:["Attribute not found", it.isAttribute()] @AT@ 8010 @LENGTH@ 21
|
||||
------------INS MethodInvocation@@it.isAttribute() @TO@ SimpleName@@MethodName:assertTrue:["Attribute not found", it.isAttribute()] @AT@ 8033 @LENGTH@ 16
|
||||
---------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.isAttribute() @AT@ 8033 @LENGTH@ 2
|
||||
---------------INS SimpleName@@MethodName:isAttribute:[] @TO@ MethodInvocation@@it.isAttribute() @AT@ 8036 @LENGTH@ 13
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("Wrong plain key","dataType",it.currentKey(false)) @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 8060 @LENGTH@ 66
|
||||
------INS MethodInvocation@@assertEquals("Wrong plain key","dataType",it.currentKey(false)) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("Wrong plain key","dataType",it.currentKey(false)) @AT@ 8060 @LENGTH@ 65
|
||||
---------INS SimpleName@@MethodName:assertEquals:["Wrong plain key", "dataType", it.currentKey(false)] @TO@ MethodInvocation@@assertEquals("Wrong plain key","dataType",it.currentKey(false)) @AT@ 8060 @LENGTH@ 65
|
||||
------------INS StringLiteral@@"Wrong plain key" @TO@ SimpleName@@MethodName:assertEquals:["Wrong plain key", "dataType", it.currentKey(false)] @AT@ 8073 @LENGTH@ 17
|
||||
------------INS StringLiteral@@"dataType" @TO@ SimpleName@@MethodName:assertEquals:["Wrong plain key", "dataType", it.currentKey(false)] @AT@ 8092 @LENGTH@ 10
|
||||
------------INS MethodInvocation@@it.currentKey(false) @TO@ SimpleName@@MethodName:assertEquals:["Wrong plain key", "dataType", it.currentKey(false)] @AT@ 8104 @LENGTH@ 20
|
||||
---------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.currentKey(false) @AT@ 8104 @LENGTH@ 2
|
||||
---------------INS SimpleName@@MethodName:currentKey:[false] @TO@ MethodInvocation@@it.currentKey(false) @AT@ 8107 @LENGTH@ 17
|
||||
------------------INS BooleanLiteral@@false @TO@ SimpleName@@MethodName:currentKey:[false] @AT@ 8118 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("Wrong decorated key",TESTATTR,it.currentKey(true)) @TO@ MethodDeclaration@@public, void, MethodName:testAttributeKeyWithIndex, @AT@ 8135 @LENGTH@ 67
|
||||
------INS MethodInvocation@@assertEquals("Wrong decorated key",TESTATTR,it.currentKey(true)) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("Wrong decorated key",TESTATTR,it.currentKey(true)) @AT@ 8135 @LENGTH@ 66
|
||||
---------INS SimpleName@@MethodName:assertEquals:["Wrong decorated key", TESTATTR, it.currentKey(true)] @TO@ MethodInvocation@@assertEquals("Wrong decorated key",TESTATTR,it.currentKey(true)) @AT@ 8135 @LENGTH@ 66
|
||||
------------INS StringLiteral@@"Wrong decorated key" @TO@ SimpleName@@MethodName:assertEquals:["Wrong decorated key", TESTATTR, it.currentKey(true)] @AT@ 8148 @LENGTH@ 21
|
||||
------------INS SimpleName@@TESTATTR @TO@ SimpleName@@MethodName:assertEquals:["Wrong decorated key", TESTATTR, it.currentKey(true)] @AT@ 8171 @LENGTH@ 8
|
||||
------------INS MethodInvocation@@it.currentKey(true) @TO@ SimpleName@@MethodName:assertEquals:["Wrong decorated key", TESTATTR, it.currentKey(true)] @AT@ 8181 @LENGTH@ 19
|
||||
---------------INS SimpleName@@Name:it @TO@ MethodInvocation@@it.currentKey(true) @AT@ 8181 @LENGTH@ 2
|
||||
---------------INS SimpleName@@MethodName:currentKey:[true] @TO@ MethodInvocation@@it.currentKey(true) @AT@ 8184 @LENGTH@ 16
|
||||
------------------INS BooleanLiteral@@true @TO@ SimpleName@@MethodName:currentKey:[true] @AT@ 8195 @LENGTH@ 4
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:authRequest.setDetails(new WebAuthenticationDetails(httpRequest)) @TO@ MethodInvocation:authRequest.setDetails(new WebAuthenticationDetails(httpRequest,false)) @AT@ 16316 @LENGTH@ 66
|
||||
---UPD MethodInvocation@@authRequest.setDetails(new WebAuthenticationDetails(httpRequest)) @TO@ authRequest.setDetails(new WebAuthenticationDetails(httpRequest,false)) @AT@ 16316 @LENGTH@ 65
|
||||
------UPD SimpleName@@MethodName:setDetails:[new WebAuthenticationDetails(httpRequest)] @TO@ MethodName:setDetails:[new WebAuthenticationDetails(httpRequest,false)] @AT@ 16328 @LENGTH@ 53
|
||||
---------UPD ClassInstanceCreation@@WebAuthenticationDetails[httpRequest] @TO@ WebAuthenticationDetails[httpRequest, false] @AT@ 16339 @LENGTH@ 41
|
||||
------------INS BooleanLiteral@@false @TO@ ClassInstanceCreation@@WebAuthenticationDetails[httpRequest] @AT@ 16382 @LENGTH@ 5
|
||||
|
||||
|
||||
UPD ReturnStatement@@ClassInstanceCreation:new WebAuthenticationDetails(request) @TO@ ClassInstanceCreation:new WebAuthenticationDetails(request,false) @AT@ 4549 @LENGTH@ 45
|
||||
---UPD ClassInstanceCreation@@WebAuthenticationDetails[request] @TO@ WebAuthenticationDetails[request, false] @AT@ 4556 @LENGTH@ 37
|
||||
------INS BooleanLiteral@@false @TO@ ClassInstanceCreation@@WebAuthenticationDetails[request] @AT@ 4594 @LENGTH@ 5
|
||||
|
||||
|
||||
MOV MethodDeclaration@@public, GrantedAuthority[], MethodName:getAuthorities, @TO@ TypeDeclaration@@[public]MockRunAsAuthenticationToken, AbstractAuthenticationToken @AT@ 1349 @LENGTH@ 71
|
||||
|
||||
|
||||
UPD TryStatement@@try { String[] args=new String[]{LdapUtils.escapeNameForFilter(username)}; NamingEnumeration results=ctx.search(searchBase,searchFilter,args,searchControls); if (!results.hasMore()) { throw new UsernameNotFoundException("User " + username + " not found in directory."); } SearchResult searchResult=(SearchResult)results.next(); if (results.hasMore()) { throw new BadCredentialsException("Expected a single user but search returned multiple results"); } StringBuffer userDn=new StringBuffer(searchResult.getName()); if (searchBase.length() > 0) { userDn.append(","); userDn.append(searchBase); } userDn.append(","); userDn.append(ctx.getNameInNamespace()); return new LdapUserInfo(userDn.toString(),searchResult.getAttributes());} catch (NamingException ne) { throw new LdapDataAccessException("User Couldn't be found due to exception",ne);} finally { LdapUtils.closeContext(ctx);} @TO@ try { String[] args=new String[]{LdapUtils.escapeNameForFilter(username)}; NamingEnumeration results=ctx.search(searchBase,searchFilter,args,searchControls); if (!results.hasMore()) { throw new UsernameNotFoundException("User " + username + " not found in directory."); } SearchResult searchResult=(SearchResult)results.next(); if (results.hasMore()) { throw new BadCredentialsException("Expected a single user but search returned multiple results"); } StringBuffer userDn=new StringBuffer(searchResult.getName()); if (searchBase.length() > 0) { userDn.append(","); userDn.append(searchBase); } String nameInNamespace=ctx.getNameInNamespace(); if (StringUtils.hasLength(nameInNamespace)) { userDn.append(","); userDn.append(nameInNamespace); } return new LdapUserInfo(userDn.toString(),searchResult.getAttributes());} catch (NamingException ne) { throw new LdapDataAccessException("User Couldn't be found due to exception",ne);} finally { LdapUtils.closeContext(ctx);} @AT@ 4419 @LENGTH@ 1174
|
||||
---DEL ExpressionStatement@@MethodInvocation:userDn.append(ctx.getNameInNamespace()) @AT@ 5262 @LENGTH@ 40
|
||||
---INS VariableDeclarationStatement@@String nameInNamespace=ctx.getNameInNamespace(); @TO@ TryStatement@@try { String[] args=new String[]{LdapUtils.escapeNameForFilter(username)}; NamingEnumeration results=ctx.search(searchBase,searchFilter,args,searchControls); if (!results.hasMore()) { throw new UsernameNotFoundException("User " + username + " not found in directory."); } SearchResult searchResult=(SearchResult)results.next(); if (results.hasMore()) { throw new BadCredentialsException("Expected a single user but search returned multiple results"); } StringBuffer userDn=new StringBuffer(searchResult.getName()); if (searchBase.length() > 0) { userDn.append(","); userDn.append(searchBase); } userDn.append(","); userDn.append(ctx.getNameInNamespace()); return new LdapUserInfo(userDn.toString(),searchResult.getAttributes());} catch (NamingException ne) { throw new LdapDataAccessException("User Couldn't be found due to exception",ne);} finally { LdapUtils.closeContext(ctx);} @AT@ 5277 @LENGTH@ 50
|
||||
------INS SimpleType@@String @TO@ VariableDeclarationStatement@@String nameInNamespace=ctx.getNameInNamespace(); @AT@ 5277 @LENGTH@ 6
|
||||
------INS VariableDeclarationFragment@@nameInNamespace=ctx.getNameInNamespace() @TO@ VariableDeclarationStatement@@String nameInNamespace=ctx.getNameInNamespace(); @AT@ 5284 @LENGTH@ 42
|
||||
---------INS SimpleName@@nameInNamespace @TO@ VariableDeclarationFragment@@nameInNamespace=ctx.getNameInNamespace() @AT@ 5284 @LENGTH@ 15
|
||||
---------INS MethodInvocation@@ctx.getNameInNamespace() @TO@ VariableDeclarationFragment@@nameInNamespace=ctx.getNameInNamespace() @AT@ 5302 @LENGTH@ 24
|
||||
------------INS SimpleName@@Name:ctx @TO@ MethodInvocation@@ctx.getNameInNamespace() @AT@ 5302 @LENGTH@ 3
|
||||
------------INS SimpleName@@MethodName:getNameInNamespace:[] @TO@ MethodInvocation@@ctx.getNameInNamespace() @AT@ 5306 @LENGTH@ 20
|
||||
---INS IfStatement@@if (StringUtils.hasLength(nameInNamespace)) { userDn.append(","); userDn.append(nameInNamespace);} @TO@ TryStatement@@try { String[] args=new String[]{LdapUtils.escapeNameForFilter(username)}; NamingEnumeration results=ctx.search(searchBase,searchFilter,args,searchControls); if (!results.hasMore()) { throw new UsernameNotFoundException("User " + username + " not found in directory."); } SearchResult searchResult=(SearchResult)results.next(); if (results.hasMore()) { throw new BadCredentialsException("Expected a single user but search returned multiple results"); } StringBuffer userDn=new StringBuffer(searchResult.getName()); if (searchBase.length() > 0) { userDn.append(","); userDn.append(searchBase); } userDn.append(","); userDn.append(ctx.getNameInNamespace()); return new LdapUserInfo(userDn.toString(),searchResult.getAttributes());} catch (NamingException ne) { throw new LdapDataAccessException("User Couldn't be found due to exception",ne);} finally { LdapUtils.closeContext(ctx);} @AT@ 5341 @LENGTH@ 142
|
||||
------INS MethodInvocation@@StringUtils.hasLength(nameInNamespace) @TO@ IfStatement@@if (StringUtils.hasLength(nameInNamespace)) { userDn.append(","); userDn.append(nameInNamespace);} @AT@ 5344 @LENGTH@ 38
|
||||
---------INS SimpleName@@Name:StringUtils @TO@ MethodInvocation@@StringUtils.hasLength(nameInNamespace) @AT@ 5344 @LENGTH@ 11
|
||||
---------INS SimpleName@@MethodName:hasLength:[nameInNamespace] @TO@ MethodInvocation@@StringUtils.hasLength(nameInNamespace) @AT@ 5356 @LENGTH@ 26
|
||||
------------INS SimpleName@@nameInNamespace @TO@ SimpleName@@MethodName:hasLength:[nameInNamespace] @AT@ 5366 @LENGTH@ 15
|
||||
------INS Block@@ThenBody:{ userDn.append(","); userDn.append(nameInNamespace);} @TO@ IfStatement@@if (StringUtils.hasLength(nameInNamespace)) { userDn.append(","); userDn.append(nameInNamespace);} @AT@ 5384 @LENGTH@ 99
|
||||
---------MOV ExpressionStatement@@MethodInvocation:userDn.append(",") @TO@ Block@@ThenBody:{ userDn.append(","); userDn.append(nameInNamespace);} @AT@ 5230 @LENGTH@ 19
|
||||
---------INS ExpressionStatement@@MethodInvocation:userDn.append(nameInNamespace) @TO@ Block@@ThenBody:{ userDn.append(","); userDn.append(nameInNamespace);} @AT@ 5438 @LENGTH@ 31
|
||||
------------MOV MethodInvocation@@userDn.append(ctx.getNameInNamespace()) @TO@ ExpressionStatement@@MethodInvocation:userDn.append(nameInNamespace) @AT@ 5262 @LENGTH@ 39
|
||||
---------------UPD SimpleName@@MethodName:append:[ctx.getNameInNamespace()] @TO@ MethodName:append:[nameInNamespace] @AT@ 5269 @LENGTH@ 32
|
||||
------------------DEL MethodInvocation@@ctx.getNameInNamespace() @AT@ 5276 @LENGTH@ 24
|
||||
---------------------DEL SimpleName@@Name:ctx @AT@ 5276 @LENGTH@ 3
|
||||
---------------------DEL SimpleName@@MethodName:getNameInNamespace:[] @AT@ 5280 @LENGTH@ 20
|
||||
------------------INS SimpleName@@nameInNamespace @TO@ SimpleName@@MethodName:append:[ctx.getNameInNamespace()] @AT@ 5452 @LENGTH@ 15
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, static, Iterator, MethodName:lineIterator, Reader reader, @TO@ public, static, LineIterator, MethodName:lineIterator, Reader reader, @AT@ 18735 @LENGTH@ 99
|
||||
---UPD SimpleType@@Iterator @TO@ LineIterator @AT@ 18749 @LENGTH@ 8
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testMultipleDnPatternsWorkOk, @TO@ TypeDeclaration@@[public]PasswordComparisonAuthenticatorTests, AbstractLdapServerTestCase @AT@ 2550 @LENGTH@ 212
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testMultipleDnPatternsWorkOk, @AT@ 2550 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testMultipleDnPatternsWorkOk, @AT@ 2557 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testMultipleDnPatternsWorkOk @TO@ MethodDeclaration@@public, void, MethodName:testMultipleDnPatternsWorkOk, @AT@ 2562 @LENGTH@ 28
|
||||
---INS ExpressionStatement@@MethodInvocation:authenticator.setUserDnPatterns(new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"}) @TO@ MethodDeclaration@@public, void, MethodName:testMultipleDnPatternsWorkOk, @AT@ 2603 @LENGTH@ 94
|
||||
------INS MethodInvocation@@authenticator.setUserDnPatterns(new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"}) @TO@ ExpressionStatement@@MethodInvocation:authenticator.setUserDnPatterns(new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"}) @AT@ 2603 @LENGTH@ 93
|
||||
---------INS SimpleName@@Name:authenticator @TO@ MethodInvocation@@authenticator.setUserDnPatterns(new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"}) @AT@ 2603 @LENGTH@ 13
|
||||
---------INS SimpleName@@MethodName:setUserDnPatterns:[new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"}] @TO@ MethodInvocation@@authenticator.setUserDnPatterns(new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"}) @AT@ 2617 @LENGTH@ 79
|
||||
------------INS ArrayCreation@@new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"} @TO@ SimpleName@@MethodName:setUserDnPatterns:[new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"}] @AT@ 2635 @LENGTH@ 60
|
||||
---------------INS ArrayType@@String[] @TO@ ArrayCreation@@new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"} @AT@ 2639 @LENGTH@ 8
|
||||
------------------INS SimpleType@@String @TO@ ArrayType@@String[] @AT@ 2639 @LENGTH@ 6
|
||||
---------------INS ArrayInitializer@@{"uid={0},ou=nonexistent","uid={0},ou=people"} @TO@ ArrayCreation@@new String[]{"uid={0},ou=nonexistent","uid={0},ou=people"} @AT@ 2648 @LENGTH@ 47
|
||||
------------------INS StringLiteral@@"uid={0},ou=nonexistent" @TO@ ArrayInitializer@@{"uid={0},ou=nonexistent","uid={0},ou=people"} @AT@ 2649 @LENGTH@ 24
|
||||
------------------INS StringLiteral@@"uid={0},ou=people" @TO@ ArrayInitializer@@{"uid={0},ou=nonexistent","uid={0},ou=people"} @AT@ 2675 @LENGTH@ 19
|
||||
---INS ExpressionStatement@@MethodInvocation:authenticator.authenticate("Bob","bobspassword") @TO@ MethodDeclaration@@public, void, MethodName:testMultipleDnPatternsWorkOk, @AT@ 2706 @LENGTH@ 50
|
||||
------INS MethodInvocation@@authenticator.authenticate("Bob","bobspassword") @TO@ ExpressionStatement@@MethodInvocation:authenticator.authenticate("Bob","bobspassword") @AT@ 2706 @LENGTH@ 49
|
||||
---------INS SimpleName@@Name:authenticator @TO@ MethodInvocation@@authenticator.authenticate("Bob","bobspassword") @AT@ 2706 @LENGTH@ 13
|
||||
---------INS SimpleName@@MethodName:authenticate:["Bob", "bobspassword"] @TO@ MethodInvocation@@authenticator.authenticate("Bob","bobspassword") @AT@ 2720 @LENGTH@ 35
|
||||
------------INS StringLiteral@@"Bob" @TO@ SimpleName@@MethodName:authenticate:["Bob", "bobspassword"] @AT@ 2733 @LENGTH@ 5
|
||||
------------INS StringLiteral@@"bobspassword" @TO@ SimpleName@@MethodName:authenticate:["Bob", "bobspassword"] @AT@ 2740 @LENGTH@ 14
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 2740 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 2740 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 2762 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 2773 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 2773 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 2777 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:authRequest.setDetails(new WebAuthenticationDetails(request)) @TO@ MethodInvocation:authRequest.setDetails(new WebAuthenticationDetails(request,false)) @AT@ 3784 @LENGTH@ 62
|
||||
---UPD MethodInvocation@@authRequest.setDetails(new WebAuthenticationDetails(request)) @TO@ authRequest.setDetails(new WebAuthenticationDetails(request,false)) @AT@ 3784 @LENGTH@ 61
|
||||
------UPD SimpleName@@MethodName:setDetails:[new WebAuthenticationDetails(request)] @TO@ MethodName:setDetails:[new WebAuthenticationDetails(request,false)] @AT@ 3796 @LENGTH@ 49
|
||||
---------UPD ClassInstanceCreation@@WebAuthenticationDetails[request] @TO@ WebAuthenticationDetails[request, false] @AT@ 3807 @LENGTH@ 37
|
||||
------------INS BooleanLiteral@@false @TO@ ClassInstanceCreation@@WebAuthenticationDetails[request] @AT@ 3845 @LENGTH@ 5
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:testDir.mkdirs() @TO@ MethodDeclaration@@public, static, File, MethodName:getTestDirectory, @AT@ 1636 @LENGTH@ 17
|
||||
---INS MethodInvocation@@testDir.mkdirs() @TO@ ExpressionStatement@@MethodInvocation:testDir.mkdirs() @AT@ 1636 @LENGTH@ 16
|
||||
------INS SimpleName@@Name:testDir @TO@ MethodInvocation@@testDir.mkdirs() @AT@ 1636 @LENGTH@ 7
|
||||
------INS SimpleName@@MethodName:mkdirs:[] @TO@ MethodInvocation@@testDir.mkdirs() @AT@ 1644 @LENGTH@ 8
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:setUp, @TO@ TypeDeclaration@@[public]CaptchaChannelProcessorTemplateTests, TestCase @AT@ 1417 @LENGTH@ 73
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:setUp, @AT@ 1417 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:setUp, @AT@ 1424 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:setUp @TO@ MethodDeclaration@@public, void, MethodName:setUp, @AT@ 1429 @LENGTH@ 5
|
||||
---INS ExpressionStatement@@MethodInvocation:SecurityContextHolder.clearContext() @TO@ MethodDeclaration@@public, void, MethodName:setUp, @AT@ 1447 @LENGTH@ 37
|
||||
------INS MethodInvocation@@SecurityContextHolder.clearContext() @TO@ ExpressionStatement@@MethodInvocation:SecurityContextHolder.clearContext() @AT@ 1447 @LENGTH@ 36
|
||||
---------INS SimpleName@@Name:SecurityContextHolder @TO@ MethodInvocation@@SecurityContextHolder.clearContext() @AT@ 1447 @LENGTH@ 21
|
||||
---------INS SimpleName@@MethodName:clearContext:[] @TO@ MethodInvocation@@SecurityContextHolder.clearContext() @AT@ 1469 @LENGTH@ 14
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 6601 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 6601 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 6623 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 6634 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 6634 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 6638 @LENGTH@ 19
|
||||
|
||||
|
||||
INS ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(FileUtilsWaitForTestCase.class)) @TO@ MethodDeclaration@@public, static, Test, MethodName:suite, @AT@ 2236 @LENGTH@ 61
|
||||
---INS MethodInvocation@@suite.addTest(new TestSuite(FileUtilsWaitForTestCase.class)) @TO@ ExpressionStatement@@MethodInvocation:suite.addTest(new TestSuite(FileUtilsWaitForTestCase.class)) @AT@ 2236 @LENGTH@ 60
|
||||
------INS SimpleName@@Name:suite @TO@ MethodInvocation@@suite.addTest(new TestSuite(FileUtilsWaitForTestCase.class)) @AT@ 2236 @LENGTH@ 5
|
||||
------INS SimpleName@@MethodName:addTest:[new TestSuite(FileUtilsWaitForTestCase.class)] @TO@ MethodInvocation@@suite.addTest(new TestSuite(FileUtilsWaitForTestCase.class)) @AT@ 2242 @LENGTH@ 54
|
||||
---------INS ClassInstanceCreation@@TestSuite[FileUtilsWaitForTestCase.class] @TO@ SimpleName@@MethodName:addTest:[new TestSuite(FileUtilsWaitForTestCase.class)] @AT@ 2250 @LENGTH@ 45
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@TestSuite[FileUtilsWaitForTestCase.class] @AT@ 2250 @LENGTH@ 3
|
||||
------------INS SimpleType@@TestSuite @TO@ ClassInstanceCreation@@TestSuite[FileUtilsWaitForTestCase.class] @AT@ 2254 @LENGTH@ 9
|
||||
------------INS TypeLiteral@@FileUtilsWaitForTestCase.class @TO@ ClassInstanceCreation@@TestSuite[FileUtilsWaitForTestCase.class] @AT@ 2264 @LENGTH@ 30
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @TO@ TypeDeclaration@@[public]TestFileConfiguration, TestCase @AT@ 1853 @LENGTH@ 557
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 1853 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 1860 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testSetURLWithParams @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 1865 @LENGTH@ 20
|
||||
---INS SimpleType@@Exception @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 1895 @LENGTH@ 9
|
||||
---INS VariableDeclarationStatement@@FileConfiguration config=new PropertiesConfiguration(); @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 1919 @LENGTH@ 57
|
||||
------INS SimpleType@@FileConfiguration @TO@ VariableDeclarationStatement@@FileConfiguration config=new PropertiesConfiguration(); @AT@ 1919 @LENGTH@ 17
|
||||
------INS VariableDeclarationFragment@@config=new PropertiesConfiguration() @TO@ VariableDeclarationStatement@@FileConfiguration config=new PropertiesConfiguration(); @AT@ 1937 @LENGTH@ 38
|
||||
---------INS SimpleName@@config @TO@ VariableDeclarationFragment@@config=new PropertiesConfiguration() @AT@ 1937 @LENGTH@ 6
|
||||
---------INS ClassInstanceCreation@@PropertiesConfiguration[] @TO@ VariableDeclarationFragment@@config=new PropertiesConfiguration() @AT@ 1946 @LENGTH@ 29
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@PropertiesConfiguration[] @AT@ 1946 @LENGTH@ 3
|
||||
------------INS SimpleType@@PropertiesConfiguration @TO@ ClassInstanceCreation@@PropertiesConfiguration[] @AT@ 1950 @LENGTH@ 23
|
||||
---INS VariableDeclarationStatement@@URL url=new URL("http://issues.apache.org/bugzilla/show_bug.cgi?id=37886"); @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 1985 @LENGTH@ 94
|
||||
------INS SimpleType@@URL @TO@ VariableDeclarationStatement@@URL url=new URL("http://issues.apache.org/bugzilla/show_bug.cgi?id=37886"); @AT@ 1985 @LENGTH@ 3
|
||||
------INS VariableDeclarationFragment@@url=new URL("http://issues.apache.org/bugzilla/show_bug.cgi?id=37886") @TO@ VariableDeclarationStatement@@URL url=new URL("http://issues.apache.org/bugzilla/show_bug.cgi?id=37886"); @AT@ 1989 @LENGTH@ 89
|
||||
---------INS SimpleName@@url @TO@ VariableDeclarationFragment@@url=new URL("http://issues.apache.org/bugzilla/show_bug.cgi?id=37886") @AT@ 1989 @LENGTH@ 3
|
||||
---------INS ClassInstanceCreation@@URL["http://issues.apache.org/bugzilla/show_bug.cgi?id=37886"] @TO@ VariableDeclarationFragment@@url=new URL("http://issues.apache.org/bugzilla/show_bug.cgi?id=37886") @AT@ 1995 @LENGTH@ 83
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@URL["http://issues.apache.org/bugzilla/show_bug.cgi?id=37886"] @AT@ 1995 @LENGTH@ 3
|
||||
------------INS SimpleType@@URL @TO@ ClassInstanceCreation@@URL["http://issues.apache.org/bugzilla/show_bug.cgi?id=37886"] @AT@ 1999 @LENGTH@ 3
|
||||
------------INS StringLiteral@@"http://issues.apache.org/bugzilla/show_bug.cgi?id=37886" @TO@ ClassInstanceCreation@@URL["http://issues.apache.org/bugzilla/show_bug.cgi?id=37886"] @AT@ 2020 @LENGTH@ 57
|
||||
---INS ExpressionStatement@@MethodInvocation:config.setURL(url) @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 2088 @LENGTH@ 19
|
||||
------INS MethodInvocation@@config.setURL(url) @TO@ ExpressionStatement@@MethodInvocation:config.setURL(url) @AT@ 2088 @LENGTH@ 18
|
||||
---------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.setURL(url) @AT@ 2088 @LENGTH@ 6
|
||||
---------INS SimpleName@@MethodName:setURL:[url] @TO@ MethodInvocation@@config.setURL(url) @AT@ 2095 @LENGTH@ 11
|
||||
------------INS SimpleName@@url @TO@ SimpleName@@MethodName:setURL:[url] @AT@ 2102 @LENGTH@ 3
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("Base path incorrect","http://issues.apache.org/bugzilla/",config.getBasePath()) @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 2116 @LENGTH@ 112
|
||||
------INS MethodInvocation@@assertEquals("Base path incorrect","http://issues.apache.org/bugzilla/",config.getBasePath()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("Base path incorrect","http://issues.apache.org/bugzilla/",config.getBasePath()) @AT@ 2116 @LENGTH@ 111
|
||||
---------INS SimpleName@@MethodName:assertEquals:["Base path incorrect", "http://issues.apache.org/bugzilla/", config.getBasePath()] @TO@ MethodInvocation@@assertEquals("Base path incorrect","http://issues.apache.org/bugzilla/",config.getBasePath()) @AT@ 2116 @LENGTH@ 111
|
||||
------------INS StringLiteral@@"Base path incorrect" @TO@ SimpleName@@MethodName:assertEquals:["Base path incorrect", "http://issues.apache.org/bugzilla/", config.getBasePath()] @AT@ 2129 @LENGTH@ 21
|
||||
------------INS StringLiteral@@"http://issues.apache.org/bugzilla/" @TO@ SimpleName@@MethodName:assertEquals:["Base path incorrect", "http://issues.apache.org/bugzilla/", config.getBasePath()] @AT@ 2168 @LENGTH@ 36
|
||||
------------INS MethodInvocation@@config.getBasePath() @TO@ SimpleName@@MethodName:assertEquals:["Base path incorrect", "http://issues.apache.org/bugzilla/", config.getBasePath()] @AT@ 2206 @LENGTH@ 20
|
||||
---------------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.getBasePath() @AT@ 2206 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:getBasePath:[] @TO@ MethodInvocation@@config.getBasePath() @AT@ 2213 @LENGTH@ 13
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("File name incorrect","show_bug.cgi",config.getFileName()) @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 2237 @LENGTH@ 91
|
||||
------INS MethodInvocation@@assertEquals("File name incorrect","show_bug.cgi",config.getFileName()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("File name incorrect","show_bug.cgi",config.getFileName()) @AT@ 2237 @LENGTH@ 90
|
||||
---------INS SimpleName@@MethodName:assertEquals:["File name incorrect", "show_bug.cgi", config.getFileName()] @TO@ MethodInvocation@@assertEquals("File name incorrect","show_bug.cgi",config.getFileName()) @AT@ 2237 @LENGTH@ 90
|
||||
------------INS StringLiteral@@"File name incorrect" @TO@ SimpleName@@MethodName:assertEquals:["File name incorrect", "show_bug.cgi", config.getFileName()] @AT@ 2250 @LENGTH@ 21
|
||||
------------INS StringLiteral@@"show_bug.cgi" @TO@ SimpleName@@MethodName:assertEquals:["File name incorrect", "show_bug.cgi", config.getFileName()] @AT@ 2273 @LENGTH@ 14
|
||||
------------INS MethodInvocation@@config.getFileName() @TO@ SimpleName@@MethodName:assertEquals:["File name incorrect", "show_bug.cgi", config.getFileName()] @AT@ 2289 @LENGTH@ 37
|
||||
---------------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.getFileName() @AT@ 2289 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:getFileName:[] @TO@ MethodInvocation@@config.getFileName() @AT@ 2313 @LENGTH@ 13
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("URL was not correctly stored",url,config.getURL()) @TO@ MethodDeclaration@@public, void, MethodName:testSetURLWithParams, Exception, @AT@ 2337 @LENGTH@ 67
|
||||
------INS MethodInvocation@@assertEquals("URL was not correctly stored",url,config.getURL()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("URL was not correctly stored",url,config.getURL()) @AT@ 2337 @LENGTH@ 66
|
||||
---------INS SimpleName@@MethodName:assertEquals:["URL was not correctly stored", url, config.getURL()] @TO@ MethodInvocation@@assertEquals("URL was not correctly stored",url,config.getURL()) @AT@ 2337 @LENGTH@ 66
|
||||
------------INS StringLiteral@@"URL was not correctly stored" @TO@ SimpleName@@MethodName:assertEquals:["URL was not correctly stored", url, config.getURL()] @AT@ 2350 @LENGTH@ 30
|
||||
------------INS SimpleName@@url @TO@ SimpleName@@MethodName:assertEquals:["URL was not correctly stored", url, config.getURL()] @AT@ 2382 @LENGTH@ 3
|
||||
------------INS MethodInvocation@@config.getURL() @TO@ SimpleName@@MethodName:assertEquals:["URL was not correctly stored", url, config.getURL()] @AT@ 2387 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:config @TO@ MethodInvocation@@config.getURL() @AT@ 2387 @LENGTH@ 6
|
||||
---------------INS SimpleName@@MethodName:getURL:[] @TO@ MethodInvocation@@config.getURL() @AT@ 2394 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 2580 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 2580 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 2602 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 2613 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 2613 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 2617 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:testNoArgConstructor, @TO@ public, void, MethodName:testNoArgConstructorDoesntExist, @AT@ 7722 @LENGTH@ 257
|
||||
---UPD SimpleName@@MethodName:testNoArgConstructor @TO@ MethodName:testNoArgConstructorDoesntExist @AT@ 7734 @LENGTH@ 20
|
||||
---UPD TryStatement@@try { new CasAuthenticationToken(); fail("Should have thrown IllegalArgumentException");} catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ try { clazz.getDeclaredConstructor((Class[])null); fail("Should have thrown NoSuchMethodException");} catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 7767 @LENGTH@ 206
|
||||
------UPD ExpressionStatement@@ClassInstanceCreation:new CasAuthenticationToken() @TO@ MethodInvocation:clazz.getDeclaredConstructor((Class[])null) @AT@ 7785 @LENGTH@ 29
|
||||
---------DEL ClassInstanceCreation@@CasAuthenticationToken[] @AT@ 7785 @LENGTH@ 28
|
||||
------------DEL New@@new @AT@ 7785 @LENGTH@ 3
|
||||
------------DEL SimpleType@@CasAuthenticationToken @AT@ 7789 @LENGTH@ 22
|
||||
---------INS MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @TO@ ExpressionStatement@@ClassInstanceCreation:new CasAuthenticationToken() @AT@ 7849 @LENGTH@ 43
|
||||
------------INS SimpleName@@Name:clazz @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 7849 @LENGTH@ 5
|
||||
------------INS SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 7855 @LENGTH@ 37
|
||||
---------------INS CastExpression@@(Class[])null @TO@ SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @AT@ 7878 @LENGTH@ 13
|
||||
------------------INS ArrayType@@Class[] @TO@ CastExpression@@(Class[])null @AT@ 7879 @LENGTH@ 7
|
||||
---------------------INS SimpleType@@Class @TO@ ArrayType@@Class[] @AT@ 7879 @LENGTH@ 5
|
||||
------------------INS NullLiteral@@null @TO@ CastExpression@@(Class[])null @AT@ 7887 @LENGTH@ 4
|
||||
------UPD ExpressionStatement@@MethodInvocation:fail("Should have thrown IllegalArgumentException") @TO@ MethodInvocation:fail("Should have thrown NoSuchMethodException") @AT@ 7827 @LENGTH@ 52
|
||||
---------UPD MethodInvocation@@fail("Should have thrown IllegalArgumentException") @TO@ fail("Should have thrown NoSuchMethodException") @AT@ 7827 @LENGTH@ 51
|
||||
------------UPD SimpleName@@MethodName:fail:["Should have thrown IllegalArgumentException"] @TO@ MethodName:fail:["Should have thrown NoSuchMethodException"] @AT@ 7827 @LENGTH@ 51
|
||||
---------------UPD StringLiteral@@"Should have thrown IllegalArgumentException" @TO@ "Should have thrown NoSuchMethodException" @AT@ 7832 @LENGTH@ 45
|
||||
------UPD CatchClause@@catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 7890 @LENGTH@ 83
|
||||
---------UPD SingleVariableDeclaration@@IllegalArgumentException expected @TO@ NoSuchMethodException expected @AT@ 7897 @LENGTH@ 33
|
||||
------------UPD SimpleType@@IllegalArgumentException @TO@ NoSuchMethodException @AT@ 7897 @LENGTH@ 24
|
||||
---INS VariableDeclarationStatement@@Class clazz=CasAuthenticationToken.class; @TO@ MethodDeclaration@@public, void, MethodName:testNoArgConstructor, @AT@ 7778 @LENGTH@ 43
|
||||
------INS SimpleType@@Class @TO@ VariableDeclarationStatement@@Class clazz=CasAuthenticationToken.class; @AT@ 7778 @LENGTH@ 5
|
||||
------INS VariableDeclarationFragment@@clazz=CasAuthenticationToken.class @TO@ VariableDeclarationStatement@@Class clazz=CasAuthenticationToken.class; @AT@ 7784 @LENGTH@ 36
|
||||
---------INS SimpleName@@clazz @TO@ VariableDeclarationFragment@@clazz=CasAuthenticationToken.class @AT@ 7784 @LENGTH@ 5
|
||||
---------INS TypeLiteral@@CasAuthenticationToken.class @TO@ VariableDeclarationFragment@@clazz=CasAuthenticationToken.class @AT@ 7792 @LENGTH@ 28
|
||||
|
||||
|
||||
INS MethodDeclaration@@public, void, MethodName:testSecureLdapUrlIsSupported, @TO@ TypeDeclaration@@[public]DefaultInitialDirContextFactoryTests, AbstractLdapServerTestCase @AT@ 1338 @LENGTH@ 212
|
||||
---INS Modifier@@public @TO@ MethodDeclaration@@public, void, MethodName:testSecureLdapUrlIsSupported, @AT@ 1338 @LENGTH@ 6
|
||||
---INS PrimitiveType@@void @TO@ MethodDeclaration@@public, void, MethodName:testSecureLdapUrlIsSupported, @AT@ 1345 @LENGTH@ 4
|
||||
---INS SimpleName@@MethodName:testSecureLdapUrlIsSupported @TO@ MethodDeclaration@@public, void, MethodName:testSecureLdapUrlIsSupported, @AT@ 1350 @LENGTH@ 28
|
||||
---INS ExpressionStatement@@Assignment:idf=new DefaultInitialDirContextFactory("ldaps://localhost/dc=acegisecurity,dc=org") @TO@ MethodDeclaration@@public, void, MethodName:testSecureLdapUrlIsSupported, @AT@ 1391 @LENGTH@ 87
|
||||
------INS Assignment@@idf=new DefaultInitialDirContextFactory("ldaps://localhost/dc=acegisecurity,dc=org") @TO@ ExpressionStatement@@Assignment:idf=new DefaultInitialDirContextFactory("ldaps://localhost/dc=acegisecurity,dc=org") @AT@ 1391 @LENGTH@ 86
|
||||
---------INS SimpleName@@idf @TO@ Assignment@@idf=new DefaultInitialDirContextFactory("ldaps://localhost/dc=acegisecurity,dc=org") @AT@ 1391 @LENGTH@ 3
|
||||
---------INS Operator@@= @TO@ Assignment@@idf=new DefaultInitialDirContextFactory("ldaps://localhost/dc=acegisecurity,dc=org") @AT@ 1394 @LENGTH@ 1
|
||||
---------INS ClassInstanceCreation@@DefaultInitialDirContextFactory["ldaps://localhost/dc=acegisecurity,dc=org"] @TO@ Assignment@@idf=new DefaultInitialDirContextFactory("ldaps://localhost/dc=acegisecurity,dc=org") @AT@ 1397 @LENGTH@ 80
|
||||
------------INS New@@new @TO@ ClassInstanceCreation@@DefaultInitialDirContextFactory["ldaps://localhost/dc=acegisecurity,dc=org"] @AT@ 1397 @LENGTH@ 3
|
||||
------------INS SimpleType@@DefaultInitialDirContextFactory @TO@ ClassInstanceCreation@@DefaultInitialDirContextFactory["ldaps://localhost/dc=acegisecurity,dc=org"] @AT@ 1401 @LENGTH@ 31
|
||||
------------INS StringLiteral@@"ldaps://localhost/dc=acegisecurity,dc=org" @TO@ ClassInstanceCreation@@DefaultInitialDirContextFactory["ldaps://localhost/dc=acegisecurity,dc=org"] @AT@ 1433 @LENGTH@ 43
|
||||
---INS ExpressionStatement@@MethodInvocation:assertEquals("dc=acegisecurity,dc=org",idf.getRootDn()) @TO@ MethodDeclaration@@public, void, MethodName:testSecureLdapUrlIsSupported, @AT@ 1487 @LENGTH@ 57
|
||||
------INS MethodInvocation@@assertEquals("dc=acegisecurity,dc=org",idf.getRootDn()) @TO@ ExpressionStatement@@MethodInvocation:assertEquals("dc=acegisecurity,dc=org",idf.getRootDn()) @AT@ 1487 @LENGTH@ 56
|
||||
---------INS SimpleName@@MethodName:assertEquals:["dc=acegisecurity,dc=org", idf.getRootDn()] @TO@ MethodInvocation@@assertEquals("dc=acegisecurity,dc=org",idf.getRootDn()) @AT@ 1487 @LENGTH@ 56
|
||||
------------INS StringLiteral@@"dc=acegisecurity,dc=org" @TO@ SimpleName@@MethodName:assertEquals:["dc=acegisecurity,dc=org", idf.getRootDn()] @AT@ 1500 @LENGTH@ 25
|
||||
------------INS MethodInvocation@@idf.getRootDn() @TO@ SimpleName@@MethodName:assertEquals:["dc=acegisecurity,dc=org", idf.getRootDn()] @AT@ 1527 @LENGTH@ 15
|
||||
---------------INS SimpleName@@Name:idf @TO@ MethodInvocation@@idf.getRootDn() @AT@ 1527 @LENGTH@ 3
|
||||
---------------INS SimpleName@@MethodName:getRootDn:[] @TO@ MethodInvocation@@idf.getRootDn() @AT@ 1531 @LENGTH@ 11
|
||||
|
||||
|
||||
UPD ExpressionStatement@@Assignment:classArgs=(Class[])list.toArray() @TO@ Assignment:classArgs=(Class[])list.toArray(new Class[]{}) @AT@ 2701 @LENGTH@ 37
|
||||
---UPD Assignment@@classArgs=(Class[])list.toArray() @TO@ classArgs=(Class[])list.toArray(new Class[]{}) @AT@ 2701 @LENGTH@ 36
|
||||
------UPD CastExpression@@(Class[])list.toArray() @TO@ (Class[])list.toArray(new Class[]{}) @AT@ 2713 @LENGTH@ 24
|
||||
---------UPD MethodInvocation@@list.toArray() @TO@ list.toArray(new Class[]{}) @AT@ 2723 @LENGTH@ 14
|
||||
------------UPD SimpleName@@MethodName:toArray:[] @TO@ MethodName:toArray:[new Class[]{}] @AT@ 2728 @LENGTH@ 9
|
||||
---------------INS ArrayCreation@@new Class[]{} @TO@ SimpleName@@MethodName:toArray:[] @AT@ 2736 @LENGTH@ 14
|
||||
------------------INS ArrayType@@Class[] @TO@ ArrayCreation@@new Class[]{} @AT@ 2740 @LENGTH@ 7
|
||||
---------------------INS SimpleType@@Class @TO@ ArrayType@@Class[] @AT@ 2740 @LENGTH@ 5
|
||||
------------------INS ArrayInitializer@@{} @TO@ ArrayCreation@@new Class[]{} @AT@ 2748 @LENGTH@ 2
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 6450 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 6450 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 6472 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 6483 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 6483 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 6487 @LENGTH@ 19
|
||||
|
||||
|
||||
INS IfStatement@@if (preds.length == 0) { return TruePredicate.INSTANCE;} @TO@ MethodDeclaration@@public, static, Predicate, MethodName:getInstance, Collection predicates, @AT@ 2472 @LENGTH@ 77
|
||||
---INS InfixExpression@@preds.length == 0 @TO@ IfStatement@@if (preds.length == 0) { return TruePredicate.INSTANCE;} @AT@ 2476 @LENGTH@ 17
|
||||
------INS QualifiedName@@preds.length @TO@ InfixExpression@@preds.length == 0 @AT@ 2476 @LENGTH@ 12
|
||||
---------INS SimpleName@@preds @TO@ QualifiedName@@preds.length @AT@ 2476 @LENGTH@ 5
|
||||
---------INS SimpleName@@length @TO@ QualifiedName@@preds.length @AT@ 2482 @LENGTH@ 6
|
||||
------INS Operator@@== @TO@ InfixExpression@@preds.length == 0 @AT@ 2488 @LENGTH@ 2
|
||||
------INS NumberLiteral@@0 @TO@ InfixExpression@@preds.length == 0 @AT@ 2492 @LENGTH@ 1
|
||||
---INS Block@@ThenBody:{ return TruePredicate.INSTANCE;} @TO@ IfStatement@@if (preds.length == 0) { return TruePredicate.INSTANCE;} @AT@ 2495 @LENGTH@ 54
|
||||
------INS ReturnStatement@@QualifiedName:TruePredicate.INSTANCE @TO@ Block@@ThenBody:{ return TruePredicate.INSTANCE;} @AT@ 2509 @LENGTH@ 30
|
||||
---------INS QualifiedName@@TruePredicate.INSTANCE @TO@ ReturnStatement@@QualifiedName:TruePredicate.INSTANCE @AT@ 2516 @LENGTH@ 22
|
||||
------------INS SimpleName@@TruePredicate @TO@ QualifiedName@@TruePredicate.INSTANCE @AT@ 2516 @LENGTH@ 13
|
||||
------------INS SimpleName@@INSTANCE @TO@ QualifiedName@@TruePredicate.INSTANCE @AT@ 2530 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 2589 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 2589 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 2611 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 2622 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 2622 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 2626 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:testNoArgConstructor, @TO@ public, void, MethodName:testNoArgConstructorDoesntExist, @AT@ 4583 @LENGTH@ 263
|
||||
---UPD SimpleName@@MethodName:testNoArgConstructor @TO@ MethodName:testNoArgConstructorDoesntExist @AT@ 4595 @LENGTH@ 20
|
||||
---UPD TryStatement@@try { new AnonymousAuthenticationToken(); fail("Should have thrown IllegalArgumentException");} catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ try { clazz.getDeclaredConstructor((Class[])null); fail("Should have thrown NoSuchMethodException");} catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 4628 @LENGTH@ 212
|
||||
------UPD ExpressionStatement@@ClassInstanceCreation:new AnonymousAuthenticationToken() @TO@ MethodInvocation:clazz.getDeclaredConstructor((Class[])null) @AT@ 4646 @LENGTH@ 35
|
||||
---------DEL ClassInstanceCreation@@AnonymousAuthenticationToken[] @AT@ 4646 @LENGTH@ 34
|
||||
------------DEL New@@new @AT@ 4646 @LENGTH@ 3
|
||||
------------DEL SimpleType@@AnonymousAuthenticationToken @AT@ 4650 @LENGTH@ 28
|
||||
---------INS MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @TO@ ExpressionStatement@@ClassInstanceCreation:new AnonymousAuthenticationToken() @AT@ 4793 @LENGTH@ 43
|
||||
------------INS SimpleName@@Name:clazz @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 4793 @LENGTH@ 5
|
||||
------------INS SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 4799 @LENGTH@ 37
|
||||
---------------INS CastExpression@@(Class[])null @TO@ SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @AT@ 4822 @LENGTH@ 13
|
||||
------------------INS ArrayType@@Class[] @TO@ CastExpression@@(Class[])null @AT@ 4823 @LENGTH@ 7
|
||||
---------------------INS SimpleType@@Class @TO@ ArrayType@@Class[] @AT@ 4823 @LENGTH@ 5
|
||||
------------------INS NullLiteral@@null @TO@ CastExpression@@(Class[])null @AT@ 4831 @LENGTH@ 4
|
||||
------UPD ExpressionStatement@@MethodInvocation:fail("Should have thrown IllegalArgumentException") @TO@ MethodInvocation:fail("Should have thrown NoSuchMethodException") @AT@ 4694 @LENGTH@ 52
|
||||
---------UPD MethodInvocation@@fail("Should have thrown IllegalArgumentException") @TO@ fail("Should have thrown NoSuchMethodException") @AT@ 4694 @LENGTH@ 51
|
||||
------------UPD SimpleName@@MethodName:fail:["Should have thrown IllegalArgumentException"] @TO@ MethodName:fail:["Should have thrown NoSuchMethodException"] @AT@ 4694 @LENGTH@ 51
|
||||
---------------UPD StringLiteral@@"Should have thrown IllegalArgumentException" @TO@ "Should have thrown NoSuchMethodException" @AT@ 4699 @LENGTH@ 45
|
||||
------UPD CatchClause@@catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 4757 @LENGTH@ 83
|
||||
---------UPD SingleVariableDeclaration@@IllegalArgumentException expected @TO@ NoSuchMethodException expected @AT@ 4764 @LENGTH@ 33
|
||||
------------UPD SimpleType@@IllegalArgumentException @TO@ NoSuchMethodException @AT@ 4764 @LENGTH@ 24
|
||||
---INS VariableDeclarationStatement@@Class clazz=AnonymousAuthenticationToken.class; @TO@ MethodDeclaration@@public, void, MethodName:testNoArgConstructor, @AT@ 4716 @LENGTH@ 49
|
||||
------INS SimpleType@@Class @TO@ VariableDeclarationStatement@@Class clazz=AnonymousAuthenticationToken.class; @AT@ 4716 @LENGTH@ 5
|
||||
------INS VariableDeclarationFragment@@clazz=AnonymousAuthenticationToken.class @TO@ VariableDeclarationStatement@@Class clazz=AnonymousAuthenticationToken.class; @AT@ 4722 @LENGTH@ 42
|
||||
---------INS SimpleName@@clazz @TO@ VariableDeclarationFragment@@clazz=AnonymousAuthenticationToken.class @AT@ 4722 @LENGTH@ 5
|
||||
---------INS TypeLiteral@@AnonymousAuthenticationToken.class @TO@ VariableDeclarationFragment@@clazz=AnonymousAuthenticationToken.class @AT@ 4730 @LENGTH@ 34
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 17682 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 17682 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 17704 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 17715 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 17715 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 17719 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD IfStatement@@if (numBytes == -1) { break;} @TO@ if (numBytes == -1) { Arrays.fill(m_blockBuffer,offset,offset + bytesNeeded,(byte)0); break;} @AT@ 11874 @LENGTH@ 71
|
||||
---UPD Block@@ThenBody:{ break;} @TO@ ThenBody:{ Arrays.fill(m_blockBuffer,offset,offset + bytesNeeded,(byte)0); break;} @AT@ 11907 @LENGTH@ 38
|
||||
------INS ExpressionStatement@@MethodInvocation:Arrays.fill(m_blockBuffer,offset,offset + bytesNeeded,(byte)0) @TO@ Block@@ThenBody:{ break;} @AT@ 12302 @LENGTH@ 67
|
||||
---------INS MethodInvocation@@Arrays.fill(m_blockBuffer,offset,offset + bytesNeeded,(byte)0) @TO@ ExpressionStatement@@MethodInvocation:Arrays.fill(m_blockBuffer,offset,offset + bytesNeeded,(byte)0) @AT@ 12302 @LENGTH@ 66
|
||||
------------INS SimpleName@@Name:Arrays @TO@ MethodInvocation@@Arrays.fill(m_blockBuffer,offset,offset + bytesNeeded,(byte)0) @AT@ 12302 @LENGTH@ 6
|
||||
------------INS SimpleName@@MethodName:fill:[m_blockBuffer, offset, offset + bytesNeeded, (byte)0] @TO@ MethodInvocation@@Arrays.fill(m_blockBuffer,offset,offset + bytesNeeded,(byte)0) @AT@ 12309 @LENGTH@ 59
|
||||
---------------INS SimpleName@@m_blockBuffer @TO@ SimpleName@@MethodName:fill:[m_blockBuffer, offset, offset + bytesNeeded, (byte)0] @AT@ 12314 @LENGTH@ 13
|
||||
---------------INS SimpleName@@offset @TO@ SimpleName@@MethodName:fill:[m_blockBuffer, offset, offset + bytesNeeded, (byte)0] @AT@ 12329 @LENGTH@ 6
|
||||
---------------INS InfixExpression@@offset + bytesNeeded @TO@ SimpleName@@MethodName:fill:[m_blockBuffer, offset, offset + bytesNeeded, (byte)0] @AT@ 12337 @LENGTH@ 20
|
||||
------------------INS SimpleName@@offset @TO@ InfixExpression@@offset + bytesNeeded @AT@ 12337 @LENGTH@ 6
|
||||
------------------INS Operator@@+ @TO@ InfixExpression@@offset + bytesNeeded @AT@ 12343 @LENGTH@ 1
|
||||
------------------INS SimpleName@@bytesNeeded @TO@ InfixExpression@@offset + bytesNeeded @AT@ 12346 @LENGTH@ 11
|
||||
---------------INS CastExpression@@(byte)0 @TO@ SimpleName@@MethodName:fill:[m_blockBuffer, offset, offset + bytesNeeded, (byte)0] @AT@ 12359 @LENGTH@ 8
|
||||
------------------INS PrimitiveType@@byte @TO@ CastExpression@@(byte)0 @AT@ 12360 @LENGTH@ 4
|
||||
------------------INS NumberLiteral@@0 @TO@ CastExpression@@(byte)0 @AT@ 12366 @LENGTH@ 1
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 2294 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 2294 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 2316 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 2327 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 2327 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 2331 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD MethodDeclaration@@public, void, MethodName:testNoArgsConstructor, @TO@ public, void, MethodName:testNoArgConstructorDoesntExist, @AT@ 2563 @LENGTH@ 250
|
||||
---UPD SimpleName@@MethodName:testNoArgsConstructor @TO@ MethodName:testNoArgConstructorDoesntExist @AT@ 2575 @LENGTH@ 21
|
||||
---UPD TryStatement@@try { new RunAsUserToken(); fail("Should have thrown IllegalArgumentException");} catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ try { clazz.getDeclaredConstructor((Class[])null); fail("Should have thrown NoSuchMethodException");} catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 2609 @LENGTH@ 198
|
||||
------UPD ExpressionStatement@@ClassInstanceCreation:new RunAsUserToken() @TO@ MethodInvocation:clazz.getDeclaredConstructor((Class[])null) @AT@ 2627 @LENGTH@ 21
|
||||
---------DEL ClassInstanceCreation@@RunAsUserToken[] @AT@ 2627 @LENGTH@ 20
|
||||
------------DEL New@@new @AT@ 2627 @LENGTH@ 3
|
||||
------------DEL SimpleType@@RunAsUserToken @AT@ 2631 @LENGTH@ 14
|
||||
---------INS MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @TO@ ExpressionStatement@@ClassInstanceCreation:new RunAsUserToken() @AT@ 2683 @LENGTH@ 43
|
||||
------------INS SimpleName@@Name:clazz @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 2683 @LENGTH@ 5
|
||||
------------INS SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @TO@ MethodInvocation@@clazz.getDeclaredConstructor((Class[])null) @AT@ 2689 @LENGTH@ 37
|
||||
---------------INS CastExpression@@(Class[])null @TO@ SimpleName@@MethodName:getDeclaredConstructor:[(Class[])null] @AT@ 2712 @LENGTH@ 13
|
||||
------------------INS ArrayType@@Class[] @TO@ CastExpression@@(Class[])null @AT@ 2713 @LENGTH@ 7
|
||||
---------------------INS SimpleType@@Class @TO@ ArrayType@@Class[] @AT@ 2713 @LENGTH@ 5
|
||||
------------------INS NullLiteral@@null @TO@ CastExpression@@(Class[])null @AT@ 2721 @LENGTH@ 4
|
||||
------UPD ExpressionStatement@@MethodInvocation:fail("Should have thrown IllegalArgumentException") @TO@ MethodInvocation:fail("Should have thrown NoSuchMethodException") @AT@ 2661 @LENGTH@ 52
|
||||
---------UPD MethodInvocation@@fail("Should have thrown IllegalArgumentException") @TO@ fail("Should have thrown NoSuchMethodException") @AT@ 2661 @LENGTH@ 51
|
||||
------------UPD SimpleName@@MethodName:fail:["Should have thrown IllegalArgumentException"] @TO@ MethodName:fail:["Should have thrown NoSuchMethodException"] @AT@ 2661 @LENGTH@ 51
|
||||
---------------UPD StringLiteral@@"Should have thrown IllegalArgumentException" @TO@ "Should have thrown NoSuchMethodException" @AT@ 2666 @LENGTH@ 45
|
||||
------UPD CatchClause@@catch (IllegalArgumentException expected) { assertTrue(true);} @TO@ catch (NoSuchMethodException expected) { assertTrue(true);} @AT@ 2724 @LENGTH@ 83
|
||||
---------UPD SingleVariableDeclaration@@IllegalArgumentException expected @TO@ NoSuchMethodException expected @AT@ 2731 @LENGTH@ 33
|
||||
------------UPD SimpleType@@IllegalArgumentException @TO@ NoSuchMethodException @AT@ 2731 @LENGTH@ 24
|
||||
---INS VariableDeclarationStatement@@Class clazz=RunAsUserToken.class; @TO@ MethodDeclaration@@public, void, MethodName:testNoArgsConstructor, @AT@ 2620 @LENGTH@ 35
|
||||
------INS SimpleType@@Class @TO@ VariableDeclarationStatement@@Class clazz=RunAsUserToken.class; @AT@ 2620 @LENGTH@ 5
|
||||
------INS VariableDeclarationFragment@@clazz=RunAsUserToken.class @TO@ VariableDeclarationStatement@@Class clazz=RunAsUserToken.class; @AT@ 2626 @LENGTH@ 28
|
||||
---------INS SimpleName@@clazz @TO@ VariableDeclarationFragment@@clazz=RunAsUserToken.class @AT@ 2626 @LENGTH@ 5
|
||||
---------INS TypeLiteral@@RunAsUserToken.class @TO@ VariableDeclarationFragment@@clazz=RunAsUserToken.class @AT@ 2634 @LENGTH@ 20
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 5206 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 5206 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 5228 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 5239 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 5239 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 5243 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:authRequest.setDetails(new WebAuthenticationDetails(request)) @TO@ MethodInvocation:authRequest.setDetails(new WebAuthenticationDetails(request,false)) @AT@ 3934 @LENGTH@ 62
|
||||
---UPD MethodInvocation@@authRequest.setDetails(new WebAuthenticationDetails(request)) @TO@ authRequest.setDetails(new WebAuthenticationDetails(request,false)) @AT@ 3934 @LENGTH@ 61
|
||||
------UPD SimpleName@@MethodName:setDetails:[new WebAuthenticationDetails(request)] @TO@ MethodName:setDetails:[new WebAuthenticationDetails(request,false)] @AT@ 3946 @LENGTH@ 49
|
||||
---------UPD ClassInstanceCreation@@WebAuthenticationDetails[request] @TO@ WebAuthenticationDetails[request, false] @AT@ 3957 @LENGTH@ 37
|
||||
------------INS BooleanLiteral@@false @TO@ ClassInstanceCreation@@WebAuthenticationDetails[request] @AT@ 3996 @LENGTH@ 5
|
||||
|
||||
|
||||
INS IfStatement@@if (predicates.length == 0) { return TruePredicate.INSTANCE;} @TO@ MethodDeclaration@@public, static, Predicate, MethodName:getInstance, Predicate[] predicates, @AT@ 1820 @LENGTH@ 82
|
||||
---INS InfixExpression@@predicates.length == 0 @TO@ IfStatement@@if (predicates.length == 0) { return TruePredicate.INSTANCE;} @AT@ 1824 @LENGTH@ 22
|
||||
------INS QualifiedName@@predicates.length @TO@ InfixExpression@@predicates.length == 0 @AT@ 1824 @LENGTH@ 17
|
||||
---------INS SimpleName@@predicates @TO@ QualifiedName@@predicates.length @AT@ 1824 @LENGTH@ 10
|
||||
---------INS SimpleName@@length @TO@ QualifiedName@@predicates.length @AT@ 1835 @LENGTH@ 6
|
||||
------INS Operator@@== @TO@ InfixExpression@@predicates.length == 0 @AT@ 1841 @LENGTH@ 2
|
||||
------INS NumberLiteral@@0 @TO@ InfixExpression@@predicates.length == 0 @AT@ 1845 @LENGTH@ 1
|
||||
---INS Block@@ThenBody:{ return TruePredicate.INSTANCE;} @TO@ IfStatement@@if (predicates.length == 0) { return TruePredicate.INSTANCE;} @AT@ 1848 @LENGTH@ 54
|
||||
------INS ReturnStatement@@QualifiedName:TruePredicate.INSTANCE @TO@ Block@@ThenBody:{ return TruePredicate.INSTANCE;} @AT@ 1862 @LENGTH@ 30
|
||||
---------INS QualifiedName@@TruePredicate.INSTANCE @TO@ ReturnStatement@@QualifiedName:TruePredicate.INSTANCE @AT@ 1869 @LENGTH@ 22
|
||||
------------INS SimpleName@@TruePredicate @TO@ QualifiedName@@TruePredicate.INSTANCE @AT@ 1869 @LENGTH@ 13
|
||||
------------INS SimpleName@@INSTANCE @TO@ QualifiedName@@TruePredicate.INSTANCE @AT@ 1883 @LENGTH@ 8
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 3162 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 3162 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 3184 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 3195 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 3195 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 3199 @LENGTH@ 19
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:assertEquals(token.getAuthorities(),response.getAuthorities()) @TO@ MethodInvocation:assertTrue(Arrays.equals(token.getAuthorities(),response.getAuthorities())) @AT@ 2348 @LENGTH@ 64
|
||||
---UPD MethodInvocation@@assertEquals(token.getAuthorities(),response.getAuthorities()) @TO@ assertTrue(Arrays.equals(token.getAuthorities(),response.getAuthorities())) @AT@ 2348 @LENGTH@ 63
|
||||
------UPD SimpleName@@MethodName:assertEquals:[token.getAuthorities(), response.getAuthorities()] @TO@ MethodName:equals:[token.getAuthorities(), response.getAuthorities()] @AT@ 2348 @LENGTH@ 63
|
||||
------INS SimpleName@@MethodName:assertTrue:[Arrays.equals(token.getAuthorities(),response.getAuthorities())] @TO@ MethodInvocation@@assertEquals(token.getAuthorities(),response.getAuthorities()) @AT@ 2374 @LENGTH@ 76
|
||||
---------INS MethodInvocation@@Arrays.equals(token.getAuthorities(),response.getAuthorities()) @TO@ SimpleName@@MethodName:assertTrue:[Arrays.equals(token.getAuthorities(),response.getAuthorities())] @AT@ 2385 @LENGTH@ 64
|
||||
------------MOV SimpleName@@MethodName:assertEquals:[token.getAuthorities(), response.getAuthorities()] @TO@ MethodInvocation@@Arrays.equals(token.getAuthorities(),response.getAuthorities()) @AT@ 2348 @LENGTH@ 63
|
||||
------------INS SimpleName@@Name:Arrays @TO@ MethodInvocation@@Arrays.equals(token.getAuthorities(),response.getAuthorities()) @AT@ 2385 @LENGTH@ 6
|
||||
|
||||
|
||||
UPD ExpressionStatement@@MethodInvocation:SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ MethodInvocation:SecurityContextHolder.clearContext() @AT@ 2690 @LENGTH@ 60
|
||||
---UPD MethodInvocation@@SecurityContextHolder.setContext(new SecurityContextImpl()) @TO@ SecurityContextHolder.clearContext() @AT@ 2690 @LENGTH@ 59
|
||||
------UPD SimpleName@@MethodName:setContext:[new SecurityContextImpl()] @TO@ MethodName:clearContext:[] @AT@ 2712 @LENGTH@ 37
|
||||
---------DEL ClassInstanceCreation@@SecurityContextImpl[] @AT@ 2723 @LENGTH@ 25
|
||||
------------DEL New@@new @AT@ 2723 @LENGTH@ 3
|
||||
------------DEL SimpleType@@SecurityContextImpl @AT@ 2727 @LENGTH@ 19
|
||||
|
||||
|
||||
INS MethodDeclaration@@protected, LdapAuthoritiesPopulator, MethodName:getAuthoritiesPoulator, @TO@ TypeDeclaration@@[public]LdapAuthenticationProvider, AbstractUserDetailsAuthenticationProvider @AT@ 8751 @LENGTH@ 104
|
||||
---INS Modifier@@protected @TO@ MethodDeclaration@@protected, LdapAuthoritiesPopulator, MethodName:getAuthoritiesPoulator, @AT@ 8751 @LENGTH@ 9
|
||||
---INS SimpleType@@LdapAuthoritiesPopulator @TO@ MethodDeclaration@@protected, LdapAuthoritiesPopulator, MethodName:getAuthoritiesPoulator, @AT@ 8761 @LENGTH@ 24
|
||||
---INS SimpleName@@MethodName:getAuthoritiesPoulator @TO@ MethodDeclaration@@protected, LdapAuthoritiesPopulator, MethodName:getAuthoritiesPoulator, @AT@ 8786 @LENGTH@ 22
|
||||
---INS ReturnStatement@@SimpleName:authoritiesPopulator @TO@ MethodDeclaration@@protected, LdapAuthoritiesPopulator, MethodName:getAuthoritiesPoulator, @AT@ 8821 @LENGTH@ 28
|
||||
------INS SimpleName@@authoritiesPopulator @TO@ ReturnStatement@@SimpleName:authoritiesPopulator @AT@ 8828 @LENGTH@ 20
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,50 @@
|
||||
repo,bid
|
||||
camel,1366
|
||||
closure-compiler.git,0
|
||||
commons-codec,11
|
||||
commons-collections,56
|
||||
commons-compress,73
|
||||
commons-configuration,89
|
||||
commons-crypto,9
|
||||
commons-csv,18
|
||||
commons-io,58
|
||||
commons-lang,129
|
||||
commons-lang.git,0
|
||||
commons-math,157
|
||||
commons-math.git,0
|
||||
fuse,15
|
||||
hbase,2169
|
||||
hive,2641
|
||||
metadata,14
|
||||
mockito.git,0
|
||||
spring-amqp,89
|
||||
spring-android,5
|
||||
spring-batch,224
|
||||
spring-batch-admin,11
|
||||
spring-data-commons,151
|
||||
spring-data-gemfire,35
|
||||
spring-data-jpa,112
|
||||
spring-data-mongodb,190
|
||||
spring-data-neo4j,19
|
||||
spring-data-redis,65
|
||||
spring-data-rest,91
|
||||
spring-framework,1098
|
||||
spring-hadoop,35
|
||||
spring-ldap,26
|
||||
spring-mobile,11
|
||||
spring-roo,414
|
||||
spring-security,304
|
||||
spring-security-oauth,66
|
||||
spring-shell,11
|
||||
spring-social,14
|
||||
spring-social-facebook,12
|
||||
spring-social-linkedin,2
|
||||
spring-social-twitter,9
|
||||
spring-webflow,84
|
||||
spring-ws,101
|
||||
wildfly,802
|
||||
wildfly-arquillian,8
|
||||
wildfly-core,547
|
||||
wildfly-elytron,217
|
||||
wildfly-maven-plugin,13
|
||||
wildfly-swarm,131
|
||||
|
@@ -0,0 +1,63 @@
|
||||
Group,Subject,Repo,GitRepo,Branch
|
||||
Apache,ACCUMULO,accumulo,https://github.com/apache/accumulo.git,master
|
||||
Apache,CAMEL,camel,https://github.com/apache/camel.git,master
|
||||
APACHE,COMMONS,commons-cli,https://github.com/apache/commons-cli.git,master
|
||||
APACHE,COMMONS,commons-codec,https://github.com/apache/commons-codec.git,master
|
||||
Commons,CODEC,commons-codec,https://github.com/apache/commons-codec.git,trunk
|
||||
Commons,COLLECTIONS,commons-collections,https://github.com/apache/commons-collections.git,master
|
||||
Commons,COMPRESS,commons-compress,https://github.com/apache/commons-compress.git,master
|
||||
Commons,CONFIGURATION,commons-configuration,https://github.com/apache/commons-configuration.git,trunk
|
||||
Commons,CRYPTO,commons-crypto,https://github.com/apache/commons-crypto.git,master
|
||||
APACHE,COMMONS,commons-csv,https://github.com/apache/commons-csv.git,master
|
||||
Commons,IO,commons-io,https://github.com/apache/commons-io.git,master
|
||||
APACHE,COMMONS,commons-jxpath,https://github.com/apache/commons-jxpath.git,master
|
||||
APACHE,COMMONS,commons-lang,https://github.com/apache/commons-lang.git,master
|
||||
APACHE,COMMONS,commons-math,https://github.com/apache/commons-math.git,master
|
||||
Commons,WEAVER,commons-weaver,https://github.com/apache/commons-weaver.git,master
|
||||
Apache,FLINK,flink,https://github.com/apache/flink.git,master
|
||||
Apache,HIVE,hive,https://github.com/apache/hive.git,master
|
||||
Apache,JACKRABBIT,jackrabbit-oak,https://github.com/apache/jackrabbit-oak.git,trunk
|
||||
Apache,L4J,logging-log4j2,https://github.com/apache/logging-log4j2.git,master
|
||||
Apache,MAVEN,maven,https://github.com/apache/maven.git,master
|
||||
Apache,WICKET,wicket,https://github.com/apache/wicket.git,master
|
||||
FASTERXML,JACKSON,jackson-core,https://github.com/FasterXML/jackson-core.git,master
|
||||
FASTERXML,JACKSON,jackson-databind,https://github.com/FasterXML/jackson-databind.git,master
|
||||
FASTERXML,JACKSON,jackson-dataformat-xml,https://github.com/FasterXML/jackson-dataformat-xml.git,master
|
||||
GOOGLE,CLOUSURE,closure-compiler,https://github.com/google/closure-compiler.git,master
|
||||
GOOGLE,GSON,gson,https://github.com/google/gson.git,master
|
||||
JBoss,ENTESB,fuse,https://github.com/jboss-fuse/fuse.git,6.3.0.redhat
|
||||
JBoss,JBMETA,metadata,https://github.com/jboss/metadata.git,master
|
||||
JFREE,CHART,jfreechart,https://github.com/jfree/jfreechart.git,master
|
||||
JHY,SOUP,jsoup,https://github.com/jhy/jsoup.git,master
|
||||
JODA,TIME,joda-time,https://github.com/JodaOrg/joda-time.git,master
|
||||
MOCKITO,MOCKITO,mockito,https://github.com/mockito/mockito.git,main
|
||||
Spring,AMQP,spring-amqp,https://github.com/spring-projects/spring-amqp,master
|
||||
Spring,ANDROID,spring-android,https://github.com/spring-projects/spring-android,master
|
||||
Spring,BATCH,spring-batch,https://github.com/spring-projects/spring-batch,master
|
||||
Spring,BATCHADM,spring-batch-admin,https://github.com/spring-projects/spring-batch-admin,master
|
||||
Spring,DATACMNS,spring-data-commons,https://github.com/spring-projects/spring-data-commons,master
|
||||
Spring,SGF,spring-data-gemfire,https://github.com/spring-projects/spring-data-gemfire,master
|
||||
Spring,DATAJPA,spring-data-jpa,https://github.com/spring-projects/spring-data-jpa,master
|
||||
Spring,DATAMONGO,spring-data-mongodb,https://github.com/spring-projects/spring-data-mongodb,master
|
||||
Spring,DATAGRAPH,spring-data-neo4j,https://github.com/spring-projects/spring-data-neo4j,master
|
||||
Spring,DATAREDIS,spring-data-redis,https://github.com/spring-projects/spring-data-redis,master
|
||||
Spring,DATAREST,spring-data-rest,https://github.com/spring-projects/spring-data-rest,master
|
||||
Spring,SHDP,spring-hadoop,https://github.com/spring-projects/spring-hadoop,master
|
||||
Spring,LDAP,spring-ldap,https://github.com/spring-projects/spring-ldap,master
|
||||
Spring,MOBILE,spring-mobile,https://github.com/spring-projects/spring-mobile,master
|
||||
Spring,ROO,spring-roo,https://github.com/spring-projects/spring-roo,master
|
||||
Spring,SEC,spring-security,https://github.com/spring-projects/spring-security,master
|
||||
Spring,SECOAUTH,spring-security-oauth,https://github.com/spring-projects/spring-security-oauth,master
|
||||
Spring,SHL,spring-shell,https://github.com/spring-projects/spring-shell,master
|
||||
Spring,SOCIAL,spring-social,https://github.com/spring-projects/spring-social,master
|
||||
Spring,SOCIALFB,spring-social-facebook,https://github.com/spring-projects/spring-social-facebook,master
|
||||
Spring,SOCIALLI,spring-social-linkedin,https://github.com/spring-projects/spring-social-linkedin,master
|
||||
Spring,SOCIALTW,spring-social-twitter,https://github.com/spring-projects/spring-social-twitter,master
|
||||
Spring,SWF,spring-webflow,https://github.com/spring-projects/spring-webflow,master
|
||||
Spring,SWS,spring-ws,https://github.com/spring-projects/spring-ws,master
|
||||
Wildfly,ELY,wildfly-elytron,https://github.com/wildfly-security/wildfly-elytron.git,master
|
||||
Wildfly,SWARM,wildfly-swarm,https://github.com/wildfly-swarm/wildfly-swarm.git,master
|
||||
Wildfly,WFARQ,wildfly-arquillian,https://github.com/wildfly/wildfly-arquillian.git,master
|
||||
Wildfly,WFCORE,wildfly-core,https://github.com/wildfly/wildfly-core.git,master
|
||||
Wildfly,WFMP,wildfly-maven-plugin,https://github.com/wildfly/wildfly-maven-plugin.git,master
|
||||
Wildfly,WFLY,wildfly,https://github.com/wildfly/wildfly.git,master
|
||||
|
@@ -0,0 +1,9 @@
|
||||
Group,Subject,Repo,GitRepo,Branch
|
||||
Apache,CAMEL,camel,https://github.com/apache/camel.git,master
|
||||
Apache,MAVEN,maven,https://github.com/apache/maven.git,master
|
||||
Apache,WICKET,wicket,https://github.com/apache/wicket.git,master
|
||||
Apache,L4J,logging-log4j2,https://github.com/apache/logging-log4j2.git,master
|
||||
Apache,FLINK,flink,https://github.com/apache/flink.git,master
|
||||
Apache,COMMONS,commons-math,https://github.com/apache/commons-math.git,master
|
||||
Apache,ACCUMULO,accumulo,https://github.com/apache/accumulo.git,master
|
||||
Apache,JACKRABBIT,jackrabbit-oak,https://github.com/apache/jackrabbit-oak.git,trunk
|
||||
|
@@ -0,0 +1,18 @@
|
||||
Group,Subject,Repo,GitRepo,Branch
|
||||
JFREE,CHART,jfreechart,https://github.com/jfree/jfreechart.git,master
|
||||
APACHE,COMMONS,commons-cli,https://github.com/apache/commons-cli.git,master
|
||||
GOOGLE,CLOUSURE,closure-compiler,https://github.com/google/closure-compiler.git,master
|
||||
APACHE,COMMONS,commons-codec,https://github.com/apache/commons-codec.git,master
|
||||
APACHE,COMMONS,commons-collections,https://github.com/apache/commons-collections.git,master
|
||||
APACHE,COMMONS,commons-compress,https://github.com/apache/commons-compress.git,master
|
||||
APACHE,COMMONS,commons-csv,https://github.com/apache/commons-csv.git,master
|
||||
GOOGLE,GSON,gson,https://github.com/google/gson.git,master
|
||||
FASTERXML,JACKSON,jackson-core,https://github.com/FasterXML/jackson-core.git,master
|
||||
FASTERXML,JACKSON,jackson-databind,https://github.com/FasterXML/jackson-databind.git,master
|
||||
FASTERXML,JACKSON,jackson-dataformat-xml,https://github.com/FasterXML/jackson-dataformat-xml.git,master
|
||||
JHY,SOUP,jsoup,https://github.com/jhy/jsoup.git,master
|
||||
APACHE,COMMONS,commons-jxpath,https://github.com/apache/commons-jxpath.git,master
|
||||
APACHE,COMMONS,commons-lang,https://github.com/apache/commons-lang.git,master
|
||||
APACHE,COMMONS,commons-math,https://github.com/apache/commons-math.git,master
|
||||
MOCKITO,MOCKITO,mockito,https://github.com/mockito/mockito.git,main
|
||||
JODA,TIME,joda-time,https://github.com/JodaOrg/joda-time.git,master
|
||||
|
@@ -0,0 +1,46 @@
|
||||
Group,Subject,Repo,GitRepo,Branch,stuck?
|
||||
Apache,CAMEL,camel,https://github.com/apache/camel.git,master,""
|
||||
Apache,HBASE,hbase,https://github.com/apache/hbase.git,master,error
|
||||
Apache,HIVE,hive,https://github.com/apache/hive.git,master,no
|
||||
Commons,CODEC,commons-codec,https://github.com/apache/commons-codec.git,trunk,no
|
||||
Commons,COLLECTIONS,commons-collections,https://github.com/apache/commons-collections.git,master,no
|
||||
Commons,COMPRESS,commons-compress,https://github.com/apache/commons-compress.git,master,no
|
||||
Commons,CONFIGURATION,commons-configuration,https://github.com/apache/commons-configuration.git,trunk,no
|
||||
Commons,CRYPTO,commons-crypto,https://github.com/apache/commons-crypto.git,master,no
|
||||
Commons,CSV,commons-csv,https://github.com/apache/commons-csv.git,master,no
|
||||
Commons,IO,commons-io,https://github.com/apache/commons-io.git,master,no
|
||||
Commons,WEAVER,commons-weaver,https://github.com/apache/commons-weaver.git,master,no
|
||||
JBoss,ENTESB,fuse,https://github.com/jboss-fuse/fuse.git,6.3.0.redhat,no
|
||||
JBoss,JBMETA,metadata,https://github.com/jboss/metadata.git,master,no
|
||||
Wildfly,ELY,wildfly-elytron,https://github.com/wildfly-security/wildfly-elytron.git,master,
|
||||
Wildfly,SWARM,wildfly-swarm,https://github.com/wildfly-swarm/wildfly-swarm.git,master,
|
||||
Wildfly,WFARQ,wildfly-arquillian,https://github.com/wildfly/wildfly-arquillian.git,master,
|
||||
Wildfly,WFCORE,wildfly-core,https://github.com/wildfly/wildfly-core.git,master,
|
||||
Wildfly,WFLY,wildfly,https://github.com/wildfly/wildfly.git,master,no
|
||||
Wildfly,WFMP,wildfly-maven-plugin,https://github.com/wildfly/wildfly-maven-plugin.git,master,
|
||||
Spring,AMQP,spring-amqp,https://github.com/spring-projects/spring-amqp,master,
|
||||
Spring,ANDROID,spring-android,https://github.com/spring-projects/spring-android,master,
|
||||
Spring,BATCH,spring-batch,https://github.com/spring-projects/spring-batch,master,
|
||||
Spring,BATCHADM,spring-batch-admin,https://github.com/spring-projects/spring-batch-admin,master,
|
||||
Spring,DATACMNS,spring-data-commons,https://github.com/spring-projects/spring-data-commons,master,
|
||||
Spring,DATAGRAPH,spring-data-neo4j,https://github.com/spring-projects/spring-data-neo4j,master,
|
||||
Spring,DATAJPA,spring-data-jpa,https://github.com/spring-projects/spring-data-jpa,master,
|
||||
Spring,DATAMONGO,spring-data-mongodb,https://github.com/spring-projects/spring-data-mongodb,master,
|
||||
Spring,DATAREDIS,spring-data-redis,https://github.com/spring-projects/spring-data-redis,master,
|
||||
Spring,DATAREST,spring-data-rest,https://github.com/spring-projects/spring-data-rest,master,
|
||||
Spring,LDAP,spring-ldap,https://github.com/spring-projects/spring-ldap,master,
|
||||
Spring,MOBILE,spring-mobile,https://github.com/spring-projects/spring-mobile,master,
|
||||
Spring,ROO,spring-roo,https://github.com/spring-projects/spring-roo,master,
|
||||
Spring,SEC,spring-security,https://github.com/spring-projects/spring-security,master,
|
||||
Spring,SECOAUTH,spring-security-oauth,https://github.com/spring-projects/spring-security-oauth,master,
|
||||
Spring,SGF,spring-data-gemfire,https://github.com/spring-projects/spring-data-gemfire,master,
|
||||
Spring,SHDP,spring-hadoop,https://github.com/spring-projects/spring-hadoop,master,
|
||||
Spring,SHL,spring-shell,https://github.com/spring-projects/spring-shell,master,
|
||||
Spring,SOCIAL,spring-social,https://github.com/spring-projects/spring-social,master,
|
||||
Spring,SOCIALFB,spring-social-facebook,https://github.com/spring-projects/spring-social-facebook,master,
|
||||
Spring,SOCIALLI,spring-social-linkedin,https://github.com/spring-projects/spring-social-linkedin,master,
|
||||
Spring,SOCIALTW,spring-social-twitter,https://github.com/spring-projects/spring-social-twitter,master,
|
||||
Spring,SPR,spring-framework,https://github.com/spring-projects/spring-framework,master,
|
||||
Spring,SWF,spring-webflow,https://github.com/spring-projects/spring-webflow,master,
|
||||
Spring,SWS,spring-ws,https://github.com/spring-projects/spring-ws,master,
|
||||
,
|
||||
|
@@ -1,6 +1,5 @@
|
||||
Group,Subject,Repo,GitRepo,Branch
|
||||
Apache,CAMEL,camel,https://github.com/apache/camel.git,master
|
||||
Apache,HBASE,hbase,https://github.com/apache/hbase.git,master
|
||||
Apache,HIVE,hive,https://github.com/apache/hive.git,master
|
||||
Commons,CODEC,commons-codec,https://github.com/apache/commons-codec.git,trunk
|
||||
Commons,COLLECTIONS,commons-collections,https://github.com/apache/commons-collections.git,master
|
||||
@@ -40,7 +39,5 @@ Spring,SOCIAL,spring-social,https://github.com/spring-projects/spring-social,mas
|
||||
Spring,SOCIALFB,spring-social-facebook,https://github.com/spring-projects/spring-social-facebook,master
|
||||
Spring,SOCIALLI,spring-social-linkedin,https://github.com/spring-projects/spring-social-linkedin,master
|
||||
Spring,SOCIALTW,spring-social-twitter,https://github.com/spring-projects/spring-social-twitter,master
|
||||
Spring,SPR,spring-framework,https://github.com/spring-projects/spring-framework,master
|
||||
Spring,SWF,spring-webflow,https://github.com/spring-projects/spring-webflow,master
|
||||
Spring,SWS,spring-ws,https://github.com/spring-projects/spring-ws,master
|
||||
|
||||
|
||||
|
+8
-7
@@ -60,7 +60,7 @@ def create_dataset(cfg: dict, project_list: str = PROJECT_LIST):
|
||||
Path(COMMIT_DFS).mkdir(exist_ok=True, parents=True)
|
||||
|
||||
# Find project repo urls in dataset.csv
|
||||
dataset: DataFrame = pd.read_csv(join(ROOT_DIR, 'data', 'dataset.csv'))
|
||||
dataset: DataFrame = pd.read_csv(join(ROOT_DIR, 'data', 'dataset-all.csv'))
|
||||
if pj_list == ['ALL']:
|
||||
repos = dataset[['Repo', 'GitRepo', 'Branch']].values.tolist()
|
||||
else:
|
||||
@@ -88,22 +88,23 @@ def create_dataset(cfg: dict, project_list: str = PROJECT_LIST):
|
||||
print(f'> Project {repo} last commit at {latest_commit}')
|
||||
|
||||
# Commit time limiting
|
||||
limit_rel = cfg.get('limitCommitsBeforeDays')
|
||||
limit_abs = cfg.get('limitCommitsAbsoluteDate')
|
||||
limit_rel = cfg['fixminer'].get('limitCommitsBeforeDays')
|
||||
limit_abs = cfg['fixminer'].get('limitCommitsAbsoluteDate')
|
||||
assert not (limit_rel and limit_abs), 'In the config, you should not define both limitCommitsBeforeDays and limitCommitsAbsoluteDate'
|
||||
|
||||
end_date = None
|
||||
if limit_rel:
|
||||
if limit_rel is not None:
|
||||
print("> Using relative date")
|
||||
end_date = latest_commit - datetime.timedelta(days=int(limit_rel))
|
||||
|
||||
elif limit_abs:
|
||||
if limit_abs:
|
||||
print("> Using absolute date")
|
||||
end_date = datetime.datetime.strptime(limit_abs, '%Y-%m-%d')
|
||||
|
||||
end_date = end_date.replace(tzinfo=commits.commitDate.iloc[0].tzinfo)
|
||||
if end_date:
|
||||
print(f'> Has {len(commits)} commits before filtering for date < {end_date}')
|
||||
commits = commits[commits.commitDate <= end_date]
|
||||
|
||||
print(f'> Has {len(commits)} commits after filtering for date')
|
||||
|
||||
commits = commits[commits.commit.isin(fixes)]
|
||||
@@ -113,4 +114,4 @@ def create_dataset(cfg: dict, project_list: str = PROJECT_LIST):
|
||||
|
||||
|
||||
def commit_stats():
|
||||
|
||||
return 0
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
,Time,Number of Patches,Numbers of added,Numbers of removed,Patches Added,Patches Removed,New Pattern
|
||||
0,2001-12-01,1,1,0,[' UPD IfStatement \n'],[],True
|
||||
1,2002-06-01,4,3,0,"[' DEL MethodDeclaration \n', ' UPD ExpressionStatement \n', ' UPD MethodDeclaration \n']",[],True
|
||||
2,2002-12-01,8,4,0,"[' INS ExpressionStatement TO MethodDeclaration \n', ' INS MethodDeclaration TO TypeDeclaration \n', ' UPD ReturnStatement \n', ' UPD TypeDeclaration \n']",[],True
|
||||
3,2003-06-01,10,2,0,"[' DEL ExpressionStatement \n', ' UPD ForStatement \n']",[],True
|
||||
4,2003-12-01,11,1,0,[' UPD ThrowStatement \n'],[],True
|
||||
5,2004-06-01,12,1,0,[' UPD VariableDeclarationStatement \n'],[],True
|
||||
6,2004-12-01,14,2,0,"[' INS FieldDeclaration TO TypeDeclaration \n', ' UPD FieldDeclaration \n']",[],True
|
||||
7,2005-06-01,14,0,0,[],[],False
|
||||
8,2005-12-01,14,0,0,[],[],False
|
||||
9,2006-06-01,15,1,0,[' INS IfStatement TO MethodDeclaration \n'],[],True
|
||||
10,2006-12-01,15,1,1,[' INS TryStatement TO MethodDeclaration \n'],[' INS IfStatement TO MethodDeclaration \n'],True
|
||||
11,2007-06-01,17,2,0,"[' INS IfStatement TO MethodDeclaration \n', ' INS VariableDeclarationStatement TO MethodDeclaration \n']",[],True
|
||||
12,2007-12-01,20,3,0,"[' DEL ThrowStatement \n', ' DEL VariableDeclarationStatement \n', ' UPD EnhancedForStatement \n']",[],True
|
||||
13,2008-06-01,23,3,0,"[' DEL EnhancedForStatement \n', ' INS ExpressionStatement TO Initializer \n', ' UPD TryStatement \n']",[],True
|
||||
14,2008-12-01,23,0,0,[],[],False
|
||||
15,2009-06-01,26,3,0,"[' DEL FieldDeclaration \n', ' DEL IfStatement \n', ' UPD WhileStatement \n']",[],True
|
||||
16,2009-12-01,27,1,0,[' UPD CatchClause \n'],[],True
|
||||
17,2010-06-01,27,0,0,[],[],False
|
||||
18,2010-12-01,32,5,0,"[' DEL TryStatement \n', ' INS EnhancedForStatement TO MethodDeclaration \n', ' INS MethodDeclaration TO AnonymousClassDeclaration \n', ' UPD Block \n', ' UPD SwitchStatement \n']",[],True
|
||||
19,2011-06-01,38,6,0,"[' DEL ForStatement \n', ' DEL TypeDeclaration \n', ' INS FieldDeclaration TO EnumDeclaration \n', ' INS ReturnStatement TO MethodDeclaration \n', ' MOV MethodDeclaration TO TypeDeclaration \n', ' UPD SuperConstructorInvocation \n']",[],True
|
||||
20,2011-12-01,41,3,0,"[' INS ForStatement TO MethodDeclaration \n', ' INS MethodDeclaration TO EnumDeclaration \n', ' INS SuperConstructorInvocation TO MethodDeclaration \n']",[],True
|
||||
21,2012-06-01,42,1,0,[' UPD AssertStatement \n'],[],True
|
||||
22,2012-12-01,43,1,0,[' INS IfStatement TO Initializer \n'],[],True
|
||||
23,2013-06-01,43,0,0,[],[],False
|
||||
24,2013-12-01,44,1,0,[' INS SynchronizedStatement TO MethodDeclaration \n'],[],True
|
||||
25,2014-06-01,45,1,0,[' DEL WhileStatement \n'],[],True
|
||||
26,2014-12-01,46,1,0,[' UPD SwitchCase \n'],[],True
|
||||
27,2015-06-01,46,0,0,[],[],False
|
||||
28,2015-12-01,47,1,0,[' DEL ReturnStatement \n'],[],True
|
||||
29,2016-06-01,48,1,0,[' UPD EnumDeclaration \n'],[],True
|
||||
30,2016-12-01,48,0,0,[],[],False
|
||||
31,2017-06-01,49,1,0,[' INS TypeDeclaration TO TypeDeclaration \n'],[],True
|
||||
32,2017-12-01,50,1,0,[' UPD ConstructorInvocation \n'],[],True
|
||||
33,2018-06-01,50,0,0,[],[],False
|
||||
34,2018-12-01,51,1,0,[' UPD LambdaExpression \n'],[],True
|
||||
35,2019-06-01,51,0,0,[],[],False
|
||||
36,2019-12-01,51,0,0,[],[],False
|
||||
37,2020-06-01,51,0,0,[],[],False
|
||||
38,2020-12-01,51,0,0,[],[],False
|
||||
39,2021-06-01,51,0,0,[],[],False
|
||||
40,2021-12-01,51,0,0,[],[],False
|
||||
41,2022-06-01,51,0,0,[],[],False
|
||||
|
+11
-4
@@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import inspect
|
||||
import requests
|
||||
|
||||
@@ -33,10 +35,15 @@ def job_dataset4c():
|
||||
core()
|
||||
|
||||
|
||||
def job_start_redis():
|
||||
db_dir = join(DATA_PATH, 'redis')
|
||||
redis_shutdown(REDIS_PORT)
|
||||
redis_start(ROOT_DIR, db_dir, REDIS_PORT)
|
||||
def job_start_redis(db_dir: str | Path | None = None, redis_port: int | None = None,
|
||||
root_dir: str | Path | None = None):
|
||||
db_dir = db_dir or join(DATA_PATH, 'redis')
|
||||
redis_port = redis_port or REDIS_PORT or 6399
|
||||
root_dir = root_dir or Path(__file__).parent
|
||||
|
||||
redis_shutdown(redis_port)
|
||||
print(db_dir)
|
||||
redis_start(root_dir, db_dir, redis_port)
|
||||
|
||||
|
||||
def job_richedit():
|
||||
|
||||
@@ -0,0 +1,175 @@
|
||||
import gzip
|
||||
import pickle as p
|
||||
import re
|
||||
import string
|
||||
from collections import Counter
|
||||
|
||||
import pandas
|
||||
import pandas as pd
|
||||
import redis
|
||||
import xgboost
|
||||
from hypy_utils import write
|
||||
from hypy_utils.tqdm_utils import pmap
|
||||
from xgboost import XGBClassifier
|
||||
|
||||
from main import job_start_redis
|
||||
from pandas import DataFrame
|
||||
from datetime import datetime, timezone
|
||||
from dateutil.relativedelta import relativedelta
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from sklearn.feature_extraction.text import TfidfVectorizer
|
||||
|
||||
|
||||
def load_zipped_pickle(filename):
|
||||
with gzip.open(filename, 'rb') as f:
|
||||
loaded_object = p.load(f)
|
||||
l = pd.DataFrame(loaded_object)
|
||||
return l
|
||||
|
||||
|
||||
# total changed files
|
||||
# total commits
|
||||
# total fix commits
|
||||
# avaerage changed lines per fix
|
||||
#
|
||||
def get_root_nodes(date: str):
|
||||
result = sorted([])
|
||||
for patch in os.listdir(f"../../data.absolute/{date}/patterns"):
|
||||
with open(f"../../data.absolute/{date}/patterns/{patch}", 'r') as f:
|
||||
result.append(f.readline())
|
||||
return sorted(list(set(result)))
|
||||
|
||||
|
||||
def label_gen() -> DataFrame:
|
||||
start_string = "2001-12-01"
|
||||
start_date = datetime.strptime(start_string, '%Y-%m-%d')
|
||||
interval = relativedelta(months=6)
|
||||
|
||||
csv = []
|
||||
|
||||
data_path = Path('../../data.absolute')
|
||||
new = get_root_nodes(start_string)
|
||||
new = sorted(list(set(new)))
|
||||
added = sorted(list(set(new)))
|
||||
remove = sorted([])
|
||||
csv.append((start_date.strftime('%Y-%m-%d').split(' ')[0], len(new), len(added), len(remove),
|
||||
added, remove, True))
|
||||
|
||||
while True:
|
||||
# end = start + interval
|
||||
end_date = start_date + interval
|
||||
end_string = end_date.strftime('%Y-%m-%d').split(' ')[0]
|
||||
start_string = start_date.strftime('%Y-%m-%d').split(' ')[0]
|
||||
if not os.path.isdir(data_path / str(end_string)):
|
||||
# new = os.listdir(data_path / f"{end_string}/patterns")
|
||||
# added = sorted(list(set(new)))
|
||||
# remove = sorted([])
|
||||
# csv.append((end_string, len(new), added, remove))
|
||||
break
|
||||
|
||||
new = get_root_nodes(end_string)
|
||||
old = get_root_nodes(start_string)
|
||||
|
||||
added = sorted(list(set(new) - set(old)))
|
||||
remove = sorted(list(set(old) - set(new)))
|
||||
|
||||
csv.append((end_string, len(new), len(added), len(remove), added, remove, len(added) != 0))
|
||||
|
||||
start_date += interval
|
||||
|
||||
# plt.plot([v[1] for v in csv], [v[2] for v in csv])
|
||||
# plt.show()
|
||||
|
||||
df = DataFrame(csv, columns=('Time', 'Number of Patches', 'Numbers of added', 'Numbers of removed', 'Patches Added',
|
||||
'Patches Removed', 'New Pattern'))
|
||||
df.to_csv('diff-test-absolute-root-2.csv')
|
||||
return df
|
||||
|
||||
|
||||
def get_commits_sha(start: str, end: str, project_name: str) -> DataFrame:
|
||||
start_date = datetime.strptime(start, '%Y-%m-%d').replace(tzinfo=timezone.utc)
|
||||
end_date = datetime.strptime(end, '%Y-%m-%d').replace(tzinfo=timezone.utc)
|
||||
commits = load_zipped_pickle(f'/workspace/EECS-Research/data.absolute/{end}/commitsDF/{project_name}-fix.pickle.gz')
|
||||
return commits[commits['commitDate'].between(start_date, end_date, inclusive=False)]['commit']
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
labels = label_gen()
|
||||
|
||||
date = '2022-06-01'
|
||||
job_start_redis(f'/workspace/EECS-Research/data.absolute/{date}/redis', 6399)
|
||||
|
||||
# 1. Load AST diffs
|
||||
r = redis.StrictRedis(host='localhost', port=6399, db=0)
|
||||
print("Connected to redis!")
|
||||
ast_diffs = {k.decode(): v.decode() for k, v in r.hgetall('dump').items()}
|
||||
|
||||
# 2. Load commits
|
||||
base_path = Path(f'/workspace/EECS-Research/data.absolute/{date}/commitsDF/')
|
||||
commit_pickles = [base_path / str(f) for f in os.listdir(base_path) if f.endswith('-fix.pickle.gz')]
|
||||
commits = pandas.concat(pmap(load_zipped_pickle, commit_pickles, desc=f'Loading commits'))
|
||||
|
||||
def get_all_commits_sha(start: str, end: str) -> DataFrame:
|
||||
start_date = datetime.strptime(start, '%Y-%m-%d').replace(tzinfo=timezone.utc)
|
||||
end_date = datetime.strptime(end, '%Y-%m-%d').replace(tzinfo=timezone.utc)
|
||||
df = commits[commits['commitDate'].between(start_date, end_date, inclusive=False)]
|
||||
return df
|
||||
|
||||
# 3. Filter AST diffs for each time interval
|
||||
|
||||
# 3.1. Find sha in each AST diff
|
||||
AST_KEY_SHA_RE = re.compile(r'[0-9a-f]{6,}_[0-9a-f]{6,}')
|
||||
ast_diff_sha = {k: AST_KEY_SHA_RE.findall(k) for k in ast_diffs.keys()}
|
||||
tmp_bf = len(ast_diff_sha)
|
||||
ast_diff_sha = {k: v[0].split('_') for k, v in ast_diff_sha.items() if v}
|
||||
print(f'Ignored {len(ast_diff_sha) - tmp_bf} AST diff entries')
|
||||
print(f'Commit sha lengths: {Counter([len(sha) for l in ast_diff_sha.values() for sha in l])}')
|
||||
|
||||
ast_diff_date = {}
|
||||
for date_start, date_end in zip(labels['Time'][:-1], labels['Time'][1:]):
|
||||
# 3.2. Find all commit sha in the time interval
|
||||
print(f'Processing time interval from {date_start} to {date_end}')
|
||||
commits_sha = {c[:6] for c in get_all_commits_sha(date_start, date_end)['commit']}
|
||||
print(f'Total of {len(commits_sha)} commits in the interval')
|
||||
|
||||
# 3.3. Find AST diff entries with commit sha in this interval
|
||||
ast_diffs_in_interval = {k for k, s in ast_diff_sha.items() if all(len(sha) == 6 and sha in commits_sha for sha in s)}
|
||||
print(f'Total of {len(ast_diffs_in_interval)} AST diffs in the interval')
|
||||
|
||||
# 3.4. Combine AST diffs and save as one file
|
||||
ast_combined = '\n\n'.join(ast_diffs[k] for k in ast_diffs_in_interval)
|
||||
write(f'ML/ast-diffs/{date_start}.txt', ast_combined)
|
||||
ast_diff_date[date_start] = ast_combined
|
||||
|
||||
# 4. Tokenize / Vectorize
|
||||
|
||||
# 4.1. Remove symbols, numbers
|
||||
def tmp_clean(s: str) -> str:
|
||||
s = s.replace('@TO@', '').replace('@AT@', '').replace('@LENGTH@', '')
|
||||
for c in string.punctuation:
|
||||
s = s.replace(c, ' ')
|
||||
while ' ' in s:
|
||||
s = s.replace(' ', ' ')
|
||||
return s
|
||||
print('Cleaning AST Diffs')
|
||||
ast_diff_date = {k: tmp_clean(v) for k, v in ast_diff_date.items()}
|
||||
|
||||
# 4.2. Vectorize X
|
||||
tf = TfidfVectorizer(ngram_range=(1, 4))
|
||||
X = [ast_diff_date[t] for t in labels['Time']]
|
||||
X = tf.fit_transform(X)
|
||||
print('TF-IDF Fitting finished:', X.size)
|
||||
|
||||
# 4.3. Vectorize Y
|
||||
y = [v != [] for v in labels['Patches Added']]
|
||||
|
||||
# 5. Train models
|
||||
print('#################### Step 5 ####################')
|
||||
print('Training random forest model...')
|
||||
classifier: XGBClassifier = XGBClassifier(tree_method='gpu_hist', n_estimators=300)
|
||||
classifier.fit(X, y)
|
||||
print(classifier)
|
||||
|
||||
|
||||
+11
-5
@@ -329,7 +329,7 @@ def defects4jStats(isFixminer=False):
|
||||
|
||||
|
||||
clustersDF['defects4j'] = clustersDF.members.apply(lambda x: getDefects4JID(x))
|
||||
p
|
||||
|
||||
save_zipped_pickle(clustersDF, join(DATA_PATH, 'defects4jcluster.pickle'))
|
||||
else:
|
||||
clustersDF = load_zipped_pickle(join(DATA_PATH, 'defects4jcluster.pickle'))
|
||||
@@ -466,11 +466,17 @@ def exportAbstractPatterns():
|
||||
isJava = True
|
||||
for id, members in df[['cid','members']].values.tolist():
|
||||
|
||||
try:
|
||||
dKey = '/'.join(id[0].split('-')[:-1]) + "/" + members[0]
|
||||
lines = redis_db.hget("dump",dKey )
|
||||
cid = id[0].replace("-",'#')
|
||||
abstractPattern(cid,lines.decode(),isJava,members)
|
||||
# print(f'Error! {id}, {members}!')
|
||||
# exit(0)
|
||||
|
||||
except IndexError as e:
|
||||
print(f'Error! {id}, {members}!')
|
||||
|
||||
dKey = '/'.join(id[0].split('-')[:-1]) + "/" + members[0]
|
||||
lines = redis_db.hget("dump",dKey )
|
||||
cid = id[0].replace("-",'#')
|
||||
abstractPattern(cid,lines.decode(),isJava,members)
|
||||
|
||||
def abstractPattern(cid,lines,isJava,cMembers):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user