我正在尝试为程序生成一个javadoc,但整个第一个块不包含在文档中.我有两个类文件,Item.java和Proj1.java,但都不会包含第一个注释块.在Item.java中,它看起来像这样:
/************************************************************************
* @author Namfuak
* @version 1.0, Spring 2014
* Class file of an Item to use in proj1.
* Contains the name and price
* of the item, as well as a few helpful methods.
************************************************************************/
import java.text.DecimalFormat;
/**
Contains data for each Item to be tallied. Item name and price are
stored in private variables.
*/
Run Code Online (Sandbox Code Playgroud)
奇怪的是,虽然第二个块("包含数据......")也在类范围之外,但它包含在文档中.我已经尝试重新格式化标题块以没有额外的星号,没有星号起始行,并且在import语句之后,但行为不会改变.我在命令行语句中包含但未包含"-author"和"-version"标记,没有任何更改.javadoc命令行输出未显示有任何警告或错误.
如何在C#中将linq select应用于字符串数组
例如:
string[] result;
...
result.Select(..)
Run Code Online (Sandbox Code Playgroud)
?
谢谢.