论坛首页 Java企业应用论坛

看到这么雷人的代码,真是悲催

浏览 124066 次
该帖已经被评为精华帖
作者 正文
   发表时间:2011-08-05  
人类已经无法阻止他了
0 请登录后投票
   发表时间:2011-11-07  
jialeadmin 写道
whao189 写道
悲剧了 写道
nianien 写道
public CktsQfxxHsh(String hjBh, String fqfZt, String jsfZt, String qcrDm,
			String qcrXm, String fhrDm, String fhrXm, String qfrDm,
			String qfrXm, String nsrsbhGf, String nsrxmGf, String nsrsbhXf,
			String nsrxmXf, String swjgDmJsf, String swjgDmFqf,
			String swjgJcFqf, String swjgJcJsf, String bfpryDm, String bspryMc,
			String lxrXm, String lxrDh, String lxrDz, String lxrYb, Date sjSc,
			Date sjFs, Date sjTjfh, Date sjTjqf, String hjLx, BigDecimal fpfs,
			BigDecimal jeHj, BigDecimal seHj, BigDecimal jshjHj, String qtqk, BigDecimal tseY,
			BigDecimal tseZbbl, String fhsm, Date fuhjzrq, Date rqTk, Date sjFuhfs,
			String dyfhBh, String yqfhBz, String fhBz, String cbBz, Date sjCbhfs) {
		this.hjBh = hjBh;
		this.fqfZt = fqfZt;
		this.jsfZt = jsfZt;
		this.qcrDm = qcrDm;
		this.qcrXm = qcrXm;
		this.fhrDm = fhrDm;
		this.fhrXm = fhrXm;
		this.qfrDm = qfrDm;
		this.qfrXm = qfrXm;
		this.nsrsbhGf = nsrsbhGf;
		this.nsrxmGf = nsrxmGf;
		this.nsrsbhXf = nsrsbhXf;
		this.nsrxmXf = nsrxmXf;
		this.swjgDmJsf = swjgDmJsf;
		this.swjgDmFqf = swjgDmFqf;
		this.swjgJcFqf = swjgJcFqf;
		this.swjgJcJsf = swjgJcJsf;
		this.bfpryDm = bfpryDm;
		this.bspryMc = bspryMc;
		this.lxrXm = lxrXm;
		this.lxrDh = lxrDh;
		this.lxrDz = lxrDz;
		this.lxrYb = lxrYb;
		this.sjSc = sjSc;
		this.sjFs = sjFs;
		this.sjTjfh = sjTjfh;
		this.sjTjqf = sjTjqf;
		this.hjLx = hjLx;
		this.fpfs = fpfs;
		this.jeHj = jeHj;
		this.seHj = seHj;
		this.jshjHj = jshjHj;
		this.qtqk = qtqk;
		this.tseY = tseY;
		this.tseZbbl = tseZbbl;
		this.fhsm = fhsm;
		this.fuhjzrq = fuhjzrq;
		this.sjFuhfs = sjFuhfs;
		this.dyfhBh = dyfhBh;
		this.yqfhBz = yqfhBz;
		this.fhBz = fhBz;
		this.cbBz = cbBz;
		this.sjCbhfs = sjCbhfs;
	}

调用这个类的人才是真正的悲催



这还不算是最悲剧的吧。。。应该是理解这些字段的人才是悲剧!!!

呃 果然悲惨

 

 我只想说,看了这帖子人才是悲催

0 请登录后投票
   发表时间:2011-11-07  
nianien 写道
	public CktsQfxxHsh(String hjBh, String fqfZt, String jsfZt, String qcrDm,
			String qcrXm, String fhrDm, String fhrXm, String qfrDm,
			String qfrXm, String nsrsbhGf, String nsrxmGf, String nsrsbhXf,
			String nsrxmXf, String swjgDmJsf, String swjgDmFqf,
			String swjgJcFqf, String swjgJcJsf, String bfpryDm, String bspryMc,
			String lxrXm, String lxrDh, String lxrDz, String lxrYb, Date sjSc,
			Date sjFs, Date sjTjfh, Date sjTjqf, String hjLx, BigDecimal fpfs,
			BigDecimal jeHj, BigDecimal seHj, BigDecimal jshjHj, String qtqk,
			BigDecimal tseY, BigDecimal tseZbbl, String fhsm, Date fuhjzrq,
			Date rqTk, Date sjFuhfs, String dyfhBh, String yqfhBz, String fhBz,
			String cbBz, Date sjCbhfs) {
		this.hjBh = hjBh;
		this.fqfZt = fqfZt;
		this.jsfZt = jsfZt;
		this.qcrDm = qcrDm;
		this.qcrXm = qcrXm;
		this.fhrDm = fhrDm;
		this.fhrXm = fhrXm;
		this.qfrDm = qfrDm;
		this.qfrXm = qfrXm;
		this.nsrsbhGf = nsrsbhGf;
		this.nsrxmGf = nsrxmGf;
		this.nsrsbhXf = nsrsbhXf;
		this.nsrxmXf = nsrxmXf;
		this.swjgDmJsf = swjgDmJsf;
		this.swjgDmFqf = swjgDmFqf;
		this.swjgJcFqf = swjgJcFqf;
		this.swjgJcJsf = swjgJcJsf;
		this.bfpryDm = bfpryDm;
		this.bspryMc = bspryMc;
		this.lxrXm = lxrXm;
		this.lxrDh = lxrDh;
		this.lxrDz = lxrDz;
		this.lxrYb = lxrYb;
		this.sjSc = sjSc;
		this.sjFs = sjFs;
		this.sjTjfh = sjTjfh;
		this.sjTjqf = sjTjqf;
		this.hjLx = hjLx;
		this.fpfs = fpfs;
		this.jeHj = jeHj;
		this.seHj = seHj;
		this.jshjHj = jshjHj;
		this.qtqk = qtqk;
		this.tseY = tseY;
		this.tseZbbl = tseZbbl;
		this.fhsm = fhsm;
		this.fuhjzrq = fuhjzrq;
		this.sjFuhfs = sjFuhfs;
		this.dyfhBh = dyfhBh;
		this.yqfhBz = yqfhBz;
		this.fhBz = fhBz;
		this.cbBz = cbBz;
		this.sjCbhfs = sjCbhfs;
	}


我怀疑这个方法有没有人去调。。。。
0 请登录后投票
   发表时间:2011-11-08  
自动生成的吧
0 请登录后投票
   发表时间:2011-11-09  
代码还可以这样写呀。。。
0 请登录后投票
   发表时间:2011-11-09  
修改这段代码的人真悲催
0 请登录后投票
   发表时间:2011-11-10  
sunbilly 写道
看看我们的entity吧,很常见。不过参数还是起的好点,别人一眼也能看的懂
    /**
     * @ejb:command createGateLog
     */
    public GateLog create(
            int cmsNo,
            String cntrId,
            String tmlNo,
            String movementType,
            String movementCntrInterchangeMode,
            String movementRemark,
            ……………………
            ) throws CreateException,RemoteException;

为啥我们公司都用拼音呢。。。现在反倒看英文命名的不习惯。。。我悲剧了吗
0 请登录后投票
   发表时间:2011-11-12  
构造方法,自动生成的,有什么大惊小怪?
0 请登录后投票
   发表时间:2011-11-12  
震撼了~~
0 请登录后投票
   发表时间:2011-11-12  
注释啊 注释  不注释 鬼能看懂?
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics