docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"get",
"the",
"token",
"identifier"
] | [
"@",
"public",
"@",
"stable",
"public",
"abstract",
"byte",
"buffer",
"get",
"identifier",
"(",
")",
";"
] |
[
"get",
"the",
"token",
"password"
] | [
"@",
"public",
"@",
"stable",
"public",
"abstract",
"byte",
"buffer",
"get",
"password",
"(",
")",
";"
] |
[
"get",
"the",
"token",
"kind"
] | [
"@",
"public",
"@",
"stable",
"public",
"abstract",
"string",
"get",
"kind",
"(",
")",
";"
] |
[
"get",
"the",
"service",
"to",
"which",
"the",
"token",
"is",
"allocated"
] | [
"@",
"public",
"@",
"stable",
"public",
"abstract",
"string",
"get",
"service",
"(",
")",
";"
] |
[
"method",
"that",
"constructs",
"transformer",
"that",
"applies",
"given",
"transformers",
"as",
"a",
"sequence",
";",
"essentially",
"combines",
"separate",
"transform",
"operations",
"into",
"one",
"logical",
"transformation"
] | [
"return",
"new",
"chained",
"(",
"t",
"1",
",",
"t",
"2",
")",
";"
] |
[
"method",
"called",
"when",
"(",
"forward",
")",
"transformation",
"is",
"needed"
] | [
"public",
"abstract",
"string",
"transform",
"(",
"string",
"name",
")",
";"
] |
[
"method",
"called",
"when",
"reversal",
"of",
"transformation",
"is",
"needed",
";",
"should",
"return",
"null",
"if",
"this",
"is",
"not",
"possible",
"that",
"is",
"given",
"name",
"cannot",
"have",
"been",
"result",
"of",
"calling",
"{"
] | [
"public",
"abstract",
"string",
"reverse",
"(",
"string",
"transformed",
")",
";"
] |
[
"swaps",
"primary",
"queue",
"with",
"secondary",
"queue",
"the",
"previous",
"primary",
"queue",
"will",
"be",
"released"
] | [
"this",
"primary",
"queue",
"=",
"this",
"secondary",
"queue",
";",
"this",
"secondary",
"queue",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";"
] |
[
"returns",
"a",
"count",
"of",
"the",
"secondary",
"queue"
] | [
"return",
"this",
"secondary",
"queue",
"size",
"(",
")",
";"
] |
[
"returns",
"both",
"the",
"secondary",
"and",
"primary",
"size"
] | [
"return",
"this",
"secondary",
"queue",
"size",
"(",
")",
"+",
"this",
"primary",
"queue",
"size",
"(",
")",
";"
] |
[
"returns",
"iterator",
"over",
"the",
"primary",
"queue"
] | [
"return",
"this",
"primary",
"queue",
"iterator",
"(",
")",
";"
] |
[
"pass",
"-",
"through",
"hash",
"code",
"of",
"the",
"digest",
"string"
] | [
"return",
"hash",
"hash",
"code",
"(",
")",
";"
] |
[
"creates",
"an",
"ssl",
"context",
"for",
"the",
"external",
"rest",
"endpoint",
"server"
] | [
"final",
"rest",
"s",
"s",
"l",
"context",
"config",
"mode",
"config",
"mode",
";",
"if",
"(",
"is",
"rest",
"s",
"s",
"l",
"authentication",
"enabled",
"(",
"config",
")",
")",
"{",
"config",
"mode",
"=",
"rest",
"s",
"s",
"l",
"context",
"config",
"mode",
"mutual",
";",
"}",
"else",
"{",
"config",
"mode",
"=",
"rest",
"s",
"s",
"l",
"context",
"config",
"mode",
"server",
";",
"}",
"return",
"create",
"rest",
"s",
"s",
"l",
"context",
"(",
"config",
",",
"config",
"mode",
")",
";"
] |
[
"creates",
"an",
"ssl",
"context",
"for",
"clients",
"against",
"the",
"external",
"rest",
"endpoint"
] | [
"final",
"rest",
"s",
"s",
"l",
"context",
"config",
"mode",
"config",
"mode",
";",
"if",
"(",
"is",
"rest",
"s",
"s",
"l",
"authentication",
"enabled",
"(",
"config",
")",
")",
"{",
"config",
"mode",
"=",
"rest",
"s",
"s",
"l",
"context",
"config",
"mode",
"mutual",
";",
"}",
"else",
"{",
"config",
"mode",
"=",
"rest",
"s",
"s",
"l",
"context",
"config",
"mode",
"client",
";",
"}",
"return",
"create",
"rest",
"s",
"s",
"l",
"context",
"(",
"config",
",",
"config",
"mode",
")",
";"
] |
[
"process",
"frames"
] | [
"blocking",
"queue",
"<",
"web",
"socket",
"frame",
">",
"processed",
"=",
"new",
"linked",
"blocking",
"deque",
"<",
">",
"(",
")",
";",
"set",
"next",
"incoming",
"(",
"(",
"frame",
",",
"callback",
")",
"-",
">",
"{",
"processed",
"offer",
"(",
"web",
"socket",
"frame",
"copy",
"(",
"frame",
")",
")",
";",
"callback",
"succeed",
"(",
")",
";",
"}",
")",
";",
"frame",
"callback",
"callback",
"=",
"new",
"frame",
"callback",
"adapter",
"(",
")",
";",
"for",
"(",
"web",
"socket",
"frame",
"frame",
":",
"frames",
"queue",
")",
"{",
"incoming",
"frame",
"(",
"frame",
",",
"callback",
")",
";",
"}",
"set",
"next",
"incoming",
"(",
"null",
")",
";",
"return",
"processed",
";"
] |
[
"process",
"frames",
"as",
"if",
"they",
"are",
"for",
"an",
"outgoing",
"path"
] | [
"list",
"<",
"web",
"socket",
"frame",
">",
"captured",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"set",
"next",
"outgoing",
"(",
"(",
"frame",
",",
"callback",
",",
"batch",
"mode",
")",
"-",
">",
"{",
"captured",
"add",
"(",
"web",
"socket",
"frame",
"copy",
"(",
"frame",
")",
")",
";",
"callback",
"succeed",
"(",
")",
";",
"}",
")",
";",
"frame",
"callback",
"callback",
"=",
"new",
"frame",
"callback",
"adapter",
"(",
")",
";",
"for",
"(",
"web",
"socket",
"frame",
"frame",
":",
"frames",
")",
"{",
"outgoing",
"frame",
"(",
"frame",
",",
"callback",
",",
"batch",
"mode",
"off",
")",
";",
"}",
"set",
"next",
"outgoing",
"(",
"null",
")",
";",
"return",
"captured",
";"
] |
[
"pretend",
"like",
"the",
"window",
"this",
"view",
"is",
"in",
"always",
"has",
"focus",
"so",
"it",
"will",
"highlight",
"when",
"selected"
] | [
"return",
"is",
"enabled",
"(",
")",
"&",
"&",
"get",
"visibility",
"(",
")",
"=",
"=",
"visible",
"?",
"true",
":",
"false",
";"
] |
[
"on",
"drop",
"animate",
"the",
"drop",
"view",
"to",
"the",
"icon"
] | [
"final",
"drag",
"layer",
"drag",
"layer",
"=",
"m",
"launcher",
"get",
"drag",
"layer",
"(",
")",
";",
"final",
"rect",
"from",
"=",
"new",
"rect",
"(",
")",
";",
"drag",
"layer",
"get",
"view",
"rect",
"relative",
"to",
"self",
"(",
"d",
"drag",
"view",
",",
"from",
")",
";",
"int",
"width",
"=",
"m",
"drawable",
"get",
"intrinsic",
"width",
"(",
")",
";",
"int",
"height",
"=",
"m",
"drawable",
"get",
"intrinsic",
"height",
"(",
")",
";",
"final",
"rect",
"to",
"=",
"get",
"icon",
"rect",
"(",
"d",
"drag",
"view",
"get",
"measured",
"width",
"(",
")",
",",
"d",
"drag",
"view",
"get",
"measured",
"height",
"(",
")",
",",
"width",
",",
"height",
")",
";",
"final",
"float",
"scale",
"=",
"(",
"float",
")",
"to",
"width",
"(",
")",
"/",
"from",
"width",
"(",
")",
";",
"m",
"drop",
"target",
"bar",
"defer",
"on",
"drag",
"end",
"(",
")",
";",
"runnable",
"on",
"animation",
"end",
"runnable",
"=",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"complete",
"drop",
"(",
"d",
")",
";",
"m",
"drop",
"target",
"bar",
"on",
"drag",
"end",
"(",
")",
";",
"m",
"launcher",
"exit",
"spring",
"loaded",
"drag",
"mode",
"delayed",
"(",
"true",
",",
"0",
",",
"null",
")",
";",
"}",
"}",
";",
"drag",
"layer",
"animate",
"view",
"(",
"d",
"drag",
"view",
",",
"from",
",",
"to",
",",
"scale",
",",
"1f",
",",
"1f",
",",
"0",
"1f",
",",
"0",
"1f",
",",
"m",
"launcher",
"get",
"drag",
"controller",
"(",
")",
"is",
"external",
"drag",
"(",
")",
"?",
"1",
":",
"drag",
"view",
"drop",
"duration",
",",
"new",
"decelerate",
"interpolator",
"(",
"2",
")",
",",
"new",
"linear",
"interpolator",
"(",
")",
",",
"on",
"animation",
"end",
"runnable",
",",
"drag",
"layer",
"animation",
"end",
"disappear",
",",
"null",
")",
";"
] |
[
"{"
] | [
"return",
"m",
"cls",
"get",
"declared",
"fields",
"(",
")",
";"
] |
[
"{"
] | [
"m",
"field",
"set",
"accessible",
"(",
"true",
")",
";",
"return",
"null",
";"
] |
[
"http",
":",
"/",
"/",
"bugs",
"sun",
"com",
"/",
"bugdatabase",
"/",
"view",
"bug",
"do",
"?",
"bug",
"id",
"=",
"5012949",
"implementation",
"note",
":",
"we",
"can",
"compare",
"classes",
"with",
"=",
"=",
"since",
"they",
"will",
"always",
"be",
"loaded",
"from",
"the",
"same",
"class",
"loader",
"(",
"they",
"are",
"low",
"in",
"the",
"hierarchy",
")"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"sun",
"problematic",
"classes",
"length",
";",
"+",
"+",
"i",
")",
"{",
"class",
"sun",
"pb",
"class",
"=",
"sun",
"problematic",
"classes",
"[",
"i",
"]",
";",
"if",
"(",
"clazz",
"=",
"=",
"sun",
"pb",
"class",
")",
"{",
"return",
"(",
"(",
"integer",
")",
"sun",
"problematic",
"classes",
"sizes",
"get",
"(",
"clazz",
"get",
"name",
"(",
")",
")",
")",
"int",
"value",
"(",
")",
";",
"}",
"}",
"return",
"0",
";"
] |
[
"returns",
"whether",
"the",
"specified",
"character",
"is",
"a",
"valid",
"option"
] | [
"return",
"is",
"valid",
"char",
"(",
"c",
")",
"|",
"|",
"c",
"=",
"=",
"'",
"?",
"'",
"|",
"|",
"c",
"=",
"=",
"'",
"@",
"'",
";"
] |
[
"returns",
"whether",
"the",
"specified",
"character",
"is",
"a",
"valid",
"character"
] | [
"return",
"character",
"is",
"java",
"identifier",
"part",
"(",
"c",
")",
";"
] |
[
"duration",
"in",
"milliseconds"
] | [
"add",
"power",
"save",
"temp",
"whitelist",
"app",
"internal",
"(",
"calling",
"uid",
",",
"package",
"name",
",",
"duration",
",",
"user",
"id",
",",
"sync",
",",
"reason",
")",
";"
] |
[
"duration",
"in",
"milliseconds"
] | [
"add",
"power",
"save",
"temp",
"whitelist",
"app",
"direct",
"internal",
"(",
"0",
",",
"app",
"id",
",",
"duration",
",",
"sync",
",",
"reason",
")",
";"
] |
[
"duration",
"in",
"milliseconds"
] | [
"return",
"m",
"constants",
"notification",
"whitelist",
"duration",
";"
] |
[
"up",
"-",
"call",
"from",
"alarm",
"manager"
] | [
"device",
"idle",
"controller",
"this",
"set",
"alarms",
"active",
"(",
"active",
")",
";"
] |
[
"is",
"the",
"app",
"on",
"any",
"of",
"the",
"power",
"save",
"whitelists",
"whether",
"system",
"or",
"user",
"?"
] | [
"return",
"device",
"idle",
"controller",
"this",
"is",
"app",
"on",
"whitelist",
"internal",
"(",
"appid",
")",
";"
] |
[
"returns",
"the",
"array",
"of",
"app",
"ids",
"whitelisted",
"by",
"user",
"take",
"care",
"not",
"to",
"modify",
"this",
"as",
"it",
"is",
"a",
"reference",
"to",
"the",
"original",
"copy",
"but",
"the",
"reference",
"can",
"change",
"when",
"the",
"list",
"changes",
"so",
"it",
"needs",
"to",
"be",
"re",
"-",
"acquired",
"when",
"{"
] | [
"return",
"device",
"idle",
"controller",
"this",
"get",
"power",
"save",
"whitelist",
"user",
"app",
"ids",
"(",
")",
";"
] |
[
"adds",
"an",
"app",
"to",
"the",
"temporary",
"whitelist",
"and",
"resets",
"the",
"end",
"time",
"for",
"granting",
"the",
"app",
"an",
"exemption",
"to",
"access",
"network",
"and",
"acquire",
"wakelocks"
] | [
"try",
"{",
"int",
"uid",
"=",
"get",
"context",
"(",
")",
"get",
"package",
"manager",
"(",
")",
"get",
"package",
"uid",
"as",
"user",
"(",
"package",
"name",
",",
"user",
"id",
")",
";",
"int",
"app",
"id",
"=",
"user",
"handle",
"get",
"app",
"id",
"(",
"uid",
")",
";",
"add",
"power",
"save",
"temp",
"whitelist",
"app",
"direct",
"internal",
"(",
"calling",
"uid",
",",
"app",
"id",
",",
"duration",
",",
"sync",
",",
"reason",
")",
";",
"}",
"catch",
"(",
"name",
"not",
"found",
"exception",
"e",
")",
"{",
"}"
] |
[
"removes",
"an",
"app",
"from",
"the",
"temporary",
"whitelist",
"and",
"notifies",
"the",
"observers"
] | [
"try",
"{",
"final",
"int",
"uid",
"=",
"get",
"context",
"(",
")",
"get",
"package",
"manager",
"(",
")",
"get",
"package",
"uid",
"as",
"user",
"(",
"package",
"name",
",",
"user",
"id",
")",
";",
"final",
"int",
"app",
"id",
"=",
"user",
"handle",
"get",
"app",
"id",
"(",
"uid",
")",
";",
"remove",
"power",
"save",
"temp",
"whitelist",
"app",
"direct",
"internal",
"(",
"app",
"id",
")",
";",
"}",
"catch",
"(",
"name",
"not",
"found",
"exception",
"e",
")",
"{",
"}"
] |
[
"deep",
"copy",
"this",
"object",
"and",
"the",
"complex",
"data",
"objects",
"referenced",
"by",
"this",
"object"
] | [
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"?",
">",
"e",
":",
"entry",
"set",
"(",
")",
")",
"{",
"object",
"value",
"=",
"e",
"get",
"value",
"(",
")",
";",
"object",
"value",
"copy",
"=",
"data",
"copy",
"(",
"value",
",",
"already",
"copied",
")",
";",
"if",
"(",
"value",
"!",
"=",
"value",
"copy",
")",
"{",
"put",
"without",
"checking",
"(",
"e",
"get",
"key",
"(",
")",
",",
"value",
"copy",
")",
";",
"}",
"}"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"boolean",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"boolean",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"integer",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"integer",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"long",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"long",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"float",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"float",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"double",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"double",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"string",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"string",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"byte",
"string",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"byte",
"string",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"data",
"map",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"data",
"map",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"the",
"specified",
"key",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"data",
"list",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"data",
"list",
")",
"get",
"(",
"key",
")",
";"
] |
[
"returns",
"the",
"value",
"to",
"which",
"{",
"@",
"link",
"#",
"error",
"key",
"}",
"is",
"mapped",
"and",
"cast",
"to",
"{",
"@",
"link",
"string",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"map",
"contains",
"no",
"mapping",
"for",
"the",
"key"
] | [
"return",
"(",
"string",
")",
"get",
"(",
"error",
"key",
")",
";"
] |
[
"adds",
"an",
"error",
"message",
"to",
"the",
"{",
"@",
"link",
"data",
"map",
"}"
] | [
"string",
"error",
"=",
"get",
"error",
"(",
")",
";",
"string",
"res",
";",
"if",
"(",
"error",
"!",
"=",
"null",
")",
"{",
"res",
"=",
"error",
"+",
"msg",
";",
"}",
"else",
"{",
"res",
"=",
"msg",
";",
"}",
"put",
"(",
"error",
"key",
",",
"res",
")",
";",
"return",
"res",
";"
] |
[
"unit",
"test",
"use",
"only"
] | [
"return",
"get",
"object",
"(",
")",
";"
] |
[
"a",
"map",
"of",
"version",
"get",
"major",
"+",
"version",
"get",
"minor",
"-",
">",
"true",
"/",
"false",
"<",
"br",
"/",
">",
"a",
"true",
"value",
"means",
"the",
"automatic",
"display",
"of",
"the",
"getting",
"started",
"page",
"has",
"been",
"turned",
"of",
"for",
"that",
"minor",
"version",
"(",
"we",
"don",
"t",
"show",
"it",
"again",
"for",
"patch",
"versions",
")",
"missing",
"values",
"are",
"treated",
"as",
"false"
] | [
"@",
"json",
"property",
"public",
"abstract",
"set",
"<",
"string",
">",
"dismissed",
"in",
"versions",
"(",
")",
";"
] |
[
"returns",
"the",
"queue",
"arn",
"for",
"this",
"notification",
"configuration"
] | [
"return",
"queue",
"a",
"r",
"n",
";"
] |
[
"sets",
"the",
"queue",
"arn",
"for",
"this",
"configuration"
] | [
"this",
"queue",
"a",
"r",
"n",
"=",
"queue",
"a",
"r",
"n",
";"
] |
[
"fluent",
"method",
"to",
"set",
"the",
"queue",
"arn",
"for",
"this",
"configuration"
] | [
"set",
"queue",
"a",
"r",
"n",
"(",
"queue",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"dashboards",
"to",
"be",
"deleted",
"this",
"parameter",
"is",
"required",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"dashboard",
"names",
"=",
"=",
"null",
")",
"{",
"dashboard",
"names",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"dashboard",
"names",
";"
] |
[
"<",
"p",
">",
"the",
"dashboards",
"to",
"be",
"deleted",
"this",
"parameter",
"is",
"required",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"dashboard",
"names",
"=",
"=",
"null",
")",
"{",
"this",
"dashboard",
"names",
"=",
"null",
";",
"return",
";",
"}",
"this",
"dashboard",
"names",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"dashboard",
"names",
")",
";"
] |
[
"<",
"p",
">",
"the",
"dashboards",
"to",
"be",
"deleted",
"this",
"parameter",
"is",
"required",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"dashboard",
"names",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"dashboard",
"names",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"dashboard",
"names",
"=",
"=",
"null",
")",
"{",
"set",
"dashboard",
"names",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"dashboard",
"names",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"dashboard",
"names",
")",
"{",
"this",
"dashboard",
"names",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"dashboards",
"to",
"be",
"deleted",
"this",
"parameter",
"is",
"required",
"<",
"/",
"p",
">"
] | [
"set",
"dashboard",
"names",
"(",
"dashboard",
"names",
")",
";",
"return",
"this",
";"
] |
[
"fetch",
"the",
"value",
"from",
"the",
"given",
"column",
"of",
"the",
"current",
"row",
"record",
"an",
"error",
"the",
"first",
"time",
"a",
"column",
"is",
"seen",
"to",
"be",
"missing",
"and",
"whenever",
"empty",
"values",
"are",
"encountered",
"i",
"was",
"originally",
"just",
"calling",
"get",
"string",
"field",
"from",
"the",
"other",
"get",
"x",
"field",
"functions",
"as",
"a",
"first",
"step",
"to",
"get",
"the",
"missing",
"-",
"field",
"check",
"but",
"we",
"don",
"t",
"want",
"deduplication",
"performed",
"on",
"strings",
"that",
"aren",
"t",
"being",
"retained",
"therefore",
"the",
"missing",
"-",
"field",
"behavior",
"is",
"this",
"separate",
"function"
] | [
"string",
"str",
"=",
"reader",
"get",
"(",
"column",
")",
";",
"if",
"(",
"str",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"!",
"missing",
"required",
"columns",
"contains",
"(",
"column",
")",
")",
"{",
"feed",
"errors",
"add",
"(",
"new",
"missing",
"column",
"error",
"(",
"table",
"name",
",",
"column",
")",
")",
";",
"missing",
"required",
"columns",
"add",
"(",
"column",
")",
";",
"}",
"}",
"else",
"if",
"(",
"str",
"is",
"empty",
"(",
")",
")",
"{",
"if",
"(",
"required",
")",
"{",
"feed",
"errors",
"add",
"(",
"new",
"empty",
"field",
"error",
"(",
"table",
"name",
",",
"row",
",",
"column",
")",
")",
";",
"}",
"str",
"=",
"null",
";",
"}",
"return",
"str",
";"
] |
[
"fetch",
"the",
"given",
"column",
"of",
"the",
"current",
"row",
"and",
"interpret",
"it",
"as",
"a",
"date",
"in",
"the",
"format",
"yyyymmdd"
] | [
"string",
"str",
"=",
"get",
"field",
"check",
"required",
"(",
"column",
",",
"required",
")",
";",
"local",
"date",
"date",
"time",
"=",
"null",
";",
"if",
"(",
"str",
"!",
"=",
"null",
")",
"try",
"{",
"date",
"time",
"=",
"local",
"date",
"parse",
"(",
"str",
",",
"date",
"time",
"formatter",
"basic",
"iso",
"date",
")",
";",
"check",
"range",
"inclusive",
"(",
"2000",
",",
"2100",
",",
"date",
"time",
"get",
"year",
"(",
")",
")",
";",
"}",
"catch",
"(",
"illegal",
"argument",
"exception",
"iae",
")",
"{",
"feed",
"errors",
"add",
"(",
"new",
"date",
"parse",
"error",
"(",
"table",
"name",
",",
"row",
",",
"column",
")",
")",
";",
"}",
"return",
"date",
"time",
";"
] |
[
"fetch",
"the",
"given",
"column",
"of",
"the",
"current",
"row",
"and",
"interpret",
"it",
"as",
"a",
"url"
] | [
"string",
"str",
"=",
"get",
"field",
"check",
"required",
"(",
"column",
",",
"required",
")",
";",
"url",
"url",
"=",
"null",
";",
"if",
"(",
"str",
"!",
"=",
"null",
")",
"try",
"{",
"url",
"=",
"new",
"url",
"(",
"str",
")",
";",
"}",
"catch",
"(",
"malformed",
"u",
"r",
"l",
"exception",
"mue",
")",
"{",
"feed",
"errors",
"add",
"(",
"new",
"u",
"r",
"l",
"parse",
"error",
"(",
"table",
"name",
",",
"row",
",",
"column",
")",
")",
";",
"}",
"return",
"url",
";"
] |
[
"used",
"to",
"check",
"referential",
"integrity",
"return",
"value",
"is",
"not",
"used",
"but",
"could",
"allow",
"entities",
"to",
"point",
"to",
"each",
"other",
"directly",
"rather",
"than",
"using",
"indirection",
"through",
"string",
"-",
"keyed",
"maps"
] | [
"string",
"str",
"=",
"get",
"field",
"check",
"required",
"(",
"column",
",",
"required",
")",
";",
"v",
"val",
"=",
"null",
";",
"if",
"(",
"str",
"!",
"=",
"null",
")",
"{",
"val",
"=",
"target",
"get",
"(",
"str",
")",
";",
"}",
"return",
"val",
";"
] |
[
"implemented",
"by",
"subclasses",
"to",
"read",
"one",
"row",
"produce",
"one",
"gtfs",
"entity",
"and",
"store",
"that",
"entity",
"in",
"a",
"map"
] | [
"protected",
"abstract",
"void",
"load",
"one",
"row",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"write",
"the",
"csv",
"header"
] | [
"protected",
"abstract",
"void",
"write",
"headers",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"write",
"one",
"row",
"of",
"the",
"csv",
"from",
"the",
"passed",
"-",
"in",
"object"
] | [
"protected",
"abstract",
"void",
"write",
"one",
"row",
"(",
"e",
"obj",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"get",
"an",
"iterator",
"over",
"objects",
"of",
"this",
"type"
] | [
"protected",
"abstract",
"iterator",
"<",
"e",
">",
"iterator",
"(",
")",
";"
] |
[
"writes",
"date",
"as",
"yyyymmdd"
] | [
"write",
"string",
"field",
"(",
"d",
"format",
"(",
"date",
"time",
"formatter",
"basic",
"iso",
"date",
")",
")",
";"
] |
[
"take",
"a",
"time",
"expressed",
"in",
"seconds",
"since",
"noon",
"-",
"1",
"2h",
"(",
"midnight",
"usually",
")",
"and",
"write",
"it",
"in",
"hh",
":",
"mm",
":",
"ss",
"format"
] | [
"if",
"(",
"secs",
"since",
"midnight",
"=",
"=",
"int",
"missing",
")",
"{",
"write",
"string",
"field",
"(",
"\"",
"\"",
")",
";",
"return",
";",
"}",
"write",
"string",
"field",
"(",
"convert",
"to",
"gtfs",
"time",
"(",
"secs",
"since",
"midnight",
")",
")",
";"
] |
[
"end",
"a",
"row",
"this",
"is",
"just",
"a",
"proxy",
"to",
"the",
"writer",
"but",
"could",
"be",
"used",
"for",
"hooks",
"in",
"the",
"future"
] | [
"writer",
"end",
"record",
"(",
")",
";"
] |
[
"return",
"the",
"content",
"type",
"for",
"all",
"views",
"if",
"any"
] | [
"return",
"this",
"content",
"type",
";"
] |
[
"set",
"whether",
"to",
"interpret",
"a",
"given",
"redirect",
"url",
"that",
"starts",
"with",
"a",
"slash",
"(",
"/",
")",
"as",
"relative",
"to",
"the",
"current",
"servlet",
"context",
"i",
"e",
"as",
"relative",
"to",
"the",
"web",
"application",
"root",
"<",
"p",
">",
"default",
"is",
"true",
":",
"a",
"redirect",
"url",
"that",
"starts",
"with",
"a",
"slash",
"will",
"be",
"interpreted",
"as",
"relative",
"to",
"the",
"web",
"application",
"root",
"i",
"e",
"the",
"context",
"path",
"will",
"be",
"prepended",
"to",
"the",
"url",
"<",
"p",
">",
"<",
"b",
">",
"redirect",
"u",
"r",
"ls",
"can",
"be",
"specified",
"via",
"the",
"redirect",
":",
"prefix",
"<",
"/",
"b",
">",
"e",
"g",
":",
"redirect",
":",
"my",
"action"
] | [
"this",
"redirect",
"context",
"relative",
"=",
"redirect",
"context",
"relative",
";"
] |
[
"return",
"whether",
"to",
"interpret",
"a",
"given",
"redirect",
"url",
"that",
"starts",
"with",
"a",
"slash",
"(",
"/",
")",
"as",
"relative",
"to",
"the",
"current",
"servlet",
"context",
"i",
"e",
"as",
"relative",
"to",
"the",
"web",
"application",
"root"
] | [
"return",
"this",
"redirect",
"context",
"relative",
";"
] |
[
"set",
"whether",
"redirects",
"should",
"stay",
"compatible",
"with",
"http",
"1",
"0",
"clients",
"<",
"p",
">",
"in",
"the",
"default",
"implementation",
"this",
"will",
"enforce",
"http",
"status",
"code",
"302",
"in",
"any",
"case",
"i",
"e",
"delegate",
"to",
"{"
] | [
"this",
"redirect",
"http",
"1",
"0",
"compatible",
"=",
"redirect",
"http",
"1",
"0",
"compatible",
";"
] |
[
"return",
"whether",
"redirects",
"should",
"stay",
"compatible",
"with",
"http",
"1",
"0",
"clients"
] | [
"return",
"this",
"redirect",
"http",
"1",
"0",
"compatible",
";"
] |
[
"configure",
"one",
"or",
"more",
"hosts",
"associated",
"with",
"the",
"application",
"all",
"other",
"hosts",
"will",
"be",
"considered",
"external",
"hosts",
"<",
"p",
">",
"in",
"effect",
"this",
"property",
"provides",
"a",
"way",
"turn",
"off",
"encoding",
"on",
"redirect",
"via",
"{"
] | [
"this",
"redirect",
"hosts",
"=",
"redirect",
"hosts",
";"
] |
[
"return",
"the",
"configured",
"application",
"hosts",
"for",
"redirect",
"purposes"
] | [
"return",
"this",
"redirect",
"hosts",
";"
] |
[
"set",
"static",
"attributes",
"from",
"a",
"{"
] | [
"collection",
"utils",
"merge",
"properties",
"into",
"map",
"(",
"props",
",",
"this",
"static",
"attributes",
")",
";"
] |
[
"set",
"static",
"attributes",
"from",
"a",
"map",
"for",
"all",
"views",
"returned",
"by",
"this",
"resolver",
"this",
"allows",
"to",
"set",
"any",
"kind",
"of",
"attribute",
"values",
"for",
"example",
"bean",
"references",
"<",
"p",
">",
"can",
"be",
"populated",
"with",
"a",
"map",
"or",
"props",
"element",
"in",
"xml",
"bean",
"definitions"
] | [
"if",
"(",
"attributes",
"!",
"=",
"null",
")",
"{",
"this",
"static",
"attributes",
"put",
"all",
"(",
"attributes",
")",
";",
"}"
] |
[
"specify",
"whether",
"views",
"resolved",
"by",
"this",
"resolver",
"should",
"add",
"path",
"variables",
"to",
"the",
"model",
"or",
"not",
"<",
"p",
">",
">",
"the",
"default",
"setting",
"is",
"to",
"let",
"each",
"view",
"decide",
"(",
"see",
"{"
] | [
"this",
"expose",
"path",
"variables",
"=",
"expose",
"path",
"variables",
";"
] |
[
"return",
"whether",
"views",
"resolved",
"by",
"this",
"resolver",
"should",
"add",
"path",
"variables",
"to",
"the",
"model",
"or",
"not"
] | [
"return",
"this",
"expose",
"path",
"variables",
";"
] |
[
"specify",
"the",
"names",
"of",
"beans",
"in",
"the",
"context",
"which",
"are",
"supposed",
"to",
"be",
"exposed",
"if",
"this",
"is",
"non",
"-",
"null",
"only",
"the",
"specified",
"beans",
"are",
"eligible",
"for",
"exposure",
"as",
"attributes"
] | [
"this",
"exposed",
"context",
"bean",
"names",
"=",
"exposed",
"context",
"bean",
"names",
";"
] |
[
"delegates",
"to",
"{"
] | [
"abstract",
"url",
"based",
"view",
"view",
"=",
"build",
"view",
"(",
"view",
"name",
")",
";",
"view",
"result",
"=",
"apply",
"lifecycle",
"methods",
"(",
"view",
"name",
",",
"view",
")",
";",
"return",
"(",
"view",
"check",
"resource",
"(",
"locale",
")",
"?",
"result",
":",
"null",
")",
";"
] |
[
"adds",
"a",
"listener",
"object",
"that",
"is",
"notified",
"about",
"changes",
"in",
"the",
"text",
"node"
] | [
"m",
"listeners",
"add",
"listener",
"(",
"listener",
")",
";"
] |
[
"appends",
"a",
"text",
"node",
"comment"
] | [
"try",
"{",
"return",
"m",
"node",
"append",
"comment",
"(",
"comment",
"text",
")",
";",
"}",
"catch",
"(",
"final",
"couldnt",
"save",
"data",
"exception",
"exception",
")",
"{",
"throw",
"new",
"com",
"google",
"security",
"zynamics",
"binnavi",
"api",
"disassembly",
"couldnt",
"save",
"data",
"exception",
"(",
"exception",
")",
";",
"}",
"catch",
"(",
"final",
"couldnt",
"load",
"data",
"exception",
"exception",
")",
"{",
"throw",
"new",
"com",
"google",
"security",
"zynamics",
"binnavi",
"api",
"disassembly",
"couldnt",
"load",
"data",
"exception",
"(",
"exception",
")",
";",
"}"
] |
[
"initialize",
"the",
"text",
"node",
"comments"
] | [
"m",
"node",
"initialize",
"comment",
"(",
"comments",
")",
";"
] |
[
"edit",
"a",
"group",
"node",
"comment"
] | [
"try",
"{",
"return",
"m",
"node",
"edit",
"comment",
"(",
"comment",
",",
"new",
"comment",
")",
";",
"}",
"catch",
"(",
"final",
"couldnt",
"save",
"data",
"exception",
"exception",
")",
"{",
"throw",
"new",
"com",
"google",
"security",
"zynamics",
"binnavi",
"api",
"disassembly",
"couldnt",
"save",
"data",
"exception",
"(",
"exception",
")",
";",
"}"
] |
[
"delete",
"a",
"group",
"node",
"comment"
] | [
"try",
"{",
"m",
"node",
"delete",
"comment",
"(",
"comment",
")",
";",
"}",
"catch",
"(",
"final",
"couldnt",
"delete",
"exception",
"exception",
")",
"{",
"throw",
"new",
"com",
"google",
"security",
"zynamics",
"binnavi",
"api",
"disassembly",
"couldnt",
"delete",
"exception",
"(",
"exception",
")",
";",
"}"
] |
[
"returns",
"the",
"comments",
"that",
"are",
"displayed",
"in",
"the",
"node"
] | [
"return",
"m",
"node",
"get",
"comments",
"(",
")",
";"
] |
[
"removes",
"a",
"listener",
"object",
"from",
"the",
"text",
"node"
] | [
"m",
"listeners",
"remove",
"listener",
"(",
"listener",
")",
";"
] |
[
"get",
"the",
"living",
"entity",
"that",
"exited",
"the",
"vehicle"
] | [
"return",
"exited",
";"
] |
[
"gets",
"the",
"long",
"value"
] | [
"return",
"m",
"uce",
"long",
";"
] |
[
"sets",
"the",
"long",
"value"
] | [
"this",
"m",
"uce",
"long",
"=",
"uce",
"long",
";"
] |
[
"get",
"the",
"client",
"id",
"as",
"integer",
"value"
] | [
"return",
"m",
"client",
"id",
";"
] |
[
"set",
"the",
"client",
"id",
"as",
"integer",
"value"
] | [
"this",
"m",
"client",
"id",
"=",
"n",
"client",
"id",
";"
] |
[
"gets",
"the",
"instance",
"of",
"a",
"uce",
"long",
"class"
] | [
"return",
"new",
"uce",
"long",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"response",
"object",
"it",
"includes",
"the",
"<",
"code",
">",
"event",
"i",
"d",
"<",
"/",
"code",
">",
"<",
"code",
">",
"event",
"type",
"<",
"/",
"code",
">",
"<",
"code",
">",
"creation",
"date",
"<",
"/",
"code",
">",
"<",
"code",
">",
"event",
"risk",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"event",
"response",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"auth",
"events",
";"
] |
[
"<",
"p",
">",
"the",
"response",
"object",
"it",
"includes",
"the",
"<",
"code",
">",
"event",
"i",
"d",
"<",
"/",
"code",
">",
"<",
"code",
">",
"event",
"type",
"<",
"/",
"code",
">",
"<",
"code",
">",
"creation",
"date",
"<",
"/",
"code",
">",
"<",
"code",
">",
"event",
"risk",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"event",
"response",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"auth",
"events",
"=",
"=",
"null",
")",
"{",
"this",
"auth",
"events",
"=",
"null",
";",
"return",
";",
"}",
"this",
"auth",
"events",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"auth",
"event",
"type",
">",
"(",
"auth",
"events",
")",
";"
] |
[
"<",
"p",
">",
"the",
"response",
"object",
"it",
"includes",
"the",
"<",
"code",
">",
"event",
"i",
"d",
"<",
"/",
"code",
">",
"<",
"code",
">",
"event",
"type",
"<",
"/",
"code",
">",
"<",
"code",
">",
"creation",
"date",
"<",
"/",
"code",
">",
"<",
"code",
">",
"event",
"risk",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"event",
"response",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"auth",
"events",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"auth",
"events",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"auth",
"events",
"=",
"=",
"null",
")",
"{",
"set",
"auth",
"events",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"auth",
"event",
"type",
">",
"(",
"auth",
"events",
"length",
")",
")",
";",
"}",
"for",
"(",
"auth",
"event",
"type",
"ele",
":",
"auth",
"events",
")",
"{",
"this",
"auth",
"events",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"response",
"object",
"it",
"includes",
"the",
"<",
"code",
">",
"event",
"i",
"d",
"<",
"/",
"code",
">",
"<",
"code",
">",
"event",
"type",
"<",
"/",
"code",
">",
"<",
"code",
">",
"creation",
"date",
"<",
"/",
"code",
">",
"<",
"code",
">",
"event",
"risk",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"event",
"response",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"auth",
"events",
"(",
"auth",
"events",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"pagination",
"token",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"new",
"values",
"to",
"all",
"fields",
"of",
"the",
"tuple"
] | [
"this",
"f",
"0",
"=",
"value",
"0",
";",
"this",
"f",
"1",
"=",
"value",
"1",
";",
"this",
"f",
"2",
"=",
"value",
"2",
";",
"this",
"f",
"3",
"=",
"value",
"3",
";",
"this",
"f",
"4",
"=",
"value",
"4",
";",
"this",
"f",
"5",
"=",
"value",
"5",
";",
"this",
"f",
"6",
"=",
"value",
"6",
";",
"this",
"f",
"7",
"=",
"value",
"7",
";",
"this",
"f",
"8",
"=",
"value",
"8",
";",
"this",
"f",
"9",
"=",
"value",
"9",
";",
"this",
"f",
"1",
"0",
"=",
"value",
"1",
"0",
";",
"this",
"f",
"1",
"1",
"=",
"value",
"1",
"1",
";",
"this",
"f",
"1",
"2",
"=",
"value",
"1",
"2",
";",
"this",
"f",
"1",
"3",
"=",
"value",
"1",
"3",
";",
"this",
"f",
"1",
"4",
"=",
"value",
"1",
"4",
";",
"this",
"f",
"1",
"5",
"=",
"value",
"1",
"5",
";",
"this",
"f",
"1",
"6",
"=",
"value",
"1",
"6",
";",
"this",
"f",
"1",
"7",
"=",
"value",
"1",
"7",
";",
"this",
"f",
"1",
"8",
"=",
"value",
"1",
"8",
";",
"this",
"f",
"1",
"9",
"=",
"value",
"1",
"9",
";",
"this",
"f",
"2",
"0",
"=",
"value",
"2",
"0",
";",
"this",
"f",
"2",
"1",
"=",
"value",
"2",
"1",
";",
"this",
"f",
"2",
"2",
"=",
"value",
"2",
"2",
";",
"this",
"f",
"2",
"3",
"=",
"value",
"2",
"3",
";",
"this",
"f",
"2",
"4",
"=",
"value",
"2",
"4",
";"
] |
[
"creates",
"a",
"new",
"tuple",
"and",
"assigns",
"the",
"given",
"values",
"to",
"the",
"tuple",
"s",
"fields",
"this",
"is",
"more",
"convenient",
"than",
"using",
"the",
"constructor",
"because",
"the",
"compiler",
"can",
"infer",
"the",
"generic",
"type",
"arguments",
"implicitly",
"for",
"example",
":",
"{"
] | [
"return",
"new",
"tuple",
"2",
"5",
"<",
">",
"(",
"value",
"0",
",",
"value",
"1",
",",
"value",
"2",
",",
"value",
"3",
",",
"value",
"4",
",",
"value",
"5",
",",
"value",
"6",
",",
"value",
"7",
",",
"value",
"8",
",",
"value",
"9",
",",
"value",
"1",
"0",
",",
"value",
"1",
"1",
",",
"value",
"1",
"2",
",",
"value",
"1",
"3",
",",
"value",
"1",
"4",
",",
"value",
"1",
"5",
",",
"value",
"1",
"6",
",",
"value",
"1",
"7",
",",
"value",
"1",
"8",
",",
"value",
"1",
"9",
",",
"value",
"2",
"0",
",",
"value",
"2",
"1",
",",
"value",
"2",
"2",
",",
"value",
"2",
"3",
",",
"value",
"2",
"4",
")",
";"
] |
[
"specify",
"the",
"{"
] | [
"this",
"mapping",
"location",
"=",
"mapping",
"location",
";"
] |
[
"specify",
"additional",
"mime",
"type",
"mappings",
"as",
"lines",
"that",
"follow",
"the",
"{"
] | [
"this",
"mappings",
"=",
"mappings",
";"
] |
[
"creates",
"the",
"final",
"merged",
"mapping",
"set"
] | [
"get",
"file",
"type",
"map",
"(",
")",
";"
] |
[
"compile",
"a",
"{"
] | [
"mimetypes",
"file",
"type",
"map",
"file",
"type",
"map",
"=",
"null",
";",
"if",
"(",
"mapping",
"location",
"!",
"=",
"null",
")",
"{",
"input",
"stream",
"is",
"=",
"mapping",
"location",
"get",
"input",
"stream",
"(",
")",
";",
"try",
"{",
"file",
"type",
"map",
"=",
"new",
"mimetypes",
"file",
"type",
"map",
"(",
"is",
")",
";",
"}",
"finally",
"{",
"is",
"close",
"(",
")",
";",
"}",
"}",
"else",
"{",
"file",
"type",
"map",
"=",
"new",
"mimetypes",
"file",
"type",
"map",
"(",
")",
";",
"}",
"if",
"(",
"mappings",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"string",
"mapping",
":",
"mappings",
")",
"{",
"file",
"type",
"map",
"add",
"mime",
"types",
"(",
"mapping",
")",
";",
"}",
"}",
"return",
"file",
"type",
"map",
";"
] |
Subsets and Splits