Compare commits
19 Commits
5b14403d70
...
s-sakiyama
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8852af7c4 | ||
|
|
e4ab28dd5b | ||
|
|
8f877dc193 | ||
|
|
eff200db21 | ||
|
|
95c3e2a178 | ||
|
|
18756765e2 | ||
|
|
86043f0275 | ||
|
|
941b7df6f8 | ||
|
|
19c5683263 | ||
|
|
81164ccb21 | ||
|
|
b997922d53 | ||
|
|
9aaf462b01 | ||
|
|
0c5bbb8f06 | ||
|
|
65d28aca38 | ||
|
|
c3ff4de2a6 | ||
|
|
0b0fac1be5 | ||
|
|
d347cc832c | ||
|
|
4304d74b8e | ||
|
|
37dcf0bd10 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -24,3 +24,4 @@
|
||||
hs_err_pid*
|
||||
replay_pid*
|
||||
|
||||
/.metadata/
|
||||
|
||||
0
.metadata/.copied.metadata.default
Normal file
0
.metadata/.copied.metadata.default
Normal file
0
.metadata/.lock
Normal file
0
.metadata/.lock
Normal file
4
.metadata/.lock_info
Normal file
4
.metadata/.lock_info
Normal file
@@ -0,0 +1,4 @@
|
||||
#Tue Sep 08 15:50:07 JST 2026
|
||||
host=PC60205537
|
||||
process-id=16436
|
||||
user=USER
|
||||
10707
.metadata/.plugins/org.eclipse.buildship.core/gradle/versions.json
Normal file
10707
.metadata/.plugins/org.eclipse.buildship.core/gradle/versions.json
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
editorVIEW_MODE=10
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
metrics.optout=true
|
||||
@@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
iconcolormode=pastel
|
||||
codetogether.hooks.enabled=false
|
||||
@@ -0,0 +1,3 @@
|
||||
colorTheme=IntelliJ IDEA Dark
|
||||
colorThemeExplicit=true
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,4 @@
|
||||
customInstructionsWorkspace=\u65E5\u672C\u8A9E\u3067\u8FD4\u7B54\u3057\u3066\u304F\u3060\u3055\u3044\u3002
|
||||
customInstructionsWorkspaceEnabled=true
|
||||
eclipse.preferences.version=1
|
||||
quickStartVersion=1
|
||||
@@ -0,0 +1,4 @@
|
||||
eclipse.preferences.version=1
|
||||
panel.startup=true
|
||||
panel.textSize=40
|
||||
searchHistory=OFF
|
||||
@@ -0,0 +1,11 @@
|
||||
colorComments=0,128,128
|
||||
colorCustomKeywords=128,128,0
|
||||
colorDataType=196,160,0
|
||||
colorDoubleQuotes=85,85,255
|
||||
colorFunctions=196,160,0
|
||||
colorNormalText=192,192,192
|
||||
colorSingleQuotes=255,128,64
|
||||
colorStatement=0,128,0
|
||||
colorTargets=77,154,6
|
||||
colorWhereBlock=0,128,0
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
saveAndTrim=false
|
||||
@@ -0,0 +1,2 @@
|
||||
booleanPerformanceWarningEnabled=false
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
useAnnotationsPrefPage=true
|
||||
useQuickDiffPrefPage=true
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.compare.IgnoreWhitespace=true
|
||||
@@ -0,0 +1,5 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding=UTF-8
|
||||
refresh.enabled=true
|
||||
refresh.lightweight.enabled=true
|
||||
version=1
|
||||
@@ -0,0 +1,14 @@
|
||||
content-types/org.eclipse.core.runtime.text/file-extensions=csv
|
||||
content-types/org.eclipse.core.runtime.xml/file-extensions=dicon
|
||||
content-types/org.eclipse.jdt.core.javaProperties/charset=UTF-8
|
||||
content-types/org.eclipse.jst.jsp.core.jspfragmentsource/charset=UTF-8
|
||||
content-types/org.eclipse.jst.jsp.core.jspsource/charset=UTF-8
|
||||
content-types/org.eclipse.jst.jsp.core.tagsource/charset=UTF-8
|
||||
content-types/org.eclipse.jst.jsp.core.tagxsource/charset=UTF-8
|
||||
content-types/org.eclipse.wildwebdeveloper.html/file-extensions=vue
|
||||
content-types/org.springframework.boot.ide.properties.application.properties/charset=UTF-8
|
||||
content-types/org.springframework.ide.eclipse.applicationProperties/charset=UTF-8
|
||||
content-types/userCreated_bat/charset=MS932
|
||||
content-types/userCreated_bat/file-extensions=bat,cmd
|
||||
eclipse.preferences.version=1
|
||||
line.separator=\n
|
||||
@@ -0,0 +1,9 @@
|
||||
eclipse.preferences.version=1
|
||||
\u305D\u306E\u4ED6=0,0,0,0,1,0,0,0
|
||||
\u30AD\u30FC\u30EF\u30FC\u30C9=1,0,0,0,0,127,0,85
|
||||
\u30B7\u30F3\u30B0\u30EB\u30FB\u30AF\u30A9\u30FC\u30C8\u6587\u5B57\u5217=0,0,0,0,0,0,0,255
|
||||
\u30C0\u30D6\u30EB\u30FB\u30AF\u30A9\u30FC\u30C8\u6587\u5B57\u5217=0,0,0,0,0,0,128,0
|
||||
\u5358\u4E00\u884C\u30B3\u30E1\u30F3\u30C8=0,0,0,0,0,64,128,128
|
||||
\u578B=1,0,0,0,0,64,0,200
|
||||
\u8907\u6570\u884C\u30B3\u30E1\u30F3\u30C8=0,0,0,0,0,64,128,128
|
||||
\u8B58\u5225\u5B50=0,0,0,0,0,0,0,128
|
||||
@@ -0,0 +1,26 @@
|
||||
Console.console_tab_width=4
|
||||
Console.highWaterMark=88000
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.debug.ui.MemoryHistoryKnownColor=235,235,235
|
||||
org.eclipse.debug.ui.MemoryHistoryKnownColor,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
org.eclipse.debug.ui.MemoryHistoryUnknownColor=170,175,185
|
||||
org.eclipse.debug.ui.MemoryHistoryUnknownColor,defaultValueBeforeOverriddenFromCSS=114,119,129
|
||||
org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND=150,80,115
|
||||
org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND,defaultValueBeforeOverriddenFromCSS=255,255,0
|
||||
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
|
||||
org.eclipse.debug.ui.RelaunchAndTerminateLaunchAction=true
|
||||
org.eclipse.debug.ui.changedDebugElement=255,128,128
|
||||
org.eclipse.debug.ui.changedDebugElement,defaultValueBeforeOverriddenFromCSS=255,0,0
|
||||
org.eclipse.debug.ui.consoleBackground=53,53,53
|
||||
org.eclipse.debug.ui.consoleBackground,defaultValueBeforeOverriddenFromCSS=255,255,255
|
||||
org.eclipse.debug.ui.errorColor=225,30,70
|
||||
org.eclipse.debug.ui.errorColor,defaultValueBeforeOverriddenFromCSS=255,0,0
|
||||
org.eclipse.debug.ui.inColor=140,175,210
|
||||
org.eclipse.debug.ui.inColor,defaultValueBeforeOverriddenFromCSS=0,200,125
|
||||
org.eclipse.debug.ui.outColor=235,235,235
|
||||
org.eclipse.debug.ui.outColor,defaultValueBeforeOverriddenFromCSS=0,0,0
|
||||
org.eclipse.debug.ui.relaunch_in_debug_mode=prompt
|
||||
org.eclipse.debug.ui.save_dirty_editors_before_launch=always
|
||||
org.eclipse.debug.ui.switch_perspective_on_suspend=never
|
||||
overriddenByCSS=,org.eclipse.debug.ui.MemoryHistoryKnownColor,org.eclipse.debug.ui.MemoryHistoryUnknownColor,org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND,org.eclipse.debug.ui.changedDebugElement,org.eclipse.debug.ui.consoleBackground,org.eclipse.debug.ui.errorColor,org.eclipse.debug.ui.inColor,org.eclipse.debug.ui.outColor,
|
||||
preferredTargets=default,org.eclipse.lsp4e.debug.toggleBreakpointTarget\:default|org.eclipse.lsp4e.debug.toggleBreakpointTarget\:org.eclipse.lsp4e.debug.toggleBreakpointTarget|
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
schemaVersion=0.8.1
|
||||
@@ -0,0 +1,5 @@
|
||||
darkestApplied=true
|
||||
eclipse.preferences.version=1
|
||||
enableddarkestdark=true
|
||||
#themeid=org.eclipse.e4.ui.css.theme.e4_system
|
||||
themeid=org.eclipse.e4.ui.css.theme.e4_dark
|
||||
@@ -0,0 +1,4 @@
|
||||
USE_ROUND_TABS=false
|
||||
eclipse.preferences.version=1
|
||||
enableMRU=true
|
||||
themeEnabled=true
|
||||
@@ -0,0 +1,4 @@
|
||||
eclipse.preferences.version=1
|
||||
show_git_prefix_warning=false
|
||||
show_home_drive_warning=false
|
||||
show_initial_config_dialog=false
|
||||
@@ -0,0 +1,12 @@
|
||||
anonymizeMessages=false
|
||||
anonymizeStackTraces=true
|
||||
configured=true
|
||||
debugEnabled=false
|
||||
eclipse.preferences.version=1
|
||||
reporterEmail=
|
||||
reporterName=
|
||||
resetSendMode=KEEP
|
||||
resetSendModeOn=0
|
||||
sendMode=NEVER
|
||||
servers/org.eclipse.epp.logging.aeri.ide.server/configured=true
|
||||
servers/org.eclipse.epp.logging.aeri.ide.server/enabled=false
|
||||
@@ -0,0 +1,3 @@
|
||||
action=IGNORE
|
||||
configured=true
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,407 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch
|
||||
org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
|
||||
org.eclipse.jdt.core.compiler.compliance=21
|
||||
org.eclipse.jdt.core.compiler.ignoreUnnamedModuleForSplitPackage=enabled
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
|
||||
org.eclipse.jdt.core.compiler.source=21
|
||||
org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false
|
||||
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
|
||||
org.eclipse.jdt.core.formatter.align_selector_in_method_invocation_on_expression_first_line=false
|
||||
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
|
||||
org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false
|
||||
org.eclipse.jdt.core.formatter.align_with_spaces=false
|
||||
org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_enum_constant=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field=49
|
||||
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable=49
|
||||
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method=49
|
||||
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package=49
|
||||
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type=49
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_assertion_message=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
|
||||
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_switch_case_with_arrow=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_switch_case_with_colon=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_module_statements=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_record_components=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_relational_operator=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
|
||||
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_shift_operator=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_record_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_switch_case_with_arrow=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_type_annotations=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
|
||||
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_after_last_class_body_declaration=0
|
||||
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_abstract_method=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_field=0
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_method=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_package=0
|
||||
org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_between_statement_group_in_switch=0
|
||||
org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_record_constructor=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_record_declaration=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
|
||||
org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=false
|
||||
org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false
|
||||
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
|
||||
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
|
||||
org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=false
|
||||
org.eclipse.jdt.core.formatter.comment.format_block_comments=false
|
||||
org.eclipse.jdt.core.formatter.comment.format_header=false
|
||||
org.eclipse.jdt.core.formatter.comment.format_html=true
|
||||
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=false
|
||||
org.eclipse.jdt.core.formatter.comment.format_line_comments=false
|
||||
org.eclipse.jdt.core.formatter.comment.format_source_code=true
|
||||
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
|
||||
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
|
||||
org.eclipse.jdt.core.formatter.comment.indent_tag_description=false
|
||||
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
|
||||
org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags=do not insert
|
||||
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
|
||||
org.eclipse.jdt.core.formatter.comment.line_length=80
|
||||
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
|
||||
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
|
||||
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
|
||||
org.eclipse.jdt.core.formatter.compact_else_if=true
|
||||
org.eclipse.jdt.core.formatter.continuation_indentation=2
|
||||
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
|
||||
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
|
||||
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
|
||||
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
|
||||
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_record_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
|
||||
org.eclipse.jdt.core.formatter.indent_empty_lines=false
|
||||
org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
|
||||
org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
|
||||
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
|
||||
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
|
||||
org.eclipse.jdt.core.formatter.indentation.size=4
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_case=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_default=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_permitted_types=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_record_components=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_not_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_record_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_case=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_default=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_record_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_permitted_types=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_record_components=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_constructor=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_record_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
|
||||
org.eclipse.jdt.core.formatter.join_lines_in_comments=true
|
||||
org.eclipse.jdt.core.formatter.join_wrapped_lines=false
|
||||
org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_code_block_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_method_body_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_record_constructor_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_record_declaration_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_switch_body_block_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_switch_case_with_arrow_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line=one_line_never
|
||||
org.eclipse.jdt.core.formatter.lineSplit=120
|
||||
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
|
||||
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
|
||||
org.eclipse.jdt.core.formatter.number_of_blank_lines_after_code_block=0
|
||||
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_code_block=0
|
||||
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
|
||||
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_code_block=0
|
||||
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_method_body=0
|
||||
org.eclipse.jdt.core.formatter.number_of_blank_lines_before_code_block=0
|
||||
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_record_declaration=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines
|
||||
org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines
|
||||
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
|
||||
org.eclipse.jdt.core.formatter.tabulation.char=tab
|
||||
org.eclipse.jdt.core.formatter.tabulation.size=4
|
||||
org.eclipse.jdt.core.formatter.text_block_indentation=0
|
||||
org.eclipse.jdt.core.formatter.use_on_off_tags=false
|
||||
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
|
||||
org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_assertion_message_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
|
||||
org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_relational_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_shift_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_switch_case_arrow_operator=false
|
||||
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
|
||||
@@ -0,0 +1,7 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.debug.PREF_HCR_WITH_COMPILATION_ERRORS=true
|
||||
org.eclipse.jdt.debug.PREF_REQUEST_TIMEOUT=3000
|
||||
org.eclipse.jdt.debug.default_breakpoint_suspend_policy=2
|
||||
org.eclipse.jdt.debug.do_not_install_breakpoints_from_unrelated_sources=true
|
||||
org.eclipse.jdt.debug.suspend_for_breakpoints_during_evaluation=true
|
||||
org.eclipse.jdt.debugdefault_watchpoint_suspend_policy=0
|
||||
@@ -0,0 +1,4 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.debug.ui.javaDebug.alertHCRFailed=false
|
||||
org.eclipse.jdt.debug.ui.javaDebug.alertHCRNotSupported=false
|
||||
org.eclipse.jdt.debug.ui.prompt_unable_to_install_breakpoint=false
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
outputCodeset=UTF-8
|
||||
@@ -0,0 +1,4 @@
|
||||
commentBorder=\#4e8f00 | null | false | false | false | false
|
||||
commentText=\#4e8f00 | null | false | false | false | false
|
||||
eclipse.preferences.version=1
|
||||
tagAttributeValue=\#0080ff | null | false | false | false | false
|
||||
@@ -0,0 +1,3 @@
|
||||
PREFERENCE_RUNTIME=org.eclipse.jst.ws.axis2.creation.axis2WebServiceRT
|
||||
PREFERENCE_SERVER=org.eclipse.jst.server.tomcat.90
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,4 @@
|
||||
eclipse.m2.autoUpdateProjects=true
|
||||
eclipse.m2.defaultPomEditorPage=true
|
||||
eclipse.m2.downloadSources=true
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
mylyn.attention.migrated=true
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true
|
||||
@@ -0,0 +1,4 @@
|
||||
eclipse.preferences.version=1
|
||||
migrated.task.repositories.secure.store=true
|
||||
org.eclipse.mylyn.tasks.ui.filters.nonmatching=true
|
||||
org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true
|
||||
@@ -0,0 +1,10 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.php.core.workspaceDefaultLocale=ja_JP
|
||||
phpManualSite=PHP.net ja\u0005http\://www.php.net/manual/ja\u0005php
|
||||
phpManualSites=PHP.net ja\u0005http\://www.php.net/manual/ja\u0005php
|
||||
semanticHighlighting.org.eclipse.php.internal.ui.editor.highlighters.ConstantHighlighting.italic=false
|
||||
semanticHighlighting.org.eclipse.php.internal.ui.editor.highlighters.FunctionHighlighting.italic=false
|
||||
semanticHighlighting.org.eclipse.php.internal.ui.editor.highlighters.StaticFieldHighlighting.italic=false
|
||||
semanticHighlighting.org.eclipse.php.internal.ui.editor.highlighters.StaticMethodHighlighting.italic=false
|
||||
useAnnotationsPrefPage=true
|
||||
useQuickDiffPrefPage=true
|
||||
@@ -0,0 +1 @@
|
||||
org.eclipse.search.reuseEditor=false
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.team.ui.sychronizing_default_perspective_to_show=never
|
||||
@@ -0,0 +1,2 @@
|
||||
browser-choice=1
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,31 @@
|
||||
STS4BootMarkerIndicationColor=56,84,26
|
||||
additionIndicationInOverviewRuler=true
|
||||
eclipse.preferences.version=1
|
||||
glanceColorBackground=0,255,0
|
||||
isOccurrenceGoToNextNavigationTarget=true
|
||||
lineNumberRuler=true
|
||||
occurrenceHighlighting=false
|
||||
occurrenceIndication=true
|
||||
occurrenceIndicationColor=0,255,255
|
||||
occurrenceIndicationInVerticalRuler=true
|
||||
occurrenceTextStyle=BOX
|
||||
overviewRuler_migration=migrated_3.1
|
||||
printMargin=true
|
||||
printMarginColor=255,0,0
|
||||
printMarginColumn=120
|
||||
pydevOccurrenceHighlighting=false
|
||||
pydevOccurrenceIndication=true
|
||||
pydevOccurrenceIndicationTextStyle=BOX
|
||||
quickdiff.defaultProvider=org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider
|
||||
searchResultIndicationColor=255,255,0
|
||||
showEnclosedSpaces=false
|
||||
showLeadingSpaces=false
|
||||
showTrailingSpaces=false
|
||||
showWhitespaceCharacters=true
|
||||
spellingEnabled=false
|
||||
whitespaceCharacterAlphaValue=30
|
||||
writeOccurrenceHighlighting=false
|
||||
writeOccurrenceIndication=true
|
||||
writeOccurrenceIndicationColor=0,255,64
|
||||
writeOccurrenceIndicationInVerticalRuler=true
|
||||
writeOccurrenceTextStyle=BOX
|
||||
@@ -0,0 +1,11 @@
|
||||
EXIT_PROMPT_ON_CLOSE_LAST_WINDOW=false
|
||||
IDE_ENCODINGS_PREFERENCE=MS932'EUC-JP
|
||||
PROBLEMS_FILTERS_MIGRATE=true
|
||||
SHOW_LOCATION=true
|
||||
SWITCH_PERSPECTIVE_ON_PROJECT_CREATION=never
|
||||
WORKSPACE_NAME=
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.ui.internal.views.markers.CachedMarkerBuilderorg.eclipse.ui.views.AllMarkersView=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<filterGroups andFilters\="false" markerLimit\="100" markerLimitEnabled\="true">\r\n<filterGroup IMemento.internal.id\="USER1622682146355" enabled\="true" filterLimit\="0" name\="\u9078\u629E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8" scope\="3" workingSet\="Aggregate for window 1622529201435">\r\n<fieldFilter FILTER_ON_SEVERITY\="false" IMemento.internal.id\="org.eclipse.ui.ide.allSeverityField" containsModifier\="CONTAINS" containsText\="" selectedSeverities\="7"/>\r\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.markerType"/>\r\n</filterGroup>\r\n</filterGroups>
|
||||
platformState=1368073821761829
|
||||
quickStart=false
|
||||
tipsAndTricks=true
|
||||
@@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.ui.navigator.ProjectExplorer.activatedExtensions=org.eclipse.datatools.connectivity.internal.sybase.ase.aseSqlModelContent\=false;org.python.pydev.navigator.pythoncontent\=true;org.maven.ide.eclipse.wtp.navigatorContent\=true;de.tobject.findbugs.view.explorer.BugContentProvider\=false;org.eclipse.datatools.connectivity.apache.derby.ui.ServerExplorerContent\=false;org.eclipse.jst.jee.ui.appclient\=false;org.eclipse.jst.navigator.j2ee.ui.AppClientContent\=false;org.eclipse.jpt.jpa.ui.jpaNavigatorContent\=true;org.eclipse.php.ui.phpContent\=true;org.eclipse.ui.navigator.resourceContent\=true;org.eclipse.jst.jee.ui.ra\=false;org.eclipse.mylyn.tasks.ui.navigator.Repositories\=false;zipeditor.navigatorContent\=false;org.eclipse.datatools.connectivity.db.sqlModelContent\=false;org.eclipse.egit.ui.RepositoriesViewContent\=false;org.eclipse.jdt.java.ui.javaContent\=false;org.eclipse.remote.ui.navigatorContent.connections\=false;org.eclipse.jst.servlet.ui.EnhancedJavaRendering\=false;org.eclipse.mylyn.commons.repositories.ui.navigator.RepositoryCategories\=false;org.eclipse.mylyn.debug.ui.breakpointsRootContent\=false;org.eclipse.datatools.enablement.sybase.asa.asaSqlModelContent\=false;org.eclipse.jst.navigator.j2ee.ui.EJBDDContent\=false;org.eclipse.jpt.jaxb.ui.jaxbNavigatorContent\=true;org.eclipse.egit.ui.changeSetContent\=false;org.eclipse.wst.common.frameworks.internal.navigator.webservice\=false;org.eclipse.team.svn.ui.changeSetContent\=false;org.eclipse.jst.jee.ui.web\=false;org.eclipse.datatools.connectivity.dsexplorer.content.extended\=false;org.eclipse.jst.jee.ui.ear\=false;org.eclipse.datatools.connectivity.repositoryContent\=false;org.eclipse.ui.navigator.resources.workingSets\=true;org.eclipse.team.ui.resourceContent\=false;org.eclipse.ui.navigator.resources.nested.nestedProjectContentProvider\=false;org.eclipse.jst.jee.ui.ejb\=false;org.eclipse.datatools.enablement.ingres.IngresSqlModelContent\=false;org.eclipse.jst.navigator.j2ee.ui.ConnectorDDContent\=false;org.eclipse.wst.server.ui.ServersView.content.root\=false;org.eclipse.jdt.ui.javaModelContent\=false;com.genuitec.eclipse.myeclipsebreadcrumbcontentprovider\=false;org.eclipse.cdt.make.ui.makeTargets.content\=true;org.eclipse.linuxtools.docker.ui.dockerExplorerViewContent\=false;org.eclipse.datatools.connectivity.dsexplorer.content\=false;org.eclipse.cdt.ui.navigator.content\=true;org.eclipse.jst.navigator.j2ee.ui.WebDDContent\=false;org.eclipse.linuxtools.docker.ui.dockerImageHierarchyContent\=false;org.eclipse.jst.navigator.j2ee.ui.jaxws\=true;org.eclipse.jst.navigator.j2ee.ui.EARDDContent\=false;org.eclipse.linuxtools.tmf.ui.navigator.content\=true;org.eclipse.team.ui.patchSyncNavigatorContent\=false;org.eclipse.lsp4e.outline.content\=false;
|
||||
org.eclipse.ui.navigator.ProjectExplorer.filterActivation=\:org.eclipse.ui.navigator.resources.nested.HideTopLevelProjectIfNested\:org.eclipse.ui.navigator.resources.nested.HideFolderWhenProjectIsShownAsNested\:
|
||||
@@ -0,0 +1,5 @@
|
||||
ENABLE_ANIMATIONS=false
|
||||
SHOW_MEMORY_MONITOR=true
|
||||
SHOW_TEXT_ON_PERSPECTIVE_BAR=false
|
||||
eclipse.preferences.version=1
|
||||
showIntro=false
|
||||
@@ -0,0 +1 @@
|
||||
show_filter_text=false
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.wildwebdeveloper.xml.validation.enabled=false
|
||||
@@ -0,0 +1,7 @@
|
||||
CLASS=\#3f7f7f | null | false | false | false | false
|
||||
ID=\#3f7f7f | null | false | false | false | false
|
||||
PROPERTY_VALUE=\#8080ff | null | false | false | false | false
|
||||
PSEUDO=\#3f7f7f | null | false | false | false | false
|
||||
STRING=\#2a00e1 | null | false | false | false | false
|
||||
URI=\#2a00e1 | null | false | false | false | false
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,2 @@
|
||||
dtdString=\#3f9f5f | null | false | false | false | false
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
elementNamesToIgnore=router-view
|
||||
ignoreElementNames=true
|
||||
@@ -0,0 +1,5 @@
|
||||
commentBorder=\#4e8f00 | null | false | false | false | false
|
||||
commentText=\#4e8f00 | null | false | false | false | false
|
||||
eclipse.preferences.version=1
|
||||
elementNamesToIgnore=router-view
|
||||
tagAttributeValue=\#0080ff | null | false | false | false | false
|
||||
@@ -0,0 +1,16 @@
|
||||
eclipse.preferences.version=1
|
||||
fontPropagated=true
|
||||
org.eclipse.jface.textfont=1|Yu Gothic UI|9.0|0|WINDOWS|1|-12|0|0|0|400|0|0|0|1|0|0|0|0|Yu Gothic UI;
|
||||
org.eclipse.wst.jsdt.ui.editor.tab.width=
|
||||
org.eclipse.wst.jsdt.ui.formatterprofiles.version=11
|
||||
org.eclipse.wst.jsdt.ui.javadoclocations.migrated=true
|
||||
proposalOrderMigrated=true
|
||||
semanticHighlighting.localVariable.color=255,0,255
|
||||
semanticHighlighting.localVariable.enabled=true
|
||||
semanticHighlighting.localVariableDeclaration.color=255,0,255
|
||||
semanticHighlighting.localVariableDeclaration.enabled=true
|
||||
semanticHighlighting.parameterVariable.color=255,0,0
|
||||
semanticHighlighting.parameterVariable.enabled=true
|
||||
tabWidthPropagated=true
|
||||
useAnnotationsPrefPage=true
|
||||
useQuickDiffPrefPage=true
|
||||
@@ -0,0 +1,2 @@
|
||||
VALUE_STRING=\#2a00ff | null | false | false | false | false
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,14 @@
|
||||
DELEGATES_PREFERENCE=delegateValidatorList
|
||||
USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.j2ee.internal.jca.validation.UIConnectorValidator;org.eclipse.jst.j2ee.internal.validation.UIEarValidator;org.eclipse.jst.j2ee.internal.validation.UIApplicationClientValidator;org.eclipse.jst.j2ee.internal.ejb.workbench.validation.UIEjbValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;
|
||||
USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.jst.j2ee.internal.jca.validation.UIConnectorValidator;org.eclipse.jst.j2ee.internal.validation.UIEarValidator;org.eclipse.jst.j2ee.internal.validation.UIApplicationClientValidator;org.eclipse.jst.j2ee.internal.ejb.workbench.validation.UIEjbValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;
|
||||
USER_PREFERENCE=saveAutomaticallyfalseprojectsCanOverridetruedisableAllValidationfalseversion1.2.801.v202007142017
|
||||
confirmDialog=false
|
||||
eclipse.preferences.version=1
|
||||
override=true
|
||||
saveAuto=false
|
||||
stateTS=0
|
||||
suspend=false
|
||||
vals/org.eclipse.jst.jsp.core.JSPBatchValidator/global=FF01
|
||||
vals/org.eclipse.jst.jsp.core.JSPContentValidator/global=FF01
|
||||
vals/org.eclipse.wst.json.core.json/global=FF03
|
||||
vf.version=3
|
||||
@@ -0,0 +1,3 @@
|
||||
commentText=\#658f30 | null | false | false | false | false
|
||||
eclipse.preferences.version=1
|
||||
tagAttributeValue=\#0080ff | null | false | false | false | false
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
xsltagAttributeValue=\#0080ff | null | false | false | false | false
|
||||
@@ -0,0 +1,9 @@
|
||||
eclipse.preferences.version=1
|
||||
jd.ide.eclipse.prefs.DisplayLineNumbers=true
|
||||
jd.ide.eclipse.prefs.DisplayMetadata=true
|
||||
jd.ide.eclipse.prefs.RealignLineNumbers=true
|
||||
jd.ide.eclipse.prefs.ShowLineNumbers=true
|
||||
jd.ide.eclipse.prefs.ShowMetadata=true
|
||||
org.sf.feeling.decompiler.check_update=false
|
||||
org.sf.feeling.decompiler.type=Vineflower
|
||||
org.sf.feeling.decompiler.use_eclipse_formatter=false
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
ignoreNotificationsAboutEnhancedFeatures=true
|
||||
@@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
toggle-filters\:enableRegexFilter=false
|
||||
toggle-filters\:hide.not-runnable-apps=true
|
||||
@@ -0,0 +1,14 @@
|
||||
eclipse.preferences.version=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.data-jdbc=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.data-jpa=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.devtools=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.h2=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.lombok=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.mysql=1
|
||||
#org.springframework.ide.eclipse.boot.wizard.PopularityTracker.security=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.thymeleaf=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.validation=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PopularityTracker.web=1
|
||||
org.springframework.ide.eclipse.boot.wizard.PreferredSelections.dependencies=devtools lombok web
|
||||
org.springframework.ide.eclipse.boot.wizard.PreferredSelections.javaVersion=21
|
||||
org.springframework.ide.eclipse.boot.wizard.PreferredSelections.type=GRADLE
|
||||
@@ -0,0 +1,2 @@
|
||||
boot-java.rewrite.reconcile=true
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,3 @@
|
||||
baseTypeId=org.eclipse.core.runtime.text
|
||||
eclipse.preferences.version=1
|
||||
name=Windows \u30D0\u30C3\u30C1\u30FB\u30D5\u30A1\u30A4\u30EB
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
userDefined=userCreated_bat
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>.org.eclipse.egit.core.cmp</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="AvailableIUsPage">
|
||||
<item key="HideInstalledContent" value="false"/>
|
||||
<item key="FilterOnEnv" value="true"/>
|
||||
</section>
|
||||
</section>
|
||||
Binary file not shown.
43
.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
Normal file
43
.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<item key="org.eclipse.jdt.ui.last.selected.create.moduleinfo" value="false"/>
|
||||
<item key="org.eclipse.jdt.ui.last.selected.jre.kind2" value="2"/>
|
||||
<item key="org.eclipse.jdt.ui.last.selected.execution.enviroment" value="JavaSE-21"/>
|
||||
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
|
||||
<item key="layout" value="1"/>
|
||||
<item key="group_libraries" value="true"/>
|
||||
<item key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<packageExplorer group_libraries="1" layout="1" linkWithEditor="0" rootMode="1" workingSetName="Aggregate for window 1788848906658">
<customFilters userDefinedPatternsEnabled="true">
<userDefinedPatterns>
<child pattern="Servers"/>
<child pattern="RemoteSystemsTempFiles"/>
<child pattern="*.iml"/>
<child pattern="bin"/>
</userDefinedPatterns>
<xmlDefinedFilters>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.StaticsFilter" isEnabled="false"/>
<child filterId="org.eclipse.buildship.ui.packageexplorer.filter.gradle.buildfolder" isEnabled="true"/>
<child filterId="org.eclipse.mylyn.java.ui.MembersFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter" isEnabled="true"/>
<child filterId="org.eclipse.m2e.MavenModuleFilter" isEnabled="false"/>
<child filterId="org.eclipse.buildship.ui.packageexplorer.filter.gradle.subProject" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.FieldsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.DeprecatedMembersFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.decompiler*" isEnabled="true"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter" isEnabled="false"/>
</xmlDefinedFilters>
</customFilters>
</packageExplorer>"/>
|
||||
<item key="rootMode" value="1"/>
|
||||
<item key="linkWithEditor" value="false"/>
|
||||
</section>
|
||||
<section name="javadoc">
|
||||
<item key="additionalparam" value="-encoding UTF-8
-charset UTF-8"/>
|
||||
</section>
|
||||
<section name="JavaProjectWizard.dialogBounds">
|
||||
<item key="DIALOG_X_ORIGIN" value="140"/>
|
||||
<item key="DIALOG_Y_ORIGIN" value="-148"/>
|
||||
<item key="DIALOG_WIDTH" value="744"/>
|
||||
<item key="DIALOG_HEIGHT" value="799"/>
|
||||
<item key="DIALOG_FONT_NAME" value="1|Yu Gothic UI|9.0|0|WINDOWS|1|-12|0|0|0|400|0|0|0|1|0|0|0|0|Yu Gothic UI"/>
|
||||
</section>
|
||||
<section name="JavaElementSearchActions">
|
||||
</section>
|
||||
<section name="NewClassCreationWizard.dialogBounds">
|
||||
<item key="DIALOG_X_ORIGIN" value="180"/>
|
||||
<item key="DIALOG_Y_ORIGIN" value="-55"/>
|
||||
<item key="DIALOG_WIDTH" value="664"/>
|
||||
<item key="DIALOG_HEIGHT" value="659"/>
|
||||
<item key="DIALOG_FONT_NAME" value="1|Yu Gothic UI|9.0|0|WINDOWS|1|-12|0|0|0|400|0|0|0|1|0|0|0|0|Yu Gothic UI"/>
|
||||
</section>
|
||||
<section name="OptionalMessageDialog.hide.">
|
||||
<item key="org.eclipse.jdt.ui.typecomment.deprecated" value="true"/>
|
||||
</section>
|
||||
<section name="NewClassWizardPage">
|
||||
<item key="create_constructor" value="false"/>
|
||||
<item key="create_unimplemented" value="true"/>
|
||||
</section>
|
||||
<section name="completion_proposal_size">
|
||||
</section>
|
||||
<section name="quick_assist_proposal_size">
|
||||
</section>
|
||||
</section>
|
||||
BIN
.metadata/.plugins/org.eclipse.m2e.core/workspaceState.ser
Normal file
BIN
.metadata/.plugins/org.eclipse.m2e.core/workspaceState.ser
Normal file
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
<configuration scan="true">
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
|
||||
</encoder>
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>${org.eclipse.m2e.log.console.threshold:-OFF}</level> <!-- change to DEBUG to mimic '-consolelog' behaviour -->
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<File>${org.eclipse.m2e.log.dir}/0.log</File>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
|
||||
<FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
|
||||
<MinIndex>1</MinIndex>
|
||||
<MaxIndex>10</MaxIndex>
|
||||
</rollingPolicy>
|
||||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
||||
<MaxFileSize>10MB</MaxFileSize>
|
||||
</triggeringPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>WARN</level>
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
|
||||
</appender>
|
||||
|
||||
<root level="INFO">
|
||||
<appender-ref ref="FILE" />
|
||||
<appender-ref ref="STDOUT" />
|
||||
<appender-ref ref="EclipseLog" />
|
||||
<appender-ref ref="MavenConsoleLog" />
|
||||
</root>
|
||||
</configuration>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="SearchDialog">
|
||||
<item value="true" key="IS_OPEN_PREVIOUS_PAGE"/>
|
||||
<item value="org.eclipse.rse.internal.files.ui.search.searchPage" key="PREVIOUS_PAGE"/>
|
||||
</section>
|
||||
</section>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<workingSetManager>
|
||||
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1788848898358_0" label="Java メイン・ソース" name="Java Main Sources"/>
|
||||
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1788848898384_1" label="Java テスト・ソース" name="Java Test Sources"/>
|
||||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1788848906658_2" label="ウィンドウ・ワーキング・セット" name="Aggregate for window 1788848906658"/>
|
||||
</workingSetManager>
|
||||
Binary file not shown.
3
.metadata/version.ini
Normal file
3
.metadata/version.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Sep 08 15:50:07 JST 2026
|
||||
org.eclipse.core.runtime=2
|
||||
org.eclipse.platform=4.37.0.v20250905-0730
|
||||
10
StringCheck/.classpath
Normal file
10
StringCheck/.classpath
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
|
||||
<attributes>
|
||||
<attribute name="module" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
1
StringCheck/.gitignore
vendored
Normal file
1
StringCheck/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/bin/
|
||||
17
StringCheck/.project
Normal file
17
StringCheck/.project
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>StringCheck</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
2
StringCheck/.settings/org.eclipse.core.resources.prefs
Normal file
2
StringCheck/.settings/org.eclipse.core.resources.prefs
Normal file
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
||||
11
StringCheck/.settings/org.eclipse.jdt.core.prefs
Normal file
11
StringCheck/.settings/org.eclipse.jdt.core.prefs
Normal file
@@ -0,0 +1,11 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=21
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
|
||||
org.eclipse.jdt.core.compiler.release=enabled
|
||||
org.eclipse.jdt.core.compiler.source=21
|
||||
39
StringCheck/src/StringCheck.java
Normal file
39
StringCheck/src/StringCheck.java
Normal file
@@ -0,0 +1,39 @@
|
||||
import java.util.Scanner;
|
||||
|
||||
public class StringCheck {
|
||||
public static void main(String[] args) {
|
||||
String[] defaultMessage = {
|
||||
"いまなにしてる?", "何も入力されていません",
|
||||
"投稿文が長すぎます", "↓↓↓↓↓↓ 投稿されました ↓↓↓↓↓↓"
|
||||
};
|
||||
|
||||
// for (String mes : defaultMessage) {
|
||||
// System.out.println(mes);
|
||||
// }
|
||||
|
||||
//スキャナーの準備
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
String str;
|
||||
while (true) {
|
||||
System.out.println(defaultMessage[0]);//いまなにしてる?
|
||||
// 入力処理を行う
|
||||
str = scanner.nextLine().strip();
|
||||
//空文字なら
|
||||
if (str.length() == 0) {
|
||||
System.out.println(defaultMessage[1]);
|
||||
continue;
|
||||
}
|
||||
//文字数が超過していたら
|
||||
if (str.length() > 140) {
|
||||
System.out.println(defaultMessage[2]);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
scanner.close();
|
||||
System.out.println("");
|
||||
System.out.println(defaultMessage[3]);
|
||||
System.out.println(str);
|
||||
|
||||
}
|
||||
}
|
||||
132
StringCheck/src/day3/StringCheck.java
Normal file
132
StringCheck/src/day3/StringCheck.java
Normal file
@@ -0,0 +1,132 @@
|
||||
package day3;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
/*
|
||||
* StringCheck.java
|
||||
* ------------------------------------------------------------
|
||||
* 【1日目・2日目終了時点のプログラム】
|
||||
*
|
||||
* これは、3日目ミッション「段階1〜3(メソッドへの切り出し)」の
|
||||
* 出発点として使う、リファクタリング前のベースコードです。
|
||||
*
|
||||
* 3日目の段階1〜3では、このファイルの「動作(画面の表示内容)」は
|
||||
* 一切変えずに、コードの「構造」だけを inputString() / setUpLogger()
|
||||
* という別メソッドに整理し直していきます。
|
||||
* これが実務でいう「リファクタリング(外から見た動きを変えずに、
|
||||
* 中身の構造を整理すること)」です。
|
||||
*
|
||||
* この時点では、まだ次のことを行っていません(後日のミッションで扱います)。
|
||||
* ・main以外のメソッドへの切り出し
|
||||
* ・ログ出力(Logger)の実装
|
||||
* ・例外処理(try-catch)
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
public class StringCheck {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
// ============================================================
|
||||
// 1日目 段階1:画面に表示する文言を、あらかじめ配列にまとめておく
|
||||
// ============================================================
|
||||
// 何度も使う固定の文言は、1つずつバラバラに書くのではなく、
|
||||
// 配列にまとめておくと管理しやすい。
|
||||
// messages[0] … 入力を促すプロンプト
|
||||
// messages[1] … 未入力(または空白のみ)のときのエラーメッセージ
|
||||
// messages[2] … 文字数が多すぎるときのエラーメッセージ
|
||||
// messages[3] … 投稿が成功したときに表示するバナー
|
||||
String[] messages = {
|
||||
"いまなにしてる?",
|
||||
"何も入力されていません",
|
||||
"投稿文が長すぎます",
|
||||
"↓↓↓↓↓↓ 投稿されました ↓↓↓↓↓↓"
|
||||
};
|
||||
|
||||
// ============================================================
|
||||
// 2日目 段階1:標準入力を読み取る準備をする
|
||||
// ============================================================
|
||||
// Scanner は、キーボードからの入力(標準入力)を読み取るためのクラス。
|
||||
// ループの中で毎回新しく作るのではなく、ループの外で1回だけ用意して
|
||||
// 使い回す。
|
||||
|
||||
// 投稿内容(前後の空白を除去したあとの文字列)を保持する変数。
|
||||
// while文を抜けたあとでも使うので、while文の外で宣言しておく。
|
||||
String str = "";
|
||||
|
||||
// ============================================================
|
||||
// 2日目 段階1:while(true) で「正しい入力が得られるまで繰り返す」
|
||||
// ============================================================
|
||||
// 何回繰り返すかがあらかじめ決まっていないので、while(true) の
|
||||
// 無限ループにして、条件を満たしたときに break でループを抜ける
|
||||
// 作りにする。
|
||||
while (true) {
|
||||
|
||||
// ---- 1日目 段階3:プロンプトの表示 ----
|
||||
// 配列の0番目に入れておいたプロンプト文言を表示する。
|
||||
System.out.println(messages[0]);
|
||||
|
||||
// ---- 1日目 段階2:標準入力の読み込みと空白除去 ----
|
||||
// キーボードから1行分の文字列を読み取る。
|
||||
//inputString()メソッド
|
||||
|
||||
// 読み取った文字列の前後にある空白文字(半角スペース・全角スペース
|
||||
// など)を取り除き、str に格納する。
|
||||
str = inputString();
|
||||
// ---- 1日目 段階3:比較演算子で真偽値を求める ----
|
||||
// 1日目の時点ではif文がまだ使えなかったため、この2つの真偽値は
|
||||
// 画面に表示して目視確認するだけだった。
|
||||
// 2日目からは、この真偽値をそのままif文の条件として使う。
|
||||
// 3日目からは、各メソッドに移行
|
||||
|
||||
// ============================================================
|
||||
// 2日目 段階2:if文による検証ロジック
|
||||
// ============================================================
|
||||
if (isEmptyInput(str)) {
|
||||
// 何も入力されていない(または空白のみ入力された)場合
|
||||
System.out.println(messages[1]);
|
||||
// continue で、while文の先頭(プロンプト表示)に戻り、
|
||||
// もう一度入力をやり直してもらう。
|
||||
continue;
|
||||
}
|
||||
|
||||
//デフォルト最大140字、第二引数での指定可
|
||||
if (isTooLongInput(str)) {
|
||||
// 141文字以上入力された場合
|
||||
System.out.println(messages[2]);
|
||||
// continue で、while文の先頭に戻る。
|
||||
continue;
|
||||
}
|
||||
|
||||
// ここまで到達したということは、
|
||||
// 「空文字でもなく、文字数超過でもない」=正しい入力が得られた
|
||||
// ということなので、break でループを抜ける。
|
||||
break;
|
||||
}
|
||||
|
||||
// ============================================================
|
||||
// 1日目 段階3:投稿完了処理(検証をクリアしたあとの表示)
|
||||
// ============================================================
|
||||
// 空行を1行はさんでから、投稿完了バナーと投稿内容を表示する。
|
||||
System.out.println();
|
||||
System.out.println(messages[3]);
|
||||
System.out.println(str);
|
||||
}
|
||||
|
||||
public static String inputString() {
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
String line = scanner.nextLine().strip();
|
||||
return line;
|
||||
}
|
||||
|
||||
public static boolean isEmptyInput(String input) {
|
||||
return input.length() == 0;
|
||||
}
|
||||
|
||||
public static boolean isTooLongInput(String input) {
|
||||
return isTooLongInput(input, 140);
|
||||
}
|
||||
|
||||
public static boolean isTooLongInput(String input, int max) {
|
||||
return input.length() > max;
|
||||
}
|
||||
}
|
||||
216
doc/ミッション/2日目_実装ミッション指示書.md
Normal file
216
doc/ミッション/2日目_実装ミッション指示書.md
Normal file
@@ -0,0 +1,216 @@
|
||||
# 2日目 実装ミッション指示書
|
||||
|
||||
## この指示書について
|
||||
|
||||
このミッションは、「StringCheck 詳細設計書」の完成を目指す実装課題の2日目です。1日目に作った「検証なしの正常系のみ」の `StringCheck.java` に、今日習う制御構文(ループ・条件分岐)を組み込み、仕様どおりに動く状態まで完成させます。
|
||||
|
||||
今日からは、1日目と異なり **6段階構成**(1〜3:必須実装、4〜6:発展課題)でミッションを進めます。4〜6は、講義や設計書にそのまま答えが書かれていない内容を、自分で試し・調べ・考えて取り組む課題です。
|
||||
|
||||
### 今日はまだ次のことを習っていません。使わないでください。
|
||||
|
||||
- 独自のメソッドを定義すること(`inputString()` や `setUpLogger()` などへの切り出しはまだ行いません)
|
||||
- 例外処理(`try` / `catch`)、ログ出力(`Logger`)の実際の実装
|
||||
- コレクション(`ArrayList` など)
|
||||
|
||||
### 今日使ってよいもの
|
||||
|
||||
- 1日目までに習った内容(基本データ型、算術・比較・論理演算子、配列)
|
||||
- `for` 文/`while` 文/拡張for文(for-each)
|
||||
- `if` 文/`switch` 文(従来型・switch式)、三項演算子
|
||||
- 読みやすいコードを書くための考え方(早期リターン、ネスト削減、境界値の意識)
|
||||
|
||||
すべての処理は、引き続き `main` メソッド1本の中に書き並べてください。メソッドへの切り出しは、メソッドの定義方法を習った後日のミッションで行います。
|
||||
|
||||
## 開発環境について(Eclipse・前回のおさらい)
|
||||
|
||||
- コンパイルエラーの確認:エディタおよびPackage Explorer上に赤いエラーマーカーが表示されていないこと。
|
||||
- 実行方法:エディタ上で右クリック →「実行(Run As)」→「Java アプリケーション(Java Application)」。
|
||||
- 入力の方法:実行後、画面下部の **[コンソール](Console)** をクリックしてから文字を入力し、Enterキーを押す。
|
||||
|
||||
## 今日のゴール
|
||||
|
||||
1日目のプログラムに検証ロジックを組み込み、次のように「正しい入力が得られるまで何度でも聞き直す」動作を完成させます。
|
||||
|
||||
```
|
||||
いまなにしてる?
|
||||
|
||||
何も入力されていません
|
||||
いまなにしてる?
|
||||
(141文字以上の文章)
|
||||
投稿文が長すぎます
|
||||
いまなにしてる?
|
||||
ラーメンを食べています
|
||||
|
||||
↓↓↓↓↓↓ 投稿されました ↓↓↓↓↓↓
|
||||
ラーメンを食べています
|
||||
```
|
||||
|
||||
## 進め方(6段階)
|
||||
|
||||
### 段階1(必須):ループ構文のウォームアップと、正常系フローのループ化
|
||||
|
||||
1. **for-each練習:** 1日目に用意したメッセージの `String` 配列を、拡張for文(for-each)を使って1件ずつ画面に出力してみてください(動作確認用のミニ演習です。最終的な提出コードに残すかどうかは任意です)。
|
||||
2. **無限ループ化:** `while (true)` を使い、1日目に実装した「正常系のみ」の一連の流れ(プロンプト表示 → 読み込み → 投稿完了表示)全体を無限ループで包んでください。まだ `if` 文は書かず、常に投稿が成功する状態のまま、実行するたびに何度でも投稿を繰り返せる状態にします。
|
||||
|
||||
**この段階の完了確認**
|
||||
|
||||
- Eclipseで実行し、投稿が成功した後も処理が終了せず、再び「いまなにしてる?」が表示され続けること(終了条件はまだ無いので、確認できたら停止して構いません)。
|
||||
|
||||
### 段階2(必須):if文による検証ロジックの実装
|
||||
|
||||
1日目に `str` の文字数をもとに算出していた2つの真偽値(空文字判定・文字数超過判定)を使い、`if` 文で次の分岐を実装してください。
|
||||
|
||||
- **空文字判定が true の場合:** 「何も入力されていません」を表示し、`continue` でループの先頭(プロンプト表示)に戻る。
|
||||
- **文字数超過判定が true の場合:** 「投稿文が長すぎます」を表示し、`continue` でループの先頭に戻る。
|
||||
- **どちらでもない場合:** `break` でループを抜け、投稿完了処理(空行→バナー→内容表示)に進む。
|
||||
|
||||
> ログ出力(`logger` の呼び出し)は今回はまだ実装しません。例外処理とあわせて別日に扱います。
|
||||
|
||||
**この段階の完了確認**
|
||||
|
||||
- 詳細設計書「9.1 メイン処理」のフローチャート、および「10. 疑似コード」の `main` 部分と同じ分岐構造になっていること。
|
||||
|
||||
### 段階3(必須):全テストケースでの動作確認
|
||||
|
||||
詳細設計書「11. テストケース一覧」の次の9パターンすべてを、実際にEclipseで実行して確認してください。
|
||||
|
||||
| No | 入力内容 | 期待される画面表示 |
|
||||
|---|---|---|
|
||||
| 1 | 「ラーメンを食べています」(1〜140文字の通常の文章) | 投稿完了メッセージとともに投稿内容が表示される |
|
||||
| 2 | 何も入力せずEnterのみ | 「何も入力されていません」→再度入力待ち |
|
||||
| 3 | 半角スペースのみ(例:`" "`) | 「何も入力されていません」→再度入力待ち |
|
||||
| 4 | 全角スペースのみ(例:`" "`) | 「何も入力されていません」→再度入力待ち |
|
||||
| 5 | ちょうど140文字の文章 | 投稿が成功する(境界値) |
|
||||
| 6 | 141文字の文章 | 「投稿文が長すぎます」→再度入力待ち |
|
||||
| 7 | 大幅に140文字を超える文章 | 「投稿文が長すぎます」→再度入力待ち |
|
||||
| 8 | 両端に半角・全角スペースが付いた通常の文章(例:`" 今日は晴れ "`) | 両端の空白が除去され「今日は晴れ」として投稿される |
|
||||
| 9 | 不正入力(未入力・長すぎ)を数回続けた後、正しい文章を入力 | 都度エラーメッセージが表示された後、最終的に投稿が成功する |
|
||||
|
||||
**この段階の完了確認**
|
||||
|
||||
- 上記9パターンすべてで「期待される画面表示」どおりの動作になること。
|
||||
|
||||
---
|
||||
|
||||
ここまでで、詳細設計書が要求する画面上の動作は一通り完成します。ここから先(段階4〜6)は、答えが1つに決まらない発展課題です。
|
||||
|
||||
### 段階4(発展):早期リターン・ネスト削減によるリファクタリング
|
||||
|
||||
講義で扱った「早期リターン」「ネスト削減」の考え方を使い、段階2で書いた `if` 文の構造を見直してください。**挙動を変えないこと**(段階3の9パターンが書き換え後も全て同じ結果になることを必ず確認する)を条件に、コードをより読みやすい形に書き直してください。
|
||||
|
||||
- ふりかえりシートに、書き直す前後のコードと、なぜその形の方が読みやすいと考えたかを記載してください。
|
||||
|
||||
### 段階5(発展):三項演算子・switch式との比較検討
|
||||
|
||||
段階2で実装したロジックのうち、どこか1箇所を三項演算子または switch式 を使って書き換えてみてください(すべてを書き換える必要はありません)。
|
||||
|
||||
- 書き換えてみたうえで、「`if` 文のままの方が良い」「三項演算子/switch式にした方が良い」のどちらだと考えるか、理由とともにふりかえりシートに記載してください。この課題に正解はありません。実際に自分の手で試し、判断することが目的です。
|
||||
|
||||
### 段階6(発展):境界値・追加エッジケースの調査
|
||||
|
||||
詳細設計書「11. テストケース一覧」に載っていない入力パターンを、自分で最低3つ考えて実際に試してください。
|
||||
|
||||
- ヒント例:半角スペースと全角スペースが混在した「空白のみ」の入力、1文字だけの入力、140文字ちょうど/141文字ちょうどの境目をさらに細かく複数パターン試す、タブ文字を含む入力、など
|
||||
- 試した入力内容と実際の結果を、ふりかえりシートに記録してください。想定と異なる挙動があった場合は、その原因を自分で調査し、わかったことを記載してください。
|
||||
|
||||
## 提出物
|
||||
|
||||
- 更新した `StringCheck.java`
|
||||
- 実装ふりかえりシート(次の項目を記載)
|
||||
|
||||
以下に各項目の記載例を示します。**あくまで「どのくらいの粒度で、どんな書き方をすればよいか」を示すための別課題の例**であり、StringCheck.javaの答えではありません。段階4・5・6は、この例を参考にしつつ、必ず自分の実装・自分で考えた内容を記載してください。
|
||||
|
||||
### 完了した段階
|
||||
|
||||
**記載例**
|
||||
|
||||
```
|
||||
完了した段階:1〜6(すべて完了)
|
||||
```
|
||||
|
||||
```
|
||||
完了した段階:1〜3は完了。4〜6は時間の都合で段階4のみ着手、5・6は未着手。
|
||||
```
|
||||
|
||||
### 段階4:リファクタリング前後のコードと、その理由
|
||||
|
||||
**記載例(「点数から合格・不合格を判定する」別課題での例)**
|
||||
|
||||
書き直す前(ネストが深い):
|
||||
|
||||
```java
|
||||
if (score >= 0) {
|
||||
if (score <= 100) {
|
||||
if (score >= 60) {
|
||||
System.out.println("合格");
|
||||
} else {
|
||||
System.out.println("不合格");
|
||||
}
|
||||
} else {
|
||||
System.out.println("不正な値です");
|
||||
}
|
||||
} else {
|
||||
System.out.println("不正な値です");
|
||||
}
|
||||
```
|
||||
|
||||
書き直した後(早期リターンでネストを減らす):
|
||||
|
||||
```java
|
||||
if (score < 0 || score > 100) {
|
||||
System.out.println("不正な値です");
|
||||
return;
|
||||
}
|
||||
if (score < 60) {
|
||||
System.out.println("不合格");
|
||||
return;
|
||||
}
|
||||
System.out.println("合格");
|
||||
```
|
||||
|
||||
理由:「異常な値である」という一番外側の条件を先に弾いてしまうことで、本来知りたい「合格か不合格か」という分岐だけが手前に残り、ネストが浅くなって読みやすくなったため。
|
||||
|
||||
> 実際の提出では、上のコード例ではなく、**あなた自身がStringCheck.javaの検証ロジックに対して行った**書き直し前後のコードと理由を記載してください。
|
||||
|
||||
### 段階5:試した書き換え内容と、どちらが良いと考えたか・その理由
|
||||
|
||||
**記載例(同じく「点数判定」での例)**
|
||||
|
||||
if文で書いた場合:
|
||||
|
||||
```java
|
||||
String result;
|
||||
if (score >= 60) {
|
||||
result = "合格";
|
||||
} else {
|
||||
result = "不合格";
|
||||
}
|
||||
```
|
||||
|
||||
三項演算子で書き換えた場合:
|
||||
|
||||
```java
|
||||
String result = (score >= 60) ? "合格" : "不合格";
|
||||
```
|
||||
|
||||
結論と理由:単純に2択の値を1つの変数に代入するだけなら、三項演算子の方が1行で完結し読みやすいと感じた。ただし、分岐の中でログ出力や複数の処理を行う必要がある場合は、三項演算子では書けない(値を返すことしかできない)ため、その場合はif文の方が適していると考えた。
|
||||
|
||||
> 実際の提出では、**あなたがStringCheck.javaのどの部分をどう書き換えてみたか**、そのうえでどちらが良いと感じたか・理由を記載してください。
|
||||
|
||||
### 段階6:自分で考えた追加テストケースの内容・結果・気づいたこと
|
||||
|
||||
**記載形式の例**
|
||||
|
||||
| 入力内容 | 実行結果 | 気づいたこと |
|
||||
|---|---|---|
|
||||
| (例・すでに公開されているテストケース5)ちょうど140文字の文章 | 投稿が成功した | 境界値ちょうどのケースは想定通り成功した |
|
||||
| ここに自分で考えた1つ目の入力を書く | 実際に実行して観察した画面表示を書く | 期待通りだったか、意外な挙動はあったかを書く |
|
||||
| ここに自分で考えた2つ目の入力を書く | | |
|
||||
| ここに自分で考えた3つ目の入力を書く | | |
|
||||
|
||||
> 表の1行目は記載形式を示すための例(すでに公開されているテストケースの再掲)です。**あなた自身で新たに考えた入力パターンを、最低3行(3パターン)追加**してください。想定と異なる挙動があった場合は、原因を自分で調査し、わかったことも書き添えてください。
|
||||
|
||||
## 今日は実装しないこと(別日に扱います)
|
||||
|
||||
- `inputString()` や `setUpLogger()` のような独立したメソッドへの切り出し
|
||||
- ログ出力(`Logger` によるファイル出力)の実際の実装
|
||||
125
doc/ミッション/3日目_実装ミッション指示書.md
Normal file
125
doc/ミッション/3日目_実装ミッション指示書.md
Normal file
@@ -0,0 +1,125 @@
|
||||
# 3日目 実装ミッション指示書
|
||||
|
||||
## この指示書について
|
||||
|
||||
このミッションは、「StringCheck 詳細設計書」の完成を目指す実装課題の3日目です。1日目・2日目で `main` メソッド1本の中に書き並べてきた処理の一部を、今日習う「メソッド」の知識を使って、別のメソッドに整理し直します。
|
||||
|
||||
**重要:** 段階1〜3で変えるのは「コードの整理のしかた」だけです。画面の表示内容・動作は、1日目・2日目までに完成させたものから**一切変えません**。これは実務でいう「リファクタリング(外から見た動きを変えずに、中身の構造を整理すること)」にあたります。
|
||||
|
||||
今日新しく作るメソッドは、すべて `main` と同じ `public static` を付けます(`main` の書き方をそのまま真似て作る、と考えてください)。
|
||||
|
||||
### 今日はまだ次のことを習っていません(段階1〜5では使わないでください。段階6のみ例外です)
|
||||
|
||||
- 例外処理(`try` / `catch`)※段階6でのみ、自分で調べて使用します
|
||||
- コレクション(`ArrayList` など)
|
||||
- オブジェクト指向(インスタンス、クラスからオブジェクトを作ること)
|
||||
- ログ出力(`Logger`)※今日のミッションでは扱いません。別日のミッションで扱います
|
||||
|
||||
### 今日使ってよいもの
|
||||
|
||||
- 1日目・2日目までに習った内容(基本データ型、演算子、配列、`for`/`while`、`if`/`switch`、三項演算子)
|
||||
- メソッドの定義(`public static`、戻り値の型、引数、オーバーロード)
|
||||
- 1メソッド1責務の考え方、処理内容が伝わる命名
|
||||
|
||||
## 開発環境について(Eclipse・前回のおさらい)
|
||||
|
||||
- コンパイルエラーの確認:エディタおよびPackage Explorer上に赤いエラーマーカーが表示されていないこと。
|
||||
- 実行方法:エディタ上で右クリック →「実行(Run As)」→「Java アプリケーション(Java Application)」。
|
||||
- 入力の方法:実行後、画面下部の **[コンソール](Console)** をクリックしてから文字を入力し、Enterキーを押す。
|
||||
|
||||
## 今日のゴール
|
||||
|
||||
1日目・2日目で完成させた画面の動作(プロンプト表示、未入力・文字数超過時の再入力、正常投稿)を**一切変えないまま**、`main` に書き並べていた処理の一部を、役割ごとのメソッドに整理します。
|
||||
|
||||
今日整理するのは次の部分です。
|
||||
|
||||
- 標準入力の読み込みと空白除去 → `inputString` という名前のメソッドに切り出す
|
||||
- 空文字判定・文字数超過判定 → それぞれ専用のメソッドに切り出す
|
||||
|
||||
(ログ出力の準備を行う `setUpLogger` は、ログ出力の仕組み自体をまだ習っていないため、今日は扱いません。別日のミッションで扱います。)
|
||||
|
||||
## 進め方(6段階)
|
||||
|
||||
### 段階1(必須):inputString() メソッドへの切り出し
|
||||
|
||||
次の要件を満たすように実装してください(具体的なコードの書き方はここには記載しません。今日習ったメソッド定義の文法を参考に、自分で組み立ててください)。
|
||||
|
||||
1. `public static`、戻り値の型は `String`、引数は無しのメソッドとして、`inputString` という名前のメソッドを新しく定義すること(`main` と同じ書き方で作ること)。
|
||||
2. これまで `main` の中に直接書いていた「標準入力から1行読み込み、前後の空白を除去する」処理を、このメソッドの中に移動すること。
|
||||
3. 除去したあとの文字列を、このメソッドの戻り値として返すようにすること。
|
||||
4. `main` 側は、このメソッドを呼び出して結果を受け取り、これまでと同じ変数 `str` に格納する形に書き換えること。
|
||||
|
||||
**この段階の完了確認**
|
||||
|
||||
- 1日目・2日目に確認した動作(8.1〜8.5の入出力例、11のテストケース9パターン)が、書き換え後もまったく同じ結果になること。
|
||||
|
||||
### 段階2(必須):判定処理をメソッドに分割する
|
||||
|
||||
1. これまで `main` の中で比較演算子を使って求めていた「空文字判定」を、`isEmptyInput` という名前の新しいメソッドに切り出してください。`public static`、戻り値の型は `boolean`、引数は判定したい文字列(`String`)を1つ受け取る形にすること。
|
||||
2. 同じく「文字数超過判定」を、`isTooLongInput` という名前の新しいメソッドに切り出してください。作り方は1.と同じ考え方です。
|
||||
3. `main` 側は、これら2つのメソッドを呼び出した結果を使って、これまでと同じように `if` 文で分岐すること。
|
||||
|
||||
**この段階の完了確認**
|
||||
|
||||
- 1日目・2日目に確認した動作(8.1〜8.5、11のテストケース9パターン)が、書き換え後もまったく同じ結果になること。
|
||||
|
||||
### 段階3(必須):命名と責務の見直し
|
||||
|
||||
1. `main`・`inputString`・`isEmptyInput`・`isTooLongInput` のそれぞれについて、「1つのメソッドが1つの役割だけを持っているか」を見直してください。たとえば `inputString` が入力の取得以外の作業(画面表示や判定など)を行っていないか、`isEmptyInput` が判定以外の作業(メッセージ表示など)を行っていないかを確認します。
|
||||
2. メソッド名だけを見て、処理内容が推測できるかを見直してください。可能であれば、研修生同士でメソッド名だけを見せ合い、何をするメソッドか当ててもらう、という確認方法も有効です。
|
||||
|
||||
**この段階の完了確認**
|
||||
|
||||
- 上記の観点で気になる点があれば、名前や責務を調整すること。
|
||||
- 最終的に、8.1〜8.5、11の9パターンの動作に変化がないこと。
|
||||
|
||||
---
|
||||
|
||||
ここまでで、今日扱う範囲のメソッド整理が完了します。ここから先(段階4〜6)は、答えが1つに決まらない発展課題です。
|
||||
|
||||
### 段階4(発展):オーバーロードの検討
|
||||
|
||||
1. `isTooLongInput` を、文字数の上限を引数で指定できる形に**オーバーロード**してみてください(同じ名前で、引数の数や型が異なるメソッドをもう1つ追加する)。今のところ上限は140固定ですが、「もし将来、上限が変わるとしたら」という視点で、どんな引数を追加すると便利そうか、自分で考えてください。
|
||||
2. 追加したオーバーロードは、どこかから実際に呼び出して動作確認してください。既存の呼び出し(140文字判定)は、新しいオーバーロードを使う形に書き換えても、そのまま残しても構いません。
|
||||
|
||||
**この段階の完了確認**
|
||||
|
||||
- 追加・変更した場合も、8.1〜8.5、11の9パターンの動作に変化がないこと。
|
||||
|
||||
### 段階5(発展):さらなるメソッド分割の要否判断
|
||||
|
||||
1. `main` に残っている「投稿完了時の表示処理」(空行を出力し、バナーを表示し、投稿内容を表示する部分)を見て、これも1つのメソッドに切り出すべきかどうかを自分で判断してください。
|
||||
2. 「切り出すべき」と判断した場合は、適切な名前を付けて実際にメソッド化してください。「今回は `main` に残したままで良い」と判断した場合は、そのままで構いません。
|
||||
3. どちらを選んだ場合も、その理由をふりかえりシートに記載してください。この課題に正解はありません。
|
||||
|
||||
**この段階の完了確認**
|
||||
|
||||
- 変更した場合も、8.1〜8.5、11の9パターンの動作に変化がないこと。
|
||||
|
||||
### 段階6(発展・挑戦課題):入力が終了した場合への対応
|
||||
|
||||
**この段階は、今日までに習った内容だけでは完成できません。** 自分で新しい知識(例外処理)を調べて取り組む、挑戦的な課題です。段階5までを完了して提出すれば、今日のミッションとしては十分です。無理のない範囲で挑戦してください。
|
||||
|
||||
現在の `inputString` は、入力そのものが受け取れなくなった場合(たとえば、コンソールへの入力が途中で終了してしまった場合など)に、エラーメッセージ(例外のスタックトレース)を表示してプログラムが強制終了してしまいます。この段階では、そうなった場合でも、利用者にわかりやすいメッセージを表示してプログラムを終了できるようにしてください。
|
||||
|
||||
1. 入力が受け取れなくなったときに何が起きているかを、実際に自分で再現して確認してください(ヒント:入力を1文字も与えずにプログラムの入力を終了させる方法を調べてみること)。
|
||||
2. Javaでは、そのような「実行中に起きた問題」を捕まえて対処するために、`try` と `catch` という構文を使います。この構文の書き方を、Java SE APIドキュメントや技術記事を使って自分で調べてください。
|
||||
3. `inputString` の中で、入力を読み取る処理を `try` で囲み、入力が受け取れなかった場合は `catch` で受け止めて、わかりやすいメッセージ(例:「入力が受け付けられなくなったため、プログラムを終了します。」)を表示したうえで、プログラムを終了させてください。
|
||||
|
||||
わからない用語(`try`、`catch`、例外 など)が出てきたら、1つずつ調べながら焦らず進めてください。
|
||||
|
||||
## 提出物
|
||||
|
||||
- 更新した `StringCheck.java`
|
||||
- 実装ふりかえりシート(次の項目を記載)
|
||||
|
||||
**記載例**(「点数から合格・不合格を判定する」という別課題での例です。StringCheck.javaの答えではありません。実際の提出では、必ず自分の実装・自分で考えた内容を記載してください。)
|
||||
|
||||
- 完了した段階:例)`1〜6(すべて完了)` / `1〜4のみ完了。5・6は未着手。`
|
||||
- 段階4:追加したオーバーロードの内容と、どんな場面を想定して設計したか
|
||||
- 段階5:投稿完了時の表示処理を切り出したか・残したか、その理由
|
||||
- 段階6:挑戦したかどうか。挑戦した場合は、実装できたところまでの内容と、調べた用語・参考にしたページ。挑戦しなかった場合は「未挑戦」でよい。
|
||||
|
||||
## 今日は実装しないこと(別日に扱います)
|
||||
|
||||
- `setUpLogger()` の作成・実装(ログ出力の仕組み自体を、まだ習っていません)
|
||||
113
example/src/StringCheck.java
Normal file
113
example/src/StringCheck.java
Normal file
@@ -0,0 +1,113 @@
|
||||
import java.util.Scanner;
|
||||
|
||||
/*
|
||||
* StringCheck.java
|
||||
* ------------------------------------------------------------
|
||||
* 【1日目・2日目終了時点のプログラム】
|
||||
*
|
||||
* これは、3日目ミッション「段階1〜3(メソッドへの切り出し)」の
|
||||
* 出発点として使う、リファクタリング前のベースコードです。
|
||||
*
|
||||
* 3日目の段階1〜3では、このファイルの「動作(画面の表示内容)」は
|
||||
* 一切変えずに、コードの「構造」だけを inputString() / setUpLogger()
|
||||
* という別メソッドに整理し直していきます。
|
||||
* これが実務でいう「リファクタリング(外から見た動きを変えずに、
|
||||
* 中身の構造を整理すること)」です。
|
||||
*
|
||||
* この時点では、まだ次のことを行っていません(後日のミッションで扱います)。
|
||||
* ・main以外のメソッドへの切り出し
|
||||
* ・ログ出力(Logger)の実装
|
||||
* ・例外処理(try-catch)
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
public class StringCheck {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
// ============================================================
|
||||
// 1日目 段階1:画面に表示する文言を、あらかじめ配列にまとめておく
|
||||
// ============================================================
|
||||
// 何度も使う固定の文言は、1つずつバラバラに書くのではなく、
|
||||
// 配列にまとめておくと管理しやすい。
|
||||
// messages[0] … 入力を促すプロンプト
|
||||
// messages[1] … 未入力(または空白のみ)のときのエラーメッセージ
|
||||
// messages[2] … 文字数が多すぎるときのエラーメッセージ
|
||||
// messages[3] … 投稿が成功したときに表示するバナー
|
||||
String[] messages = {
|
||||
"いまなにしてる?",
|
||||
"何も入力されていません",
|
||||
"投稿文が長すぎます",
|
||||
"↓↓↓↓↓↓ 投稿されました ↓↓↓↓↓↓"
|
||||
};
|
||||
|
||||
// ============================================================
|
||||
// 2日目 段階1:標準入力を読み取る準備をする
|
||||
// ============================================================
|
||||
// Scanner は、キーボードからの入力(標準入力)を読み取るためのクラス。
|
||||
// ループの中で毎回新しく作るのではなく、ループの外で1回だけ用意して
|
||||
// 使い回す。
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
|
||||
// 投稿内容(前後の空白を除去したあとの文字列)を保持する変数。
|
||||
// while文を抜けたあとでも使うので、while文の外で宣言しておく。
|
||||
String str = "";
|
||||
|
||||
// ============================================================
|
||||
// 2日目 段階1:while(true) で「正しい入力が得られるまで繰り返す」
|
||||
// ============================================================
|
||||
// 何回繰り返すかがあらかじめ決まっていないので、while(true) の
|
||||
// 無限ループにして、条件を満たしたときに break でループを抜ける
|
||||
// 作りにする。
|
||||
while (true) {
|
||||
|
||||
// ---- 1日目 段階3:プロンプトの表示 ----
|
||||
// 配列の0番目に入れておいたプロンプト文言を表示する。
|
||||
System.out.println(messages[0]);
|
||||
|
||||
// ---- 1日目 段階2:標準入力の読み込みと空白除去 ----
|
||||
// キーボードから1行分の文字列を読み取る。
|
||||
String line = scanner.nextLine();
|
||||
// 読み取った文字列の前後にある空白文字(半角スペース・全角スペース
|
||||
// など)を取り除き、str に格納する。
|
||||
str = line.strip();
|
||||
|
||||
// ---- 1日目 段階3:比較演算子で真偽値を求める ----
|
||||
// 1日目の時点ではif文がまだ使えなかったため、この2つの真偽値は
|
||||
// 画面に表示して目視確認するだけだった。
|
||||
// 2日目からは、この真偽値をそのままif文の条件として使う。
|
||||
boolean isEmpty = (str.length() == 0);
|
||||
boolean isTooLong = (str.length() > 140);
|
||||
|
||||
// ============================================================
|
||||
// 2日目 段階2:if文による検証ロジック
|
||||
// ============================================================
|
||||
if (isEmpty) {
|
||||
// 何も入力されていない(または空白のみ入力された)場合
|
||||
System.out.println(messages[1]);
|
||||
// continue で、while文の先頭(プロンプト表示)に戻り、
|
||||
// もう一度入力をやり直してもらう。
|
||||
continue;
|
||||
}
|
||||
|
||||
if (isTooLong) {
|
||||
// 141文字以上入力された場合
|
||||
System.out.println(messages[2]);
|
||||
// continue で、while文の先頭に戻る。
|
||||
continue;
|
||||
}
|
||||
|
||||
// ここまで到達したということは、
|
||||
// 「空文字でもなく、文字数超過でもない」=正しい入力が得られた
|
||||
// ということなので、break でループを抜ける。
|
||||
break;
|
||||
}
|
||||
|
||||
// ============================================================
|
||||
// 1日目 段階3:投稿完了処理(検証をクリアしたあとの表示)
|
||||
// ============================================================
|
||||
// 空行を1行はさんでから、投稿完了バナーと投稿内容を表示する。
|
||||
System.out.println();
|
||||
System.out.println(messages[3]);
|
||||
System.out.println(str);
|
||||
}
|
||||
}
|
||||
11
動作確認メモ.txt
Normal file
11
動作確認メモ.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
段階2
|
||||
以前の講義で行ったScannerでの標準入力を用い
|
||||
「 今日は晴れ 」と入力、何も変更していないのでそのまま出力
|
||||
Stringクラスで何かメソッドないかと思い、スペースで検索した
|
||||
trimメソッドが該当してそうなので追加しテスト
|
||||
「 今日は晴れ 」と入力、「今日は晴れ」と出力
|
||||
上は認識ミス、
|
||||
このままだと全角スペースが消えないと指摘
|
||||
trimの下にstrip
|
||||
値がこの文字列であり、先頭と末尾のすべてのwhite spaceが削除されている文字列を返します。
|
||||
これに変更したところ成功
|
||||
5
振り返りシート.txt
Normal file
5
振り返りシート.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
IFか三項演算、switch:今回のパターンでは、処理の中断や将来的にログの出力など複数の処理があるためIF文のほうが適切だと言える。
|
||||
|
||||
9/10 段階5
|
||||
今回はmainに残したままでよいと判断しました。
|
||||
mainの責務範囲が表示処理のためです。
|
||||
Reference in New Issue
Block a user